Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

project + labels jql not returning expected results

Farah NAILI June 16, 2025

Hi

I have this query:

project = XXX and labels in(INC23)

or this query 

project = XXX and labels = INC23

neither return any result

however

i do have a ticket in that project with that specific label : XXX-5409

 

it's driving me nuts

I have run a full reindexation of the system after creation and last update of that ticket... to no avail...

I'm in jira data center, Jira Software 10.3.6

I have all the permissions required to see the issue and the original problem that brought me to this symptom was that i was trying to figure out why i couldnt see expected issues from that project on a board, and then a "plan (advanced roadmap)....

 

help pwease ?

1 answer

1 accepted

1 vote
Answer accepted
pawarsachin84
Community Champion
June 17, 2025

Hello Farah,


Labels in Jira are dynamic tags that you can add to issues to categorize and track them more flexibly.

Is Labels are added via automation/API/scripted fields/plugins?

1. Just in case you can try different JQL to check like

issuekey = XXX-5409
check if above returns issue.

issuekey = XXX-5409 AND labels = INC23
now check if above returns issue.

If not, that confirms a label field indexing problem.

2. To solve this you can try basic simple steps.

You can re-add the label to the mentioned issue

Go to issue XXX-5409 → Edit → Remove label INC23 → Save.

Edit again → Re-add INC23 manually → Save.

NOTE - make sure you are adding correct label to the issue. For eg: INC23 or INC-23 or INC_23 whichever format is correct.

Then try your JQL again -
Project = ABC AND labels = INC23

In above JQL you need to use your project name or key instead of ABC

Farah NAILI June 19, 2025

right!

so searching for the issue did return the expected result

searching for the issue AND label did not

deleting and adding the label from the issue view did not change anything

BUT through deleting from view issue screen THEN clic "edit", add label, save

now the search returns the issue.

thanks @pawarsachin84 !

still a freak bug that, I'm wondering how many more issues' labels are not indexed right??? 

when i run a full re-indexation, does it not index labels?

Like pawarsachin84 likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events