Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Why can I not search for a label with some issuetypes? Edited

I'm having issues with a JQL query to return issues that match a specific label. Here is a simplified query...

labels = JournalsContent

On investigation, it seems to depend on the issuetype. 

I can create a test issue (e.g. "CATS-2270") with one issue type (e.g. "Defect") and the JQL query above will find it, but when I change the issuetype (e.g. to "Improvement" or "Bug") the JQL query will no longer return it in the search result. Nothing else has been changed by me in the test issue, and the labels field appears in the UI before and after changing the issuetype.

The JQL query will find the label for most issuetypes but there are a couple it doesn't seem to work for.

We have quite a few custom issuetypes - so quite possible something was set up differently for those two "rogue" issuetypes - but what / where should I be looking?

I'm searching JIRA Classic projects (don't need to see NextGen) and we are on JIRA Cloud.

(In case relevant - the application is: I want to mark issues in other team's boards with a label, so they show up, and we can monitor them, on our team's board. I normally have no trouble with this, until I encountered this problem with specific issuetype's today).

UPDATE: I'm getting the feeling this might be project specific - ie something about the CATS project - but what? I can create a test issue of "Bug" issuetype with the label "JournalsContent" in another project and find it with the JQL query - but I can't find it when its created in the CATS project.

1 answer

Hello,

I previously encountered a problem on Jira Server (not Cloud) where the JQL query was not returning the correct values; i.e. I have an issue with label "JournalsContent" but it wasn't showing up in the JQL results.

Issue was solved by performing a Project Re-index:

2020-01-03 17_35_18-Re-index - MxJIRA.png

Hope this helps in your case as well.

Thanks for responding @Samer Harb - I'd be happy to give reindexing a try - unfortunately seems this is not possible in JIRA Cloud: 

https://community.atlassian.com/t5/Jira-questions/Unable-to-re-index-in-JIRA-Cloud/qaq-p/788960 

Like Samer Harb likes this

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you