Forums

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

How to know which Workflow is in use on a project?

FitDevOps
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 2, 2024

 

I need to list all my workflows that are active in projects and I use the Jira API. In the API it is possible to list all the projects and all the workflow schemas, but not the active workflow schemas of the projects. Does anyone know of a way to perform this search, other than manually?

1 answer

1 vote
Lucas Modzelewski _Lumo_
Atlassian Partner
October 2, 2024

Hi @FitDevOps , welcome to the Community!

It looks like you are 1 step from solution.

Projects use workflow schemes which groups workflows.

Here is a hint from chat GPT:

 

  • Call /rest/api/3/project to list all projects.
  • For each project: Call /rest/api/3/workflowscheme/project?projectId={projectId} to get the workflow scheme.
  • For each scheme: Call /rest/api/3/workflowscheme/{schemeId} to list workflows.

For in depth development question there is a special developer community: https://community.developer.atlassian.com/ 

 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events