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

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

119 views 0 5
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