Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,458,353
Community Members
 
Community Events
176
Community Groups

How to query for related issues?

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

4 votes
Answer accepted
Tarun Sapra Community Leader Sep 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"

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?

I got the answer: 

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

 

Thanks.

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?

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

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.

Lillian

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

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?

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events