Heads up! On March 5, starting at 4:30 PM Central Time, our community will be undergoing scheduled maintenance for a few hours. During this time, you will find the site temporarily inaccessible. Thanks for your patience. Read more.

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

Extract all stories under a newly created top level issue type above Jira's Epic Issue type

srmrunner March 15, 2024

I've created a new issue type called Epic and re-named Jira's issuetype called Epic to Feature, so I can have the traditional Epic/Feature/Story hierarchy found in SAFe.  I'm trying to write a jquery to extract all the stories under a specific Epic.  Has anyone done this before?

2 answers

2 accepted

1 vote
Answer accepted
Ste Wright
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 15, 2024

Hi @srmrunner 

This should work:

issue in portfolioChildIssuesOf("ABC-1")

^ ABC-1 would be your issue key. You could limit it to just stories also:

issue in portfolioChildIssuesOf("ABC-1") and issuetype = Story

Ste

srmrunner March 18, 2024

Thank you, this worked perfectly!

Like Ste Wright likes this
Ste Wright
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 18, 2024

Glad to hear!

If this answer helped, could you accept it? That helps others who find this question in future know it can help them too :)

Ste

Like srmrunner likes this
0 votes
Answer accepted
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 15, 2024

Hello @srmrunner 

Welcome to the Atlassian community.

Refer to this documentation:

https://support.atlassian.com/jira-software-cloud/docs/search-for-advanced-roadmaps-custom-fields-in-jql/

You can use the portfolioChildIssuesOf() function.

srmrunner March 18, 2024

Thank you, this worked!

Suggest an answer

Log in or Sign up to answer