Bulk transition through JIRA Rest API

Hi,

I have a list of bugs in JIRA. Now I need to move a bulk of defects from open to closed status through JIRA Rest API, without iteration, since web service call is costlier.

But I can't find any API expect this, which will do one by one:

http://localhost:8080/rest/api/2/issue/10900/transitions?expand=transitions.fields

Is any other solution available for this? 

Pls clarify...

5 answers

it has to happen through JIRA Rest API? In JIRA itself there is a bulk tansition option. Its quite unhandy though. Many clicks involved. After all you can implement your own rest service which is not iterating but doing it in one call.

Thx for replying. Yes, it has done through JIRA Rest API only. Pls let me know, how to develop the, our own rest service? Whether we need to develop any plug in for this? Pls guide...

yes you can develop a plugin which contains nothing but that service. Its quite easy task if you are a little bit familiar with implementing rest services. Some documentation worth looking at: https://developer.atlassian.com/docs/atlassian-platform-common-components/rest-api-development/rest-plugin-module

Thx Alexej for suggesting a solution...

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 16, 2018 in Jira

Looking for anyone who made the switch to Data Center

The Jira Marketing team is putting together an ebook on migrating to Data Center. We're looking for pro tips on how you staffed your project team and organized your Proof of Concept. Share yo...

62 views 0 2
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you