I am cloning an issue using the clone functionality. And an automation is running that is check if the cloned issue has particular fields(ex. due date) and clears them. Additionally I have an automation that sets due date based on priority. And Priority has four values high , normal , medium , low also there is no null or empty value for this field.
There can be two scenarios:
1) Cloned issue can have the same priority as the original one and user did not update this field. Automation will clear the old due date set the new due date based on the created date.
2) Cloned issue can have different priority , user will update this field after cloning. Automation will trigger and update due date based on the new priority value.
How do I achieve this.
Hi @Omkar Rajale ,
In this scenario, you can set up two automations.
1. Clear Due Date on Clone
Trigger: Issue Created
Condition: Issue Type
= your relevant issue type (optional filter)
Action:
Edit issue fields
→ set Due Date = null
This ensures cloned issues start with a clean Due Date
.
2.Set Due Date Based on Priority
Trigger:
Option 1 : Field value changed
→ Field: Priority
Option 2 : Issue Created
OR Field value changed
(Priority)
Condition (optional but safe):
Due Date
= empty
Action:
Use an "If-Else block" to define Due Date logic
This works as per your expectation.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.