I have a SCRUM Board meant to view the current Sprints across an entire department. The goals are the following.
First, I just grabbed the Issues.
project in (many many projects) AND issuetype in standardIssueTypes() AND Sprint in openSprints() ORDER BY Rank
Because Epics aren't embedded in Sprints, this left the Epics out. So I explictly grabbed the Epics.
project in (many many projects) AND (issuetype in standardIssueTypes() OR issuetype = Epic) AND Sprint in openSprints() ORDER BY Rank
This pulled in every single Epic ever made. I then tried to limit the Epic selection, though I knew this was too blunt a tool to deal with the teams' abandoned, unclosed, orphaned, and neglected epics.
project in (many many projects) AND issuetype in standardIssueTypes() AND (Sprint in openSprints() OR (issuetype = Epic AND updated > -6w)) ORDER BY Rank
How do I get only the Epics that are linked to from Issues in the current Sprint?
Sorry about this quick answer without reading through your entire question. But have you tried
sprint = "xxxx" and "Epic Link" = Something
Sorry, Bhushan, but this won't fix my issue.
Your solution would only work for pulling Stories (or other Issues linked to Epics). This is not what I want. I want to pull Epics that have (1) have links to them from (2) Issues in the current Sprint. (I can get the "current sprint", but saying…
Sprint = openSprints()
. The challenge remains the Epics.
> How do I get only the Epics that are linked to from Issues in the current Sprint?
I've tried to find a solution for this myself as well. And I did, at least for my application and intended use.
You need to have ScriptRunner!
And in ScriptRunner I used the epicsOf() function like so:
project = MyProject AND issueFunction in epicsOf('"Backlog" = "MyBacklog" AND Status in ("Ready for Backlog", "In Progress", "Ready For Verification", "Under Verification", "Resolved")')
This enabled me to filter out Epics for my backlog that were relevant to ongoing tasks, thus using the "Epics" window in the backlog properly without any irrelevant Epics.
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
Hi, everyone! Molly here from the Jira Service Desk Product Marketing Team :). In the spirit of this month's august-challenge, we're sourcing stories of Jira Service Desk activation fro...
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!
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