Modifying closedSprints() to return previous two Sprints

jhensley September 4, 2019

Is there support for modifying Sprint in closedSprints() to only return the two previous sprints? 

 

I tried to use Sprint in closedSprints(-2) and that did not work, is there a way to query a dynamic number of sprints in the past (or future)? 

1 answer

0 votes
Shawn Masters
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 4, 2019
jhensley September 6, 2019

Where in that article does it go into detail on how the JQL can be manipulated to display the previous two sprints completed? 

Like Anne SM likes this
Lacey McDonnell May 28, 2020

Unfortunately, you can't. That's not OOTB functionality for JIRA. The () are just an empty modifier and do nothing. You can't use -1 -2 or anything like that right now.

Suggest an answer

Log in or Sign up to answer