JQL to find issues that do not have a specific field

We are implementing a rudimentary traceability matrix and are looking to establish the following link:

A custom field called Requirements ID (implemented as a List), filled in for every issue (in the form of a Zephyr test).

I am looking to prepare a filter which would give me a list of all Requirements IDs - even the ones that have not been associated with an issue (test).

In other words I am looking to seek the Requirements that do or do not have tests associated with them.

For instance, if I have 3 requirements ID (A, B, C) and 2 issues (1,2) that only correspond to requirements A, I am looking for the following output:




4 answers

1 vote
Tarun Sapra Community Champion Mar 24, 2014

Why don't you just use a built-in pie chart???

jql = Requirements ID is not empty -- generate ap ie chart and the issues which don't have it will have the value irrelevant.

Have you tried "is EMPTY", for instance "ourField is EMPTY "?

That, unfortunately, didn't do it. I am trying to cross-reference the Requirements ID against Key. Requirements ID is a list. I am looking to output all the Requirements ID against the corresponding issues (key). There could be Requirements ID in the list that do not, yet, have corresponding issues.

It sounds like you are looking for a report more than a single search. You could use the single level group report available in the projects list. This will output lists of issues under eachrequirement ID so

- 1
- 2

This will likely still fail to meet your requirements as it will not show empty IDs.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

613 views 1 18
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