Help with creating JQL Finding links Subtasks with Epics + All Issue Type

Hi,

Looking for a help to build a JQL Filter Query for Scrum Board.

Requirements:

As part of Filter Not to include
- ALL subtasks linked to all stories that are linked to Epic 

In Summary, show only stories + associated subtasks that are not linked to group of Epics.

Appreciate your help.

 

1 answer

This widget could not be displayed.
Micky Caritte Community Champion Nov 30, 2017

Hi,

Did you try:

(type = Subtask and "Epic Link" IS EMPTY) OR type = Story

That should do the trick if I understood well?

Cheers 

Hi Mickey,

Thanks for quick reply.

Looking for a query that I can use for board which will hide specific set of subtasks that are part of stories and those stories are  linked to specific set of epic.

Example : Epic A has Story 1,2,3 and story1 has subtask x and y, and story 2 has subtask aa and bb.

When query is executed it should show/return results minus (Epic A+ Story 1,2,3+ subtasks x/y/aa/bb).

Micky Caritte Community Champion Dec 01, 2017

Hi,

I think I understood better now. Using native JQL might be hard to get to your expected result. If you use Script Runner, it's bringing advanced JQL functions which would help. You could write something like:

NOT((type = Story and 'Epic Link' is not empty) OR issueFunction in epicsOf("type = Story and 'Epic Link' is not empty") OR issueFunction in subtasksOf("type = Story and 'Epic Link' is not empty"))

 That should exclude Stories which are related to an Epic + their epics + their subtasks.

Hope this helps!

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted 16 hours ago in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

42 views 1 0
Join discussion

Atlassian User Groups

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!

Find my local user group

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

Groups near you