Is it possible to extract linked issue of a linked issue?

Fabrice Vailhen April 4, 2023

Hello everyone,

Is it possible to extract linked issue of a particular link type of a linked issue of a particular link type?

For example:

issueLinkType1 IN (issueLinkType2 = AAA-12)

Thank you 

2 answers

2 accepted

0 votes
Answer accepted
mauricio.groth
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.
April 5, 2023

Hi @Fabrice Vailhen 

I’m Maurício, a support engineer at Appfire and I’m here to help you.

Unfortunately, using JQL of Jira, you’ll not be able to do it dynamically.

In the app where my team works, JQL Search Extensions for Jira, you can use this query to find all your linked issues whose issue type is “relates to”.

issue in linkedIssuesOfQuery("linkType = 'relates to'")

Please contact our support if you have any other questions about this query.

We’ll be happy to help you!
Best regards,
Maurício

0 votes
Answer accepted
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 4, 2023

Hello @Fabrice Vailhen 

Welcome to the Atlassian community.

To get the linked issues of a particular type the native JQL syntax would be:

issue in linkedIssues(<source issue>, <link type>)

Example:

issue in linkedIssues("AAA-12","is blocked by")

This could return multiple issues that are linked to AAA-12 with the "is blocked by" link type.

This does not support finding linked issues for multiple source issues. You can get the linked issues for only one issue with this function.

Jira does not natively support nesting filters, so you could not use the above filter as input for another linkedIssue function.

You might be able to do what you want with a third party app. There are several available that extend JQL functionality with additional functions. Are you open to acquiring an app to achieve your goal?

Here is a search of the Atlassian Marketplace showing some of them.

https://marketplace.atlassian.com/search?hosting=cloud&product=jira&query=JQL

Fabrice Vailhen April 6, 2023

Hello @Trudy Claspill, thank you for your answer.

Fabrice Vailhen April 6, 2023

Hello @mauricio.groth, thank you for your answer.

Like mauricio.groth likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events