Advanced filter can't find "unresolved" values

Deleted user March 15, 2012

We have a unique situation where we are using JIRA to link up to SalesForce.com. In our workflow we have the possiblity that a JIRA issue coudl be created and then closed without ever going through the resolved state. (If you want to understand why let me know).

Due to this we have a number of isues that have a STATUS of "Closed" and a RESOLUTION of "Unresolved".

I have a user who is trying to create 2 opposing filters. The first one is as such:

assignee = currentUser() AND (status = Closed AND resolution = "Confirmed as a Bug")

This returns a list of closed issus that have a resolution of "Confirmed as a Bug"

Now they need to get teh complete oppisite list. They are trying this query:

assignee = currentUser() AND (status = Closed AND resolution != "Confirmed as a Bug")

But it will not pick up the "Unresolved" issues. We tried adding in "" or null but none of those work.

Any ideas?

1 answer

1 accepted

0 votes
Answer accepted
Jobin Kuruvilla [Adaptavist]
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.
March 15, 2012

Did you try

assignee = currentUser() AND (status = Closed AND (resolution != "Confirmed as a Bug" OR resolution = UnResolved))

Btw, do you have cases where status is closed and resolution is empty??

Deleted user March 16, 2012

Thanks Jobin. That did the trick.

Regarding your question, we we have situations where the status coudl be closed and yet no resoulution value has been set. Are you looking for an example?

Jobin Kuruvilla [Adaptavist]
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.
March 16, 2012

Nope! just curious, thats all ;)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events