JQL How does "Was" operator work with status field?

I have problem with JQL query which uses "was" operator with "status" field.

For example I have 10 issues (only one time resolved)

Issue     Resolved date  
ISSUE-1   2013-03-15 
ISSUE-2   2013-04-05
ISSUE-3   2013-07-10
ISSUE-4   2013-11-11
ISSUE-5   2014-01-13
ISSUE-6   2014-01-15 
ISSUE-7   2014-02-05
ISSUE-8   2014-03-17
ISSUE-9   2014-05-05
ISSUE-10  2014-07-30

and queries

Query 1

status was Resolved by "username" DURING ("2014-01-01","2014-01-30")

which returns issues

ISSUE-1,ISSUE-3,ISSUE-4,ISSUE-5,ISSUE-6

Query 2

status was Resolved by "username" BEFORE "2014-01-30"

which returns issues

ISSUE-1,ISSUE-2,ISSUE-3,ISSUE-4,ISSUE-5,ISSUE-6

In documentation is written:

The "WAS" operator is used to find issues that currently have, or previously had, the specified value for the specified field.

so DURING and BEFORE should return the same results but as I see they don't or maybe I'm wrong and DURING should return only issues ISSUE-5 and ISSUE-6. These are only example issues but what can be wrong in my real JIRA which works very similar?.

I reindexed issues but it didn't help.

I have JIRA sources but I cannot find where it is implemented, then I would check it. Maybe somebody knows, I would be grateful.

Thanks for any response.

Andrzej

1 answer

1 accepted

This widget could not be displayed.

For issue-5 the status was during ("2014-01-01","2014-01-30") resolved. But after that period it still was resolved.

What you are looking for is

Status changed to resolved during ("2014-01-01","2014-01-30")

Yes indeed, "changed" operator is much more predictable. This is what I needed.

Thank You.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

135 views 2 0
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