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

Is it possible to filter for labels with an 'AND' clause and not 'OR'?

Hi Community,

 

we have a customer who is looking for an opportunity to filter for an 'AND' clause and not 'OR' when filtering for issues within Advanced Roadmaps.

 

Did anyone face the same issue and has some hints?

 

Thank you in advance!

2 answers

1 accepted

0 votes
Answer accepted
Curt Holley
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Mar 30, 2022

Hi @Juliya Kaplun-Eschenbach 

You just go to filters and multi select the labels you want to filter on, that works as an "AND" clause.

labels.png

TBH I unsure how I would go about doing an "OR" clause in AR....🤔

that actually works as a logical OR

You can see this when switching your query to JQL as well.
In your example it will show "labels in (AssetManagement, Capability) which is the same as "AND (labels = AssetManagement OR labels = Capability)

a logical AND would be:
"AND (labels = AssetManagement AND labels = Capability)" which will show items both labels.

Like Curt Holley likes this
Curt Holley
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Apr 04, 2022

True! @Gertjan van der Werken 

In which case @Juliya Kaplun-Eschenbach the only way (I can think of) to achieve the AND style (i.e. only show me issues with both of these labels) would be to build the filter and create a plan from it....so a different plan (which might not be ideal)...but I don't think it can be done directly in a plan, 

Another way would be to do a bulk edit on the issues with both labels and give them a new singular label to represent both, that way it could be done with a single label filter. If this was required ongoingly, you could even look to automate adding that label when the other two were present.

Thank you both, we would most likely go with the suggested solution of creating respective filter when creating a plan.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events