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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Apr 17, 2018 in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

767 views 2 19
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