Missed Team ’24? Catch up on announcements here.

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

Epics of stories in current sprint

Bradley April 22, 2024

So I currently have our Epics on 1 Project and our Stories on another Project. I need to see all EPICS of the Stories in the current sprint. We do have Scriptrunner installed so we can use that functionality. But what would the JQL look like? 

2 answers

Suggest an answer

Log in or Sign up to answer
0 votes
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.
April 22, 2024

Hello @Bradley 

First you need to formulate the JQL for the Stories of interest:

project="The project that contains the Stories" and sprint in activeSprints()

The activeSprints() limits the results to stories that are currently in a Started and not yet Completed Sprint.

Then, to get the parent Epics of those issues using a ScriptRunner function, you insert the above JQL as input into the epicsOf() function:

issueFunction in epicsOf("project='The project that contains the Stories' and sprint in activeSprints() ")

0 votes
Amanda Barber
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 22, 2024

We had a similar setup prior to consolidating our projects. Without scriptrunner, I used the JQL with some success. 

I think for scriptrunner, you could use something along these lines: 

issueFunction in issuesInEpics('project in (MyProject) AND status = "In Progress"')

 

TAGS
AUG Leaders

Atlassian Community Events