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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,555,136
Community Members
 
Community Events
184
Community Groups

JQL to select issue with multiple labels based on 1 label

aaron
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 17, 2023

I need a way to select issues that have one or more labels, if any of the labels = x.  For example, I could have one issue with labels of x,y,z and another with x,y and another with x,a and some with a,b, z.y. I just want to select the ones that have x in them. Normally, I would use contains (~), but apparently the labels field doesn't support ~.  

1 answer

1 accepted

1 vote
Answer accepted
Hannes Obweger - JXL for Jira
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
May 17, 2023

Hi @aaron

welcome to the community.

Maybe I'm missing something but wouldn't 

labels in ("x")

give you that?

Best,

- H

aaron
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 18, 2023

You are correct.  

For some reason, I was thinking of "IN" in terms of SQL where the in is a list of values to select, not to be selected. so in jql, "IN"= SQL "Like" without the wildcards.

Suggest an answer

Log in or Sign up to answer