Not all resolution types are included in search results using resolved

Hi Atlassian community

 

I am looking for resolved tickets with a set period for specific projects.

 

I am using this jql script;

project in ("x", "y", "z") AND resolved >= 2017-07-01 AND resolved <= 2017-07-31

 

The problem I'm having is that tickets with a resolution other than "Done" are not being included in the results returned. I.e. "Fixed", "Won't Fix", "Cannot reproduce" are omitted.

I have tried using both "resolution" and "resolutiondate"

Any suggestions how to include all resolution types?

 

Thanks


Dan

1 answer

0 vote

That suggests you simply don't have any issues with resolutions other than "done" in those three projects resolved in July.

There definitely are tickets with a resolution type other than Done.

 

I've carried out a separate query ( project in ("x", "y", "z") AND resolution != Done) and this returns results that I would expect to see within the selected dates

Ok, two things next:

Can you test a query for the date range alone?  Does that find the issues with resolutions?

Can you try re-indexing projects X, Y and Z, then retry the original query?

Querying with just the date range give me results with different resolution types. This results now include tickets from projects that I need to exclude.

 

Regarding Reindexing the projects, this might be a silly question but I can't see this button to allow me to do this. I've searched Jira confluence and I can't see this on my installation. 

Joe Pitt Community Champion Aug 03, 2017

You need to be a JIRA Admin to reindex

As the clauses work independently, there are only two reasons that joining them with an "and" would get you no results other than done.  The index is broken in an interesting way, or the intersecting result set really does contain no issues other than done ones.

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 Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

272 views 3 11
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