Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jira Bulk Create workflows potential bug

Kris
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 28, 2024

I have spent the past few days trying to get Jira to create workflows via the REST API 3. I followed the documentation very carefully and ensured the payload i am sending is valid.

I seem to get errors of "Status name is not unique". Not only is this with my payload, this is also with the payload that the documentation provides.

 

The bug i see here is that the bulk create workflows also attempts to create the statuses you provide at the top level of the payload. This would be fine, if the workflows didn't reference the statuses via statusReference, that from what i can tell, can only be provided to the workflow bulk create request.

 

It means that any workflows expecting to use the Jira default statuses cannot be created the the API because these statuses already exist.

I was going to provide the examples of the payloads im sending, however, starting with a blank sandbox and trying to execute the example code in the documentation is enough to see this error. The documentation I followed is here: 

I have an open support request, but can I please confirm that other people are experiencing the same issue before reporting this as a bug?

 

Thanks

1 answer

1 accepted

0 votes
Answer accepted
Kris
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 30, 2024

For anyone else coming here with the same problem - I have confirmed with a support representative this is in fact a bug with the experimental "Bulk Create Workflow" API call.

I reverted to using the deprecated "Create Workflow" call and was able to create workflows with the Jira API.

 

It has been reported to the appropriate team

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events