Hi Team,
Can someone please suggest the REST API to get all the workflow states that are present for a particular workflow?
Hi @Apoorva Sharma
After reviewing the API, there is an endpoint that you can expand and it will bring you the statuses of the workflow.
API Endpoint: https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-workflows/#api-rest-api-3-workflow-search-get
Extending the information with the Expansion variable: https://developer.atlassian.com/cloud/jira/platform/rest/v3/intro/#expansion
Finally, this endpoint should bring you the statuses:
https://xyzxyz.atlassian.net/rest/api/3/workflow/search?expand=statuses
Hopefully this answers your question,David
Hi @David Freitez ,
Thanks for the APIs but they are for jira cloud, We need the ones for Jira data center.
Do you have the APIs for Jira Data Center to get workflow states?
You are right, what version of server are using?, so I can update the links.
Hi @David Freitez,
We are using Jira version 9.4.0
It looks like you're new here. Sign in or register to get started.