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?
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() ")
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"')
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Recommended Learning For You
Level up your skills with Atlassian learning
Learning Path
Get started with Jira Software
New to Jira Software? These short, self-paced courses will teach you what you need to know to get up and running quickly.
The Beginner's Guide to Agile in Jira
Learn what agile, kanban, and scrum are and how agile works in Jira Software.
Realizing the Power of Jira Reporting and Dashboards
Use out-of-the box reporting and dashboard capabilities to view and assess progress and bottlenecks within projects.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.