How to get all issues without a security level?

kelebag December 20, 2012

hey,

I am using Rest API to get some jira issues in my Java Code.

We have one security level in jira. The issues either have this level, or none.

Request

jql=project='projectKey' AND level='levelKey'

returns issues with a specific security level.

But I'm trying to get issues without level variable.

Any suggestions?

Thanks!

2 answers

1 accepted

1 vote
Answer accepted
Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 20, 2012

Try this:

jql=project='projectKey' AND level is EMPTY

kelebag December 20, 2012

Thank you Jobin.

This works.

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 20, 2012

Does "level != levelkey" help?

kelebag December 20, 2012

thanks for response.

nope, it searches for all issues with another levelkey, but not for issues without one.

Suggest an answer

Log in or Sign up to answer