JQL for a list of stories from Epics that have a specific Parent Link

Hi All,

I am trying out JIRA Portfolio and have the following hierarchy:

Initiative -> Epic -> Story -> Sub-Task

I want to write a JQL query where I can get the stories from Epics that have a specific Parent Link. It seemed easy enough to write it using Script Runnuer IssueFunction, but the query seems to written epics from other Initiatives as well.

I am not sure what's wrong, but could this be because the Epics were previously stories and were converted to Epics.

Capture.JPG

Can someone please help me wiht this? Do let me know if anymore details are needed.

1 answer

1 accepted

This widget could not be displayed.

Hi @Gowri Kumar,

 

Portfolio 2.4.0 introduced some changes to the Parent Link field so to get you the best answer I'd like to confirm the version you are using (Or if you are on a Cloud offering).

 

Then I'd be interested in the result of the following JQL Query:

"Parent Link" IN (TRAN-5) AND Key IN (GSD-370, GSD-4838, GSD-4702)

That might help figure out if the problem happens due to Portfolio JQL functions or Scriptrunner JQL functions!

 

Cheers,

Thomas

Thanks for your help. I just managed to figure out the problem.

The 'Move' of these issues were done via System Import rather than UI. So the 'Epic Link' was still in place (even though you can't retrieve it via UI.

The solution was to move the issue back to story and then again to Epic via the UI.

While Portfolio will ignore links that do not make sense (Initiative with Epic Link for example) it's true that the epic link would still be there on a JIRA point of view and be returned as part functions like issuesInEpics.

Glad you figured out the problem!

 

Cheers,

Thomas

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 22, 2018 in Marketplace Apps

How a Marketplace app tech team is achieving gender diversity

Hello! My name is Genevieve Blanch, and I'm the Marketing Manager at RefinedWiki, creators of apps to give teams the tools to customize Atlassian platforms. Currently, 44% of the tech team at Re...

489 views 3 18
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you