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?