I have the following filter for troubleshooting problems in the current Sprint:
resolution is EMPTY AND assignee = currentUser() AND Sprint in openSprints() ORDER BY priority DESC, created ASC
It works as expected. However, our team creates a separate โsprintโ (in the future, Prints ()) for stretch purposes, and I cannot request them without selecting the rest of the backlog. However, this fast-paced goal sprint is always next on our list. Moreover, if the current sprint is called Sprint 20-2016, the stretch goals will be called Sprint 20-2016 Stretch Goals. This means that I can get stretch targets by capturing the name of the current sprint. For example, the following hard-coded solution works:
resolution is EMPTY AND assignee = currentUser() AND Sprint in futureSprints() AND Sprint = "Sprint 20" ORDER BY priority DESC, created ASC
The problem is that instead of "Sprint 20"hard-coded, I want something like Sprint = [name of first entry from] openSprints(), but donโt know how to express it in JQL. Alternatively, since stretch goals are always in the next sprint, something like this Sprint in [first entry in] openSprints() + 1will work as well.
source
share