Forums

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

Finding linked issues of linked issues

Ann-Katrin Fritz
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!
August 24, 2023 edited

Hi folks,

My situation:

I use different issue types (no sub-tasks) that are linked to each other: I have a system containing several components.

My problem:

I know one of the components and I need to find the other components belonging to the same system --> I need to find the system first, then I need to find a particular other component of this system.

My (dysfunctional) solution so far:

Finding the system my component belongs to:
issueFunction in hasLinkType("System") AND issue in linkedIssues("ABC-11") [with ABC-11 being the known component]
--> Result: ABC-1.

Then finding all components of the system:
issueFunction in hasLinkType("System") AND issue in linkedIssues("ABC-1")
--> Result: ABC-11, ABD-12, ABC-13.

My attempt to nest both of them: 
issueFunction in hasLinkType("System") AND issue in linkedIssues(issueFunction in hasLinkType("System") AND issue in linkedIssues("ABC-11"))
--> No result, query not working.

Second attempt to nest:
issue in linkedissues('(issue in linkedissues(ABC-11))')
--> No result, query not working.

I cannot solve the error in my nested query above. Can anyone support, please?

Many thanks!

1 answer

1 accepted

0 votes
Answer accepted
Ann-Katrin Fritz
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!
September 1, 2023

Solution found:

issueFunction in linkedIssuesOf('issueFunction in linkedIssuesOf("key=ABC-11", "is component of")', 'contains')

Natasha Richardson July 30, 2024

Can you help me with mine? I am trying to find the linked issues of a linked issue and check the status and then transition them.

I have a Manual trigger that closes an issue and then a branch to check the FOR Linked issue of type "blocks" and close any child related tickets on that linked issue. That linked issue also has linked issues of "relates to" type but I can't get to it to check. I can reach the Child tickets of the linked ticket but not the linked issues of that linked ticket. I have tried using the related issue condition for sub-tasks and linked issues.

 

Screenshot 2024-07-30 092314.png

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, atlassian community, loom ai, atlassian loom ai, loom, atlassian ai, record recaps of meetings, meeting recaps, loom recaps, share meeting recaps,

Loom’s guide to great meetings 📹

Join us to learn how your team can stay fully engaged in meetings without worrying about writing everything down. Dive into Loom's newest feature, Loom AI for meetings, which automatically takes notes and tracks action items.

Register today!
AUG Leaders

Atlassian Community Events