Bulk transition through JIRA Rest API

Mohan V June 13, 2015

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

0 votes
Mohan V June 15, 2015

Thx Alexej for suggesting a solution...

0 votes
Alexej Geldt
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 15, 2015
0 votes
Alexej Geldt
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 15, 2015

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

0 votes
Mohan V June 15, 2015

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...

0 votes
Alexej Geldt
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 15, 2015

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.

Suggest an answer

Log in or Sign up to answer