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

0 votes
Accepted answer

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 Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,930 views 19 22
Read article

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