JQL 'WAS' operator question

I try to create filter for how many user creates ticket in JIRA in this year and I am using

project = "My Project" AND status was Open by xxx after "2015/01/01"

The results I get are including the tickets create during year before 2015 (e.g., 2007,2008,2009)

I read document and I found 'WAS' operator would suit my need, but I don't know why it returns year before 2015. Can anyone help me? I'm using JIRA 5.2

 

Thanks!

 

2 answers

1 accepted

Looks like you search issues which status was open in 2015.
If a issue was created before and in 2015 the status changed they appear as well as the 2015 issues.

You should search the created or created date to exclude issues before 2015.

 project = "My Project" AND status was Open by assignee after "2015/01/01" and createddate >= 2015/01/01" 
issues which were set on open in 2015 and are created in 2015.
Hope this can help you.

Greets
Simon 

Thanks Simon, It's working for me smile

By the way, I don't understand logic under 'AFTER'. Many ticket was not any update in 2015. For example, it's created and updated in 2007 and 2013 respectively. I wonder why it return this result even if I use 'AFTER 2015/01/01' If anyone can explain this I would greatly appreciate.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

24,514 views 2 7
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