Query by "resolved >= 2016-11-14" does not give expected results

Bomin Nie November 17, 2016

I'm using the query to check the team's week result, and JQL is pretty much 

project = XXX AND AND resolved >= 2016-11-14 AND assignee in (abc)

However, the query gives me some items that are in "Not started" status, and I have to make it to

project = XXX AND AND resolved >= 2016-11-14 AND assignee in (abc) AND status in (Resolved, Closed)

Is it supposed to be the right result?

1 answer

0 votes
Sam Hall
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 17, 2016

Hi Bomin Nie,

Do the issues from your first query where status is "Not started" have a resolution set? If they do, that's why they showed up.

Run the something like the following JQL and have a look at a couple of the issues to see what it says in the "Resolution" field:

project = XXX AND resolved >= 2016-11-14 AND assignee in (abc) AND status = "Not started"

You could also run:

project = XXX AND status = "Not started" AND resolution != "Unresolved"

If it returns something (which I guess it will), then it's not good. You don't really want issues in this state.

To prevent it in future, you should make sure your workflow clears the "Resolution" field when issues are re-opened from a closed status. This knowledge base article is helpful on how to do that: https://confluence.atlassian.com/jirakb/how-to-clear-the-resolution-field-when-the-issue-is-reopened-648381467.html

To clear on existing issues, you'll need to push them through a transition that clears "Resolution", or follow the steps here: https://confluence.atlassian.com/jirakb/howto-bulk-clear-resolution-635896313.html

Sam

Suggest an answer

Log in or Sign up to answer