Get Workflows Paginated

GET {{baseUrl}}/rest/api/3/workflow/search?startAt=0&maxResults=50&workflowName=<string>&expand=<string>

Returns a paginated list of published classic workflows. When workflow names are specified, details of those workflows are returned. Otherwise, all published classic workflows are returned.

This operation does not return next-gen workflows.

Permissions required: Administer Jira global permission.

Request Params

KeyDatatypeRequiredDescription
startAtnumberThe index of the first item to return in a page of results (page offset).
maxResultsnumberThe maximum number of items to return per page.
workflowNamestringThe name of a workflow to return.
expandstringUse expand to include additional information in the response. This parameter accepts a comma-separated list. Expand options include:
  • transitions For each workflow, returns information about the transitions inside the workflow.
  • transitions.rules For each workflow transition, returns information about its rules. Transitions are included automatically if this expand is requested.
  • statuses For each workflow, returns information about the statuses inside the workflow.
  • statuses.properties For each workflow status, returns information about its properties. Statuses are included automatically if this expand is requested. |

RESPONSES

status: OK

{&quot;maxResults&quot;:1,&quot;startAt&quot;:0,&quot;total&quot;:5,&quot;isLast&quot;:false,&quot;values&quot;:[{&quot;id&quot;:{&quot;name&quot;:&quot;SCRUM Workflow&quot;},&quot;description&quot;:&quot;A workflow used for Software projects in the SCRUM methodology&quot;,&quot;transitions&quot;:[{&quot;id&quot;:&quot;5&quot;,&quot;name&quot;:&quot;In Progress&quot;,&quot;description&quot;:&quot;Start working on the issue.&quot;,&quot;from&quot;:[&quot;10&quot;,&quot;13&quot;],&quot;to&quot;:&quot;14&quot;,&quot;type&quot;:&quot;directed&quot;,&quot;screen&quot;:{&quot;id&quot;:&quot;10000&quot;},&quot;rules&quot;:{&quot;conditions&quot;:[{&quot;type&quot;:&quot;PermissionCondition&quot;,&quot;configuration&quot;:{&quot;permissionKey&quot;:&quot;WORK_ON_ISSUES&quot;}}],&quot;validators&quot;:[{&quot;type&quot;:&quot;FieldRequiredValidator&quot;,&quot;configuration&quot;:{&quot;ignoreContext&quot;:true,&quot;errorMessage&quot;:&quot;A custom error message&quot;,&quot;fields&quot;:[&quot;description&quot;,&quot;assignee&quot;]}}],&quot;postFunctions&quot;:[{&quot;type&quot;:&quot;UpdateIssueStatusFunction&quot;},{&quot;type&quot;:&quot;GenerateChangeHistoryFunction&quot;},{&quot;type&quot;:&quot;FireIssueEventFunction&quot;}]}}],&quot;statuses&quot;:[{&quot;id&quot;:&quot;3&quot;,&quot;name&quot;:&quot;In Progress&quot;,&quot;properties&quot;:{&quot;issueEditable&quot;:false}}]}]}