Attempting to use the REST API for workflows and workflow schemes, and I cannot figure out where to get the ID. It is not returned from the get all API, and it is not the database id.
Hello @Robert Egan ,
Can you please elaborate further as to which API you are referring to and what are your expected results?
If you are referring to api/2/workflow, the bug tickets below may provide some insight to your issue:-
The APIs may not work as you expect it to be.
As for workflow scheme ID, you should be able to get it from the URL while viewing the workflow scheme.
For example, if the URL is http://localhost:8080/secure/admin/EditWorkflowScheme.jspa?schemeId=10200, the workflowschemeid is 10200.
Hope this helps.
Regards.
Not really. I have a need to 'grep' the contents of every workflow for occurrences of strings. I would very much like to get all workflows, and then iterate through that data set. To give you a feel for what I mean, my current workaround is:
psql -d jiradb -c "select descriptor from jiraworkflows;" | <java code here> :
which suffers from many drawbacks. It's a shame there is no REST API for this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have decided to write my own REST API.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.