It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Get list of linked issues - how to?

Rumceisz Jul 24, 2014

Hi All,

some project leads of our user community faced us a difficult request. They want to get all linked issues for a particular ticket in JIRA. We know that there is such a JQL query for parent-sub tasks: "parent=..."

How to get the linked issues? We are aware of the Linked issues column but they need a list of issues row by row.

Is it somehow possible?

Thanks in advance,

Rumi

5 answers

1 accepted

11 votes
Answer accepted
Jobin Kuruvilla [Go2Group] Community Leader Jul 24, 2014
issue in linkedIssues(issueKey)

or

issue in linkedIssues(issueKey,linkType)

Rumceisz Jul 24, 2014

Hi Jobin,

thanks a lot!

G V SHABAREESH Feb 01, 2019

Hi 

i am not getting the linked issue by using the format you have shown.

 

My Code is:

def finding_link(self):
    a = self.jira.issue in linkedIssues('FLAS-54')
    print a,'-------'

1 vote
Jayashree Srinivasan Dec 30, 2014

Could someone provide an example? I am trying to list all linkedissues for a particular release. The details I am looking for are issuekey and issuetype

 

David Schokker Nov 13, 2017 • edited

An example would be similar to the following

project = ABC or issue in linkedIssues(TEST-123) ORDER BY Rank ASC
Like # people like this
Jeff Scattini Mar 20, 2018

Thank you for this. I've been looking for over an hour for this solution.

0 votes
Rahul Mittal Mar 27, 2019 • edited Apr 02, 2019

Hi All,

I am trying to get Issues that are linked to another JIRA Project (and not specific to any jira issue). Does wildcard works in Linked issues?

My Requirement: Get all the issues in jira PROJECT1 that are linked to jira PROJECT2

issue in linkedIssues("PROJECT2*")

Rahul Mittal Apr 02, 2019

Used the Script Function and it works as expected:

issueFunction in linkedIssuesOf("project = Project2")
Like Sergio Calero likes this
0 votes
John Drury Apr 02, 2019

What about searching for all issues (Stories or Sub-Tasks) with linked issues?

Timo Kock I'm New Here Apr 17, 2019 • edited

Hi John, I´m trying to get the results you´re looking for but with somthing more. I´m searching for closed or resolved Issues with open sub-tasks or blocking linked issues. I´m using the follow query:

 

project = "project" AND fixVersion in (version) AND issuetype in (Story, Bug, "Bug Subtask") AND status in (Closed, "Resolved") AND issueFunction in parentsOf("project = 'project' AND status in(Open, 'In Progress')") OR issueFunction in linkedIssuesOf("project = 'proyect' AND status in(Open, 'In Progress')", blocks)

But already the results include some stories with In Progress or Verified status and I don´t know why? Somebody have an idea?

0 votes
Fabio Paglianti May 03, 2019

dear all

 

I am trying to a have a dynamic list from Service Desk issue list where I list all the SD issues that have not linked to a proper issue in our JIRA software.

 

I did not understand how to extract the list of open issues - for a specific project - not linked to any issue.

 

Any idea?

 

regards

 

f.

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Jira

Try Jira Cloud for Outlook: Organize your work without leaving your inbox

Hi Atlassian community, My name is Max and I work on the product integration team at Atlassian. I am pleased to announce the early access program for the Jira Cloud add-in for Outlook. This add-in...

2,679 views 6 15
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you