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 vote

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

671 views 3 11
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