Forums

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

How do I query and retrieve all the linked issues/tasks ?

Ritesh Kapoor
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 21, 2019

Steps 

1. I create an epic or a task.

2. I use the 'More' (drop down) > 'Link' dialog to link the related tasks/issues with this ticket.

 

Question

1. How do I now query to retrieve all the linked tasks/issues to the ticket ?

2. If I repeated the 2 steps above and had multiple tickets, and each ticket has multiple linked tasks/issues - How do I query to retrieve all the linked tasks/issues to all those tickets ?

1 answer

0 votes
Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 21, 2019

Hello,

You would need an app for it. There are multiple apps available like Power Scripts, ScriptRunner, JQL tricks, JQL extensions for Jira.

If you want to use the Power Scripts app, then your JQL query would look like this:

key in issuesLinkedAtDepth("project = TSTAG", 10) 

Ritesh Kapoor
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 21, 2019

Are you saying this isn't possible using the advanced search in Jira (i.e. JQL) ?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events