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,297,939
Community Members
 
Community Events
165
Community Groups

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 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 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
Community showcase
Published in Confluence

An update on Confluence Cloud customer feedback – June 2022

Hi everyone, We’re always looking at how to improve Confluence and customer feedback plays an important role in making sure we're investing in the areas that will bring the most value to the most c...

103 views 0 1
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