Can someone please do help on this issue.
Hi @Dhanalakshmi s - Welcome to the Atlassian Community!
You will not be able to do this without an add-on app like ScriptRunner.
issuetype = Epic AND issueFunction not in hasLinks("is epic of") AND issueFunction not in linkedIssuesOf("issuetype = Story OR issuetype = Task")
issuetype = Epic
issueFunction not in hasLinks("is epic of")
issueFunction not in linkedIssuesOf("issuetype = Story OR issuetype = Task")
This query will return epics that do not have any linked stories or tasks.
This will need the ScriptRunner add-on.
Hi @Dhanalakshmi s
I got the same request from a colleague and solved it without add-ons. It can be done with an automation that adds a specific label to Epics with no children.
The trigger can we scheduled to run once a day, or just when someone creates an issue.
The automation does the following:
Use a "Related issues condition" to find all Epics with 0 children.
You can now make a JQL query that searches for all tickets with this label.
I’m Charlotte, a support engineer at Appfire and I’m here to help you.
Unfortunately, natively, you’ll not be able to do it dynamically.
In the app where my team works, JQL Search Extensions for Jira, you can use this query to get all epics with 0 children:
issuesInEpicCount = 0
Please contact our support if you have any other questions about this query.
We’ll be happy to help you!
I am part of the Customer Success Team for ScriptRunner. This can be accomplished with ScriptRunner add on. You can start a trial to try it for yourself and use the suggestion by @Sudarsana G. I am happy to go through the features with you if you are interested.
Hi Sudarsana G
issuetype = Epic AND issueFunction not in hasLinks("is epic of") AND issueFunction not in linkedIssuesOf("issuetype = Story OR issuetype = Task") it's working fine when we disable the hasLinks() in Powerscript for Jira plugin and JQL Tricky plugin also we have disable it so can you please help me out with some other alternative ways.
Thank you in advance.
It looks like you're new here. Sign in or register to get started.