Since an Epic by design is not associated with a Sprint, it can not be included in a JQL query with a function like this. The goal is to create a filter that could be fed to a dashboard that includes only Epics that have linked issues (other parents) in open sprints...and be able to include them with the linked issues...better yet, extract just the Epics. Is there a solution for a Cloud user?
sprint in openSprints()
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As Epics are not associated to a Sprint, It's not straightforward to create a filter referencing Sprint number. The below JQL helps to get the list of epics in a
Active Sprint.
project = "XY" AND issueFunction in linkedIssuesOf("sprint in openSprints()", "has epic") ORDER BY cf[10007] ASC, summary ASC
Closed Sprint
project = "XY" AND issueFunction in linkedIssuesOf("sprint in openSprints()", "has epic") ORDER BY cf[10007] ASC, summary ASC
Previous Sprint
project = "XY" AND issueFunction in linkedIssuesOf("sprint in prevSprints()", "has epic") ORDER BY cf[10007] ASC, summary ASC
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Shamee, perhaps these functions are available in the Server/Data Center platforms, but they're not available in the Cloud platform. That would be awesome to have though!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Shamee This is excellent. How can I filter the epic results to find ones with a certain component, or really any value? Simply doing the following eliminates all results because my team only applies components to the epics:
project = "XY" AND issueFunction in linkedIssuesOf("sprint in openSprints()", "has epic") AND component in ("ABC")
Edit: I figured it out. Nevermind. It helps when epics with component "ABC" actually have stories in a sprint. :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I got an error: Field 'issueFunction' does not exist or you do not have permission to view it. I guess it is not available in Cloud platform.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Paul,
It should be possible to track it using only JQL if you are using the default settings of JIRA Agile.
As JIRA Agile tracks the Epic issue using a specific issue type, the Epic issue type:
sprint in openSprints() and issuetype = Epic
Not sure, but I think it works in the intended way.
I hope it helps!
Cheers!
Andre
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I do have a highly customized environment, but my definition around the epic object is the default. Issuing your JQL query yields no results. You claim this works by design...is it possible I've done something to abstract the default behavior?? As far as I have ever been able to tell (going back two years), an Epic by design is not associated with a sprint since a sprint only seems to contain parent issues (excluding the Epic). Love some help on this, Andre.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In fact, have a look at my more recent inquiry...here --> https://answers.atlassian.com/questions/13420008
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.