When user edit the due date from null to new date it should be update with the new date but if due date is already having a date and user tries to change it to a new date means, it should be revert to old date. how can I achieve this.
You’d need an automation rule for that. Something like:
- Trigger: Field value changed → Due date
- Condition: If the Due date was empty → allow update
- Else: Edit issue → reset Due date back to the value from {{fieldChange.fromString}}
That way the first change from null works, but if the field already had a date, any new attempt just rolls it back to the old value.
How would you implement the "Due date was empty" condition? There is not a "was empty" condition available natively for the Due date field.
(I already know the answer to this. I'm asking you to confirm that you tested your solution to prove that it would work.)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Trudy Claspill You just leave the second value blank in the condition, that counts as “was empty.” Then add a simple action (log or comment) so the block isn’t empty.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello. You could find similar requirement discussed at https://community.atlassian.com/forums/Jira-Service-Management/Automation-to-check-if-a-field-was-previously-empty/qaq-p/2677064
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.