Forums

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

Trying to get an issue and all other issues that are linked to it in a search

Nick Brown
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!
February 1, 2021

I need a query that brings back a current QueryID as well as any items that have this item in the relates to link or is loaded as a relates to in the item.

1 answer

1 accepted

0 votes
Answer accepted
Dave Liao
Community Champion
February 1, 2021

@Nick Brown - can you elaborate on "QueryID"? Have an example where this is being done, or can you describe what a successful query might look like?

Nick Brown
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!
February 1, 2021

Thanks Dave.

A successful query would return me the main issue and any issues that are loaded as related to in the main issue or where the main issue is loaded as a related issue in them.

I hope this makes sense.

Like Dave Liao likes this
Dave Liao
Community Champion
February 1, 2021

@Nick Brown - how about

issue in linkedIssues("CATS-21")

where CATS-21 is the issue you're interested in?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events