Forums

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

Change priority based on due date (service desk)

Vincent December 29, 2021

Hello,

 

I'm trying to change the priority based on the due date.

Ex:

High when due <= 1d

Medium when due <= 3d

Low when due > 1w

 

I tried a lot of things in automation, read a bunch of people with the same problem but can't get it to work... Any help would be appreciated :D

 

2 answers

1 accepted

0 votes
Answer accepted
Alan Stephenson
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.
December 29, 2021

I ran a test and it does work. If you are using the JIRA system field duedate make sure you have permission on that field (this is typically leveraged in the Sprint planning, but you can still use it; make sure you have the Schedule Issues permission).

Then, I setup an automation rule (still needs tweaking)

first test

- issue created
      - duedate <= 1d then set priority = High
      ELSE if
           - duedate <= 3d then set priority = Medium

and so forth. What you may need to do is change you logic so instead of it being > 1w you may need to do > 4d; or if your middle test is <= 1w then you should be good. 

Hope that helps.

Vincent December 30, 2021

It finally worked. Seems like the only issue i had was to untick the box "only include issues that changed since the last rule"....jira 5.PNG

Like Bill Sheboy likes this
2 votes
Bill Sheboy
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.
December 29, 2021

Hi @Vincent 

That should be possible with an automation for Jira rule.  Would you please post images of your automation rule and the audit log showing details of an execution which does not work as you expect?  That may help explain what is happening.  Thanks!

Kind regards,
Bill

Vincent December 30, 2021

Here's my latest attempt based on someone that tried the same thing : jira1.PNGjira 2.PNG

 

And the audit log (in french unfortunately)

Vincent December 30, 2021

And here's another attempt :jira 3.PNG

Suggest an answer

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

Atlassian Community Events