Forums

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

I want to pull issue links Depends on section stories for a EPIC

Ashok Sharma October 17, 2022

I have a EPIC and other team members added their stories under section

issue links, depends on, I want to pull all these stories from that EPIC using JQL, How can I pull

1 answer

0 votes
Tom Lister
Community Champion
October 18, 2022

Hi @Ashok Sharma 

You can get all the issues linked to an issue using

issue in linkedIssues("EPIC-1") AND issueLinkType in ("depends on")

I would say that linking issues to epics is better done by setting the Epic Link value on the story to get the benefits of Jira epic handling,

Ashok Sharma October 21, 2022

Above statement works if both the projects are on the same JIRA instance. In my case Other team's EPIC/Cards are sitting different JIRA Instance. Say I am on JIRA 1 instance and second team on JIRA-2 instance.

Stories from JIRA-2 instance are added in JIRA 1 instance into one EPIC as Linked stories Depends on.

Tom Lister
Community Champion
October 21, 2022

Hi @Ashok Sharma 

You would need to put in trusted application links between the two or more Jira instances.

See https://confluence.atlassian.com/adminjiraserver075/using-applinks-to-link-to-other-applications-935390916.html
Admin rights would be needed to set this up.

This is also referred to as 'federating' instances. 

https://confluence.atlassian.com/adminjiraserver/federating-jira-managing-multiple-instances-961257360.html

Ashok Sharma November 2, 2022

Thanks Tom

Suggest an answer

Log in or Sign up to answer