Does Filter search within History? Me thinks it does.


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


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


0 votes

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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,075 views 13 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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot