Hi,
I currently try to automate the process of creating a jira project and I came along some difficulties finding out the ID of a workflow scheme.
I have seen that the cloud REST API is able to return a list of workflow schemes and their IDs, however this doesn't seem to be true for the server/datacenter version.
So my question is:
Is there any way to find out the ID of a workflow scheme by its name?
I use jira version 8.18.2.
Any help would be appreciated.
Hello @Bene P.
If you're on Jira Server v8.18.2, then this is the documentation page for the REST API.
If you scroll down the page you will see the Get workflow scheme for project endpoint section.
Hi @Sunny Ape
thank you. I know this document. However the endpoint you are mentioning assumes that the workflow scheme already got assigned to a project, which is not the case for me.
It seems like it's not possible at all to do something like:
After further investigation on existing endpoints I think it is not possible to do a full automation of the Jira Service Management (Server/Datacenter version).
For example:
- It seems to be impossible to create workflows or even import existing ones via REST
- There is no way creating issue type screen schemes or screen schemes at all
- I see no way of modifying priorities
I was hoping to be able to create a project via REST with everything that belongs to it and, unfortunately this seems to be impossible with the server/datacenter version.
But thank you anyway.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is one of those limitations of Jira Server / Datacentre being limited to the older v2 REST API only.
The ability to get workflows is dramatically better via the v3 REST API of Jira Cloud, where you can indeed do a
GET /rest/api/3/workflow/search
as well as create, manage and assign workflows and workflow schemes.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.