Search code examples
jirascrumjira-agile

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


Solution

  • 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