Forums

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

Need help Auto-Update priority based on due date

LBL
Contributor
July 28, 2024

Hello everyone,

i need to create an automation that Auto-Update priority based on due date

ex: priority auto change to highest when there are 2 days left

can anyone help me ?

1 answer

1 accepted

2 votes
Answer accepted
shib saha
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.
July 28, 2024

Hi @LBL , Create an automation rule using scheduled trigger, in the condition use Jql (due <= 2d) and use action 'edit issue field' priority and set to Highest.

Let me know if you have any query in setting up the rule. Thanks

 

LBL
Contributor
July 28, 2024

Thanks for your answer @shib saha 

But im new with Jira so could you show me step by step how to do it?

 

 

Like John Funk likes this
LBL
Contributor
July 28, 2024

I used the similar template but it seem like not working

 

Capture.PNG

Like John Funk likes this
shib saha
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.
July 28, 2024

Could you please share the exact requirement like it is for all the issue type in the project or only selected issue type? do you want to add any other parameter to cover the scope of the automation rule? 

i see you have used other components too in the automation, are those required? that's why i want to understand the requirement first and then i can respond to your query accordingly.

if you simply want to change the priority of all the issues in your project when due date is 2 days left, create the automation rule as follow

Screenshot 2024-07-28 at 7.22.17 PM.pngScreenshot 2024-07-28 at 7.22.43 PM.pngScreenshot 2024-07-28 at 7.23.00 PM.png

Like # people like this
LBL
Contributor
July 28, 2024

@shib saha thanks for solution

i do exactlly what you said but this time, the rule did not do any action

then i change the code to: duedate >= now() AND duedate <= endOfDay("+2") and now it work

Thanks really much for your help, i've spend 3 days to find the rule 

Like shib saha likes this
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.
July 28, 2024

Hi @LBL -- Welcome to the Atlassian Community!

Adding to the suggestions...

You may want to add to the Scheduled Trigger's JQL so it does not update the priority of any already completed issues:

AND statusCategory != Done

 

Kind regards,
Bill

Like # people like this
LBL
Contributor
July 28, 2024

@Bill Sheboy really preciate it

Like # people like this

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