Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Autmotation rule: Reminder for agent not working properly

Edited

we have an automation rule that must meet 2 requirements for it to work:

- Status not in Gesloten

- Updated <= -1w

 

I am wondering why the queue is showing tickets with the status "gesloten". I use AND in the query (and not OR) and even though I specifically put in the query Status != Gesloten. 

 

chrome_8kUXapywkF.png

 

Any one ideas on how to fix this rule?

 

2 answers

2 accepted

4 votes
Answer accepted

Hi @Melle van Keulen 

You need to put the two priority conditions within brackets to make it

... and (priority = p2 or priority = p1))

The 'OR' here in your JQL is effectively ignoring some of the conditions before it.

Hope this helps!

Hi Callum,

The brackets did solve it. Thanks a lot!

1 vote
Answer accepted

Hi Melle,

You can fix the JQL by using this:
project = KEOIT AND status != Gesloten AND updated <= 1w AND priority IN (P1, P2)

 

I hope this works for you.

Hi Yanty,

It's solved, thanks a lot!

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Service Management

Next level incident management in Jira Service Management

Hello Atlassian Community! We’re thrilled to announce some exciting changes to incident management in Jira Service Management Cloud, in order to give your teams extra muscle during incidents, and ...

1,674 views 21 12
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you