The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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 Champions.
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-
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 Champions.
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.

TAGS
AUG Leaders

Atlassian Community Events