Is there an api to get all issues in a specific swim lane in an active sprint?

George Malary June 30, 2016

We have JIRA auto transitions moving tickets based on github commits.  It all works good, but we move everything into a "Ready for QA" state once a developer pull request is approved.  Once we are ready, we create a release branch.  I would like to query for all tickets in the "Ready for QA" state, and move them into "On Staging" swim lane we have as next step.

 

I was thinking can use the api to get list of those tickets, and have a script update them all.

3 answers

1 accepted

0 votes
Answer accepted
Petar Petrov (Appfire)
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 30, 2016

To get all issues with a specific status you need to search using JQL.

What kind of API are you looking for? There is a Java API which you can use in groovy scripts - SearchService. There is also a REST API which can execute searches and return the results.

After you get all the issues, you need to iterate them and transition them to the next status - there are APIs for that as well.

0 votes
George Malary July 1, 2016

yes, correct, I mean status.  Thank you.

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 30, 2016

I think you mean columns on the board, which represent status or groups of status.

Swimlanes go across the board, and the query for those would be very different.

Suggest an answer

Log in or Sign up to answer