I'm trying to get info about Jira Server/DataCenter workflows via the API, but am coming up empty. We are on Jira 8.5.3.
The goal is to find references to Roles in workflow post functions, because the Project Roles View Usage page is wrong/incomplete (https://jira.atlassian.com/browse/JRASERVER-44344).
I can hit rest/api/2/workflow for the list of workflows, but can't then get to rest/api/2/workflow/{id} per the docs because the first call doesn't return IDs. I was hoping to make the second call work and then see what comes back.
Has anyone successfully used the Jira 8.x Server API to get detailed info about workflow steps, transitions, functions, etc?
Hi John,
there seems to be no one-click solution available - but as I have seen this question is still unanswered after a month and I had the impression this was discussed earlier I did not want to miss the chance to post this link - just in case it helps.
The answer was (just like to similar questions that come up from time to time regards workflow details) to query "available transitions" using
GET /rest/api/2/issue/{issueIdOrKey}/transitions
which probably not meets the requirement. Additionally there are some comments later on in the linked post - so maybe there is an approach listed there which might be of interest to you even though there is no easy solution available today.
Cheers,
Daniel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.