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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,308 views 14 20
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot