Lance
Lance

Reputation: 178

How do I query all the issues in an upcoming sprint in jira greenhopper?

We are moving stories into a sprint. We have not started the sprint yet so I can't query by sprint in openSprints(). How do I query the container in the planning board that will become a sprint? Example: If you look at the Jira documentation you will see the image under plan mode. I want to query the issues under "Upcoming Sprint 2".

Upvotes: 1

Views: 1823

Answers (2)

Tracy
Tracy

Reputation: 21

You can use "Version" to relate issues to upcoming Sprints and filter based on that.

Upvotes: 0

Shaun Clowes
Shaun Clowes

Reputation: 306

Upcoming sprints do not own the issues included in them (they are actually just markers in the backlog) so there's no way to use JQL to query them. We are considering changing this so that they are buckets, when we do this the sprint field will be updated for the issues so you could query them.

Thanks, Shaun

Upvotes: 1

Related Questions