Forums

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

Priority increases as due dates near rule

ola ogunsola July 18, 2022

I am trying to write a rule for priorities to automatically change when it is close to the due date.

Low due date is more than a month

Medium due date is a month

Critical means it is within a week.

 

1 answer

1 accepted

2 votes
Answer accepted
Walter Buggenhout
Community Champion
July 18, 2022

Hi @ola ogunsola and welcome to the Community!

Technically, you can do that by running a scheduled automation rule that runs e.g. once a day for each of your conditions.

Use a JQL condition to fetch the issues you want to update like this:

Priority = Low AND due <= 30d

Then, for all issues returned by the JQL, update the priority to Medium.

You can then provide a second rule to update to critical, based on the following JQL:

Priority = Medium AND due <= 7d

In reality, I am not sure if you really want to do this. Automating this means you will not be very flexible in setting priorities manually if needs be. And you can easily use the above filters as the source for Service Desk queues, dashboard gadgets or filter subscriptions to make issues come to the surface all by themselves.

Hope this helps!

ola ogunsola July 18, 2022

Thanks @Walter Buggenhout .

I tried this but it did not seem to work. Is there anything I am missing?

Screenshot (3) 1.png

Walter Buggenhout
Community Champion
July 18, 2022

Hi @ola ogunsola,

You seem to have made things far too complicated. You don't need more than this:

Screenshot 2022-07-18 at 23.26.20.png 

The JQL query that selects your issues can be defined inside your trigger like this:

Screenshot 2022-07-18 at 23.25.26.png

Like ola ogunsola likes this
ola ogunsola July 18, 2022

It worked.

Thank you

Like Walter Buggenhout likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events