Forums

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

create nested jql from 2 projects

Mohamed Samy
Contributor
August 9, 2022

Hello,

I need to create a query that would return all item from a project board and some other labeled tasks from other project

To find the stories I can use the following query 1.:

project = X 

From the second project I want it like 

project = "Y" AND label = "something"

The question is: how can I combine these two queries, so that I don't need to run the query 1 one and then manually put the story IDs into the query 2.

I would be very grateful for your suggestions.

1 answer

1 accepted

0 votes
Answer accepted
Jack Brickey
Community Champion
August 9, 2022

How about this...

project = X OR (project = Y AND labels = "something")

maybe I'm missing something here?

Mohamed Samy
Contributor
August 9, 2022

WooooW it worked, seems its soo easy, Thank you Jack :)

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events