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:

A|1,2

B|<Blank>

C|<Blank>

4 answers

1 votes
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

A
- 1
- 2

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

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,082 views 13 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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot