Can I write a JQL for getting all the EPICS in the project that do not have stories under them.
Not without an add-on. For example Scriptrunner provides the following option…
Issuetype = epic and issuefunction not in haslinktype (“epic-story link”)
Hi @[deleted] -- Welcome to the Atlassian Community!
How often do you need to do this, and do you have funds to purchase marketplace addons?
Best regards,
Bill
Vanilla JQL doesn't support it. You can export your issues to spreadsheet and process the data there. Obviously it only works for one off jobs.
You can find such epics with our app JQL Search Extensions.
If you install it you'll be able to perform this search:
issuesInEpicCount = 0
I hope this helps!
That doesn't work even with ScriptRunner.
This doesn’t work?
issuetype = Epic and issueFunction not in hasLinkType("Epic-Story Link")
It works today, I'm not sure what my issue was last week.
We have this addon, we've tried the search, and it returns a single epic. However, we have several epics in our project that have no issues in them, that are not returned by this query.From what I can see, the epic the query finds doesn't have any links to other epics, but the epics we have with no stories that the query does NOT find are linked to at least one other epic. So I'm guessing but not certain that maybe the addon is counting "links" as "issues in the epic" even though the links are to other epics that relate to ours or that share dependencies.
Hi @Kimberly Luttenbacher , please create a support request. It's the quickest way to get help with JQL Search Extensions. Thanks!
is there a way to do this without an extension?
Hi @Maria Lopez Alurralde
Yes, and the how-to depends upon how frequently you need to do this, how many epics you have, etc.
Need this one time:
Need this often, and do not have JQL extensions:
Kind regards,Bill
It looks like you're new here. Sign in or register to get started.