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 vote
Accepted answer

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 Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,095 views 4 9
Read article

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