JQL to see items from previous sprint

I want to create a couple of filters:

1) Filter to show items that were open and assigned to me at the beginning of the last sprint

2) Filter to show items that were in some other specific state at the *end* of the last sprint

Basically, I want to see how many story points/hours I am capable of handling and pushing through the workflow in a sprint.

Any suggestions?

4 answers

1 accepted

1 votes

Hi Glendon,

You can refer to this docs for the complete explanation and example of using JQL.

JIRA Advance Searching - WAS clause

Hope this helps.

Cheers, Vicky.

That's interesting. If there was a way to have a function like "lastSprint()" that could be used for BEFORE/DURING, it'd be *perfect*!

Hm. this could be another feature request?

For now though, get the dates for the start and stop of your sprint and you can do the query.

@Vicky I'd absolutely make it a feature request. Where do I do that?

Use the WAS clause with either the after or during phrase to get a date range

@Norman can you give me a better explanation of that? I'm not sure I understand what you're telling me.

You can also get the ID associated with the sprint you want to report and use that in the JQL. Go to an issue associated with the sprint. Click on the edit button associated with the Sprint field. When you do, the sprint name will change to an integer. Go to the Issue Navigator and input JQL of: sprint = integer

where the integer in the sprint ID that you just found. Then you can add addiitonla criteria such as assignee=currentuser or your name.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,167 views 13 19
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot