The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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

TAGS
AUG Leaders

Atlassian Community Events