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

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 vote
Sam Hall Community Champion Nov 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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Posted 13 hours ago in Jira

We want to know what Jira Service Desk apps you're using!

Hi Community! My name is Amir and I’m on the Jira Service Desk product marketing team at Atlassian. Our team would love to understand how you’re leveraging our ecosystem for Jira Service Desk. Wha...

36 views 0 5
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