Forums

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

Search to show issues belonging to sprint x BUT their epics don't belong to the same sprint

Emiliano June 26, 2018

Hi,

I need to pinpoint which of the issues selected for a future sprint don't have their epics (if they belong to one) on the exact same sprint

Any JQL magician around?

Thanks in advance

1 answer

1 accepted

0 votes
Answer accepted
Earl McCutcheon
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 2, 2018

Hello Emiliano,

As covered in Working with epics

 

Unlike sprints, scope-change in epics is a natural aspect of agile development. Epics are almost always delivered over a set of sprints. As a team learns more about an epic through development and customer feedback, some user stories will be added and removed to optimize the team's release time.

It's very rare that you'd put an Epic into a sprint explicitly, and doing it would suggest it's actually small enough to be a story, rather than an Epic.  You're supposed to break Epics up into stories to work on them, not the Epic directly.

 

But looking at your goal to show Epics related to a sprint since Epics are not associated to a Sprint directly I believe A scripted JQL function from the add-on ScriptRunner for Jira would be the optimal solution here, using something like:

issueFunction in linkedIssuesOf("sprint in openSprints()", "has epic")

More details on the additional JQL functions provided by ScriptRunner can be found here:

 

-Earl

Emiliano July 3, 2018

Thanks for your answer Earl. I'll reconsider how we use epics.

Emiliano

Earl McCutcheon
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 3, 2018

Hi Emiliano,

Glad I could help,  if this answer resolves your questions, please accept it by clicking the check box.

-Earl

Suggest an answer

Log in or Sign up to answer