Hi, I am editing workflows through the REST API with this endpoint The Jira Cloud platform REST API
It works perfectly fine for the first try but if I send another call to the same workflow, I get a 409 error with error message
I stumbled upon this error, too. You can update a workflow with the same call only once. For the subsequent requests, you have to ensure to use the ID of the updated workflow.
Your first call will change all internal ids (version, actions...), you will see a successful update in the Jira audit log. Your second call tries to update a now outdated version of the workflow. This fails, but the error message is misleading. Try to export your workflow again and repeat the update with the new export - that should work.
Hi,
When you update a workflow using the API REST, it should return a taskId. With this taskId you can call this endpoint The Jira Cloud platform REST API and make sure that the task is completed
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mohamed, I do not see any task Id. For now the modification is really minor. I just modified the "layout" of some statuses to check this API prior to doing my project.
Seems like no assynchronous task is produced after such minor modification.
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.