Forums

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

How to query for related issues?

Daniel Park
Contributor
September 12, 2018

I want to writed a query that will display all the issues that are related through a JIRA relations ship e.g. "splits from" or "related" so that i can create a confluence view showing it. 

 

e.g. issue I-123 is related to I-224 and I-229 I want the query to be based on I-123 but retreivew the other two issues.

2 answers

1 accepted

5 votes
Answer accepted
Tarun Sapra
Community Champion
September 12, 2018

Hello @Daniel Park

Please see here

https://confluence.atlassian.com/jirasoftwarecloud/advanced-searching-functions-reference-764478342.html#Advancedsearching-functionsreference-linkedIssueslinkedIssues()

Find issues that are linked to a particular issue via a particular type of link:
issue in linkedIssues(ABC-123,"is duplicated by")

IN your case , replace "is duplicated by" by "splits from"

Bhasker chary October 23, 2018

I am trying to pull the defects which are linked Issues

project = FSR AND issuetype in (Defect, Bug) and issue in linkedIssues("issuekey, is related to")

but I am not getting the report which I am looking. could help me on this?

1 vote
Bhasker chary October 25, 2018

I got the answer: 

project = FSR AND issuetype in (Bug, Defect) AND issueFunction in hasLinks("is related to")

 

Thanks.

Lillian Shibata-Salley
Contributor
May 13, 2020

Sorry similar question - I have 1 parent JIRA ABC-1 and I have 5 other JIRAs related to ABC-1 - I want to see a list of all JIRAs related to ABC-1 - tried var JQL and can't seem to get it to work. Any suggestions?

Lillian Shibata-Salley
Contributor
May 13, 2020

It's  ok I figured it out and found the right JQL thanks

Like • Lewis W Livingston likes this
Jon Jira
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!
July 9, 2020

Lillian, could you post your solution? I am trying to solve a similar issue. I want to go backwards though - find ABC-1 in relation to any of the other 5 issues.

Maryann Rieger
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!
June 21, 2021

Lillian

Can provide the query you used?  I'm looking for a similar way to display epics that are related inward/outward

Deleted user November 21, 2022

I am looking for a similar query.  I would like to find all ATEAM and MATI issuetypes that are linked to one another, regardless of the linked relationship type (blocks, relates to, affects products, etc).  Is there a way we can query for this?

Like • LeAnne Sobota likes this

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, team '25 europe, atlassian event, barcelona 2025, jira, confluence, atlassian intelligence, rovo, ai-powered collaboration, developer tools, agile teams, digital transformation, teamwork solutions, atlassian conference, product announcements

🌆 Team '25 Europe registration is now open!

Join the largest European gathering of the Atlassian Community and reimagine what’s possible when great teams and transformative technology come together. Plus, grab your Super Fan ticket now and save over €1,000 on your pass before prices rise on 3 June.

Register now
AUG Leaders

Atlassian Community Events