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

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

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

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.

yes, correct, I mean status.  Thank you.

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

2,755 views 11 18
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