Forums

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

What is the JQL filter for Severity(sev 1, sev 2, sev 3 or No Severity)

Sheela Hansda (IN) May 25, 2019

How do we write the filter to define Severity (sev 1, sev 2, sev 3 or No Severity)

2 answers

1 vote
Alexander Bondarev
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.
May 26, 2019

Hi 

Also it depends on field type of “Severity”, 

you can try :

Severity in (“sev 1”)

you can find useful information yourself - Advanced searching - fields reference.

Alexander Bondarev
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.
May 26, 2019

If you want, you can try basic search.

Sheela Hansda (IN) May 26, 2019

Hi,

Severity in (“sev 1”) didn't work. I tried Severity=1/2/3 and it worked. But for No Severity I tried Severity is NULL or Severity not in (1,2,3). Nothing showed up. How to filter issues that has not been assigned any Severity?

Alexander Bondarev
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.
May 26, 2019

Have you tried “Severity is empty”?

what type of field “Severity” is it ?

are you sure that you have issues with empty “Severity”?)

Sheela Hansda (IN) May 26, 2019

I want to find issues that has not been assigned any Severity. "Severity is empty" gives me the full result set which means no filter is being applied. 

Alexander Bondarev
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.
May 26, 2019

It looks like you firstly should check your issue’s screens configuration and delete it from unwanted screens.

look through this article - Configuring a screen's tabs and fields.

and after that(when field will be just on correct screens) try this JQL again “Severity is empty”.

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 Leaders.
May 25, 2019

JQL is a search language, it defines nothing.  A search for "Severity = sev1" will find what you expect it to find (and "Severity is empty" will find issues with no severity set)

I think there's more to your question than just "how do I use JQL to find things with severity" though - could you tell us more?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events