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

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 Leaders.
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 Leaders.
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 Claspill likes this
Sandra Wong November 8, 2019

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

Suggest an answer

Log in or Sign up to answer