Custom field in Issue Search is not sorting correctly Edited

I have a service desk project that I need to create a new queue for. We have some auto-generated emails that come in that we want to filter out. The email subject line (which becomes the summary in the Jira ticket) contains "SHCA-Journal Latency" - i.e. SHCA-Journal Latency-DALDATA08, SHCA-Journal Latency-CHICOLO-DB07 - CLEARED, etc.

I have a queue that filters them separately, like so:

project = PHIS and resolution = Unresolved AND summary ~ "SHCA-Journal Latency" 

This works correctly. But I also want to filter all of these issues OUT of other queues, and the reverse doesn't seem to work:

project = PHIS and resolution = Unresolved AND summary !~ "SHCA-Journal Latency" 

 returns results that contain the search string, even though it should only be returning results that *don't* contain the string.

What am I doing wrong here?

 

EDITED:

I was able to get most of the items cleared out by adding a wildcard after them, like so:

project = PHIS and resolution = Unresolved AND summary ~ "SHCA-Journal Latency*" 

 But when I try to put a wildcard at the beginning, to weed out replies (summary like "RE: SHCA-Journal Latency"), I get no results at all:

 

project = PHIS and resolution = Unresolved AND summary ~ "*SHCA-Journal Latency*" 

1 answer

1 vote

Hi Esther,
I think I have a way to do this.  The first thing to do this would be to first save that first search as a filter if you have not already:

project = PHIS and resolution = Unresolved AND summary ~ "SHCA-Journal Latency"

When you run this search in the issue navigator, there is a "Save As" button up top, and let's say you saved this filter with the name "SHCAJournal1".   What you can do then is run a query that includes that previous filter name such as:

project = PHIS and resolution = Unresolved AND NOT filter="SHCAJournal1"

This would return all the unresolved issues in PHIS that do not match the previous saved filter.

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
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

232 views 1 18
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