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
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

Meet the AUG leaders of Northern Virginia

@Rachel Wright (Jira Genie), @Billy Poggi (AUG NOVA, DC), and @Dana Jansen (Confluence Queen) are just some of the folks that lead one of the world's most active Atlassian User Group (AUG)....

125 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