Right now, updating ticket transitions (or states, e.g. Done, QA, etc) with bulk API requests is not supported. But we want to update all the tickets in the current sprint at the same time and doing this one by one is so inefficient. Also, we cannot use oauth for transition update request, simple API token works for this type of request which is less secure compared to oauth.
Hi @Fatemeh Hosseini - Welcome to the Atlassian Community!
You can run a filter and then do a bulk change on the results to execute a transition manually.
How? Can you give an example?
This is how I update transition for a specific ticket:
curl -X POST \
https://sandbox.atlassian.net/rest/api/3/issue/CHAL-12134/transitions \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-u 'username@example.com:<api-token>' \
-d '{
\"transition\":{\"id\":\"61\"}
}'
But looks like jira is not supporting bulk request for updating transitions based on what I see in https://developer.atlassian.com/cloud/jira/software/rest/.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I was referring to a manual bulk change, not through the API. Create a filter and run the filter. Then click on the 3 dot menu at the top right and choose Bulk Change All. Then follow the steps through that.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No I need to do it from jenkins, so it should be through API calls.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Bulk update is not yet implemented, you can vote for it here: https://jira.atlassian.com/browse/JRACLOUD-70356
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.