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.
Hi Sandra,
I thinks this documentation is what you are looking for.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That worked! Thanks! I'm not familiar with this endpoint. Is there any documentation for it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.