Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Modifying closedSprints() to return previous two Sprints

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

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

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
TAGS
Community showcase
Published in Jira

Do you use Jira Cloud with Microsoft Teams?

Hi, Jira users! Do you use Jira alongside Microsoft Teams? We want to hear how you’ve used the power of Jira Cloud and Microsoft Teams (via the Jira Cloud for Microsoft Teams app) to achieve a team...

373 views 1 6
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you