Hi All,
i want all Workflows which uses under single Project. i have project id.
https://docs.atlassian.com/jira/latest/com/atlassian/jira/workflow/WorkflowManager.html
i refer above link but can't find any specific method or relevent method.
if One project have using two workflow i should get two workflow.
and that all workflow is must be active.
and another question is that is workflow is worked by Name or Possible By ID.
because i tried lot but can't get workflow ID.
i will be thankfull to you if you answer this. thank you very much in advance.
Community moderators have prevented the ability to post new answers.
In addition to Nic's answer, I could not find any way to get Workflow ID either.
This is really annoying but as you can see here, there is no getID() method
WorkflowManager has a getWorkflow function that you can give a project ID and issue type ID to and it will get the workflow for that project/issue-type. You'd need to iterate over the issue types in the project to get all of them.
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.