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)?
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.