executeWorkflowForRequest

View as Markdown

Manually fire a workflow against one ticket.

Manually fire a workflow on a single ticket — equivalent to a human clicking “Run workflow” on the ticket page. Prerequisite: call searchWorkflowsForRequest first to obtain a valid workflowKey for the target workspace.

Parameters

NameTypeRequiredDescription
workflowKeystringYesStable workflowKey of the workflow (obtained from searchWorkflowsForRequest)
workspaceIdintegerYesWorkspace ID the workflow belongs to
requestIdstringYesDisplay id of the ticket to fire the workflow against