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 ?
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
Thanks for your answer @shib saha
But im new with Jira so could you show me step by step how to do it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.