Does Filter search within History? Me thinks it does.

Hi,

I have a fairly simple advanced search that filters all P6 bugs in a project that do not have either of two specific labels.

project = HMT AND NOT (labels in (BRB-Candidate-P2, BRB-Candidate-P3)) AND priority = P6

It does not bring up issues that have had these labels at one time (History), but currently do not have either label.

This should bring up one issue that CURRENTLY does not have either of these labels, but it USED to have BRB-Candidate-P2 and this can be seen in the History of the jira issue. I played around adding the label again and removing it and changing the statement by removing the 'in' and explicitly stating each label:

project = HMT AND !(labels = BRB-Candidate-P2) AND !(labels = BRB-Candidate-P3) AND priority = 6

Logical questions from you:

o Did you spell the labels correctly? Yes and were entered via the Basic mode of Filter. I merely went to the Advanced mode to reverse the inclusion of the labels

o Did you set precedence in your query with parentheses? Yep. Had all types of parenthetical order forcing.

o Did you quote the labels? Yep, but since no spaces, it does not matter anyway.

So, does the filter search upon History of the issue?

I ask because a query such as this does not produce expected results for a project that does not contain "BC:" in the comments section:

project = HMT AND comment !~ BC:

Historically, the comment USED to have "BC:", but was edited and this text removed to its current state. So not seeing "BC:" currently in the comment for the issue, I would expect the issue to appear. It does not. Clicking on History of the issue shows that the comment was edited and this text removed.

Any guidance on this, or recommendations?

Thanks for listening,

Tom Costales

Yuzu by Barnes & Noble

2 answers

Hi,

As I know History searches in Jira do not support the 'label' field.

Andris.

0 vote

It wouldn't search on history for labels. Your search indexes might be broken. Can you try a full reindexing and see if it changes anything?

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

239 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