The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

filter for two projects

Ester Cerveró
Contributor
October 19, 2023

Can you help me to make a filter that shows issues from two different projects?

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Aron Gombas _Midori_
Community Champion
October 19, 2023

Try this approach:

(project = FOO and issuetype not in ("Test", "Test Execution"))
or
(project = BAR and status != "In progress")

You get the idea?

Wrap a project key and the additional conditions in that project in parentheses, and connect them with OR. It is trivial.

0 votes
Sushant Verma
Community Champion
October 19, 2023

Hi @Ester Cerveró 

Welcome to the community!

You may try the following query:

Project in (Project1, Project2)

Regards.
Sushant Verma

Ester Cerveró
Contributor
October 19, 2023

Thanks Sushant, within each project I have to include more filters like issue type or states that are different in each project.

 

for example one query like this plus another one from another project

project = PV AND issuetype not in (Test, "Test Execution", "Test Plan", "Test Set", "Sub Test Execution") 

Sushant Verma
Community Champion
October 19, 2023

@Ester Cerveró You can create the filter like below :

(project = XYZ AND issuetype not in ("Test", "Test Execution, "Test Plan"
or
(project = ABC and status != "In progress")

Regards,
Sushant Verma 

Ester Cerveró
Contributor
October 19, 2023

oks, thanks

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events