Forums

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

How to Pause an SLA based on a specific Label

Houssein Barkallah
Contributor
October 5, 2022

Hey community,

I'm trying to set an SLA based on a JQL, yet when I try to remove a set of issues based on a specific "Label' , I can't properly use "Labels != XX " as that search won't bring back any issues.

Any known workarounds ? 
Thank you

2 answers

1 accepted

1 vote
Answer accepted
Mikael Sandberg
Community Champion
October 5, 2022

Anytime you use the labels field in a filter you also have to account for the case where the labels field does not have a value. So in your case your filter should look something like this:

(labels != XX OR labels is EMPTY)

Houssein Barkallah
Contributor
October 5, 2022

Thank you sm, it works perfectly. 

Like Mikael Sandberg likes this
2 votes
Kateryna_v_SaaSJet_
Atlassian Partner
December 29, 2022

Hi @Houssein Barkallah 

I can suggest a few more options.

1) If we want to control SLA by 3 labels.

You can enter the following JQL request (with your labels and projects) in the advanced search field. 

Project=QA and labels in(Department, Group1, Group2)

3labels-control-1.jpgI’ll compare other options with the SLA Time and Report add-on developed by my SaaSJet team.

3labels-control-2.jpgExample of a board with the same request but in a simpler format (no JQL).

2) If we want to see tasks WITHOUT these labels.

Project=QA and labels NOT IN(Department, Group1, Group2)

3labels-control-3.jpgYou can save JQL as a filter and use it in 2 ways.

3labels-control-4.jpgThrough JQL, you can do the same.
3labels-control-5.jpgYou can read more about JQL in /not in operators here, and also use the add-on yourself with a 30-day trial. I hope you found it helpful.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events