Forums

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

Return linked issues subquery

Tatiane Fernandes Forster
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 17, 2023

Hello, community! 

I created 4 issues in the last two weeks and added the label"my-label" to these issues. Then I went to each of these 4 issues and linked some other issues to them.

Now I want to query a JQL returning all these linked issues.

Is there a way to do this query without a plugin?

It will be something like "Return all the linked issues from issues in (return all the issues created two weeks ago with the label my-label)"

Thanks!

1 answer

1 vote
Jack Brickey
Community Champion
March 17, 2023

If your "created issues" are know/static for your query then try the following. Replace the issueX

issueLink in (issue1, issue2, issue3, issue4)
Tatiane Fernandes Forster
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 17, 2023

Hi Jack, thanks for answering :) I don't know the Issue. It can be any Issue (or any Issues) created 2 weeks ago, containing the label "my-label"

Ant the Issues returned could be created today or, 2 years ago, it doesn't matter. What matter is if I linked them to another Issue created 2 weeks ago containing a certain label. 

Suggest an answer

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

Atlassian Community Events