Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

Exclude issues with label X, but only when it's the only label

I want to run a search that excludes issues with label X but only where that's the only label. This means I want the search result to include issues with label X but only if there are also other labels attached to those issues.

Example:

Issue 1 has labels X, Y and C

Issue 2 has labels Y and C

Issue 3 has label X

I want my search result to include Issues 1 and 2 but exclude 3.

Note that using labels != X seems to exclude Issues 1 and 3, but I want Issue 1 to be included.

Thanks in advance.

1 answer

0 votes
John Funk Community Leader Jun 17, 2020

Hi Adam - Welcome to the Atlassian Community!

I am not sure how you would do that other than if you check for every other value that might be in Issue 1. If there are a lot of label possibilities, you are probably out of luck. At least for my knowledge. 

Thanks John. Yes, I had considered that. All the labels are channels except label X, so my problem is really with how I've approached this. I was hoping a search string that did as I explained might be my get-out-of-jail-free card. I think I'll have to find another approach.

John Funk Community Leader Jun 19, 2020

You might post the question to this thread (or even a link back here):

https://community.atlassian.com/t5/Jira-articles/Becoming-a-JIRA-Search-Ninja-History-searches-in-JIRA/ba-p/461943#U793004

Someone might respond there - but it's beyond me.  :-(

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Marketplace Apps & Integrations

☕️ Monday coffee with Jexo: Weekly Atlassian news roundup | 21st June 2021

Hi community 👋, as every Monday we're bringing you a quick update on what happened in the Atlassian ecosystem last week. There were a few interesting events like for example the announcement of th...

65 views 0 6
Read article

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