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 Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,911 views 19 22
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