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
Atlassian, Team '25 Europe, Atlassian conference, AI-powered teamwork, Atlassian events, keynote speakers, Barcelona tech conference, Atlassian Williams Racing, Carlos Sainz, Jenson Button, Mike Cannon-Brookes, Anu Bharadwaj, Atlassian Rovo

Atlassian Williams Racing is coming to Team '25 Europe 🏎️

Discover the teamwork and precision behind success on and off the track. See how this high-performing team makes the impossible possible. Be one of the first 100 customers to register for a chance to win 2 tickets to an Atlassian Williams 2026 race.

Register now
AUG Leaders

Atlassian Community Events