7

I'm trying to tidy up our Jira board and create an accurate story map.

To do that I need to come up with a query that will return open user stories within a certain project that don't have any issue links (preferably 'related to (primary)')- the last part does not seem to be supported.

I've had a look around an post of the Q&As are a few years old, so i'm wondering if it was been updated recently?

I'm using version 5.1

Thanks!

Mack
  • 2,556
  • 1
  • 26
  • 44
user3535684
  • 79
  • 1
  • 1
  • 2
  • The easiest way would be to create a throwaway JIRA Agile board for the project and look at the No Epics area in the Epic column on the left. If you want to do it in JQL alone you can use: – mdoar Apr 17 '14 at 19:26
  • "Epic Link" is empty. Gosh, I don't like the way that stackoverflow decides when to submit text. – mdoar Apr 17 '14 at 19:27

6 Answers6

12

issuetype = Story and "Epic Link" != EMPTY

Manohar Don
  • 129
  • 1
  • 4
5

I used the following query:

project = PROJECTNAME AND issuetype = Story AND "Epic Link" is EMPTY

Seems to work for me, what do you guys think?

Nabil Kirmani
  • 51
  • 1
  • 1
1

In addition to "Epic Link" = EMPTY, you might want to filter out issues that, themselves, are EPICs, since they can't have Epic Links and will otherwise show up in the search.

Here's a search to get only issues that have no Epic (but are not Epics themselves):

issuetype != Epic AND "Epic Link" is EMPTY
Dannid
  • 1,507
  • 1
  • 20
  • 17
0

Just to throw another answer into the bowl.

You can use your normal workboard (Scrum, Kanban, etc) and add a swimlane with the JQL:

"Epic Link" is EMPTY

Just did this for our board after looking exactly for this.

Andre Oliveira
  • 128
  • 2
  • 12
0

I don't have enough points for comments or votes yet ... but to add to the one answer provided about the "Board", the JQL will work in a simple issue search as well. I just ran this JQL from Issue Search and it worked like a champ:

project = BI and "Epic Link" is empty
  • This will return Epic tickets as well, since Epics can't have Epic Links. Perhaps it works for you if you don't have any Epics in that project? – Dannid Mar 04 '19 at 17:40
-1

project = PROJECT NAME AND issuetype = ISSUETYPE AND "Epic Link" = EMPTY