The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to get the names of the workflows used by a project using Jira REST API

Sandra Wong
November 7, 2019

I would like to use the Jira REST API to get the name of the workflows specified for a specific project.  I did not find any workflow information in the GET /rest/api/2/project/{projectIdOrKey} response.

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Ivan Tovbin
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
November 7, 2019

Hi Sandra,

I thinks this documentation is what you are looking for.

Sandra Wong
November 7, 2019

Thanks Ivan but I believe the /rest/api/2/workflow endpoint returns all the workflows. I'm trying to use the REST API to retrieve the name of the workflow(s) set for a specific project. i.e., the workflow(s) listed under the project's settings

Ivan Tovbin
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
November 8, 2019

I see. Try using /rest/projectconfig/1/workflowscheme/{projectIdOrKey} endpoint to get a workflow scheme for a project. Response contains, among other things, a list of workflows the scheme contains and their mappings to issue types.

Like Trudy P Claspill likes this
Sandra Wong
November 8, 2019

That worked! Thanks! I'm not familiar with this endpoint.  Is there any documentation for it?