Hi Everyone,
I have a date type field I would like to have an automation to send me an email when the value of "delivery date" is changed
I have used this statement is giving me the current date of the Delivery but Not the previous date.
{{ changelog.issue.fields["Delivery Date"].fromString }} to {{ issue.fields["Delivery Date"] }}
appreciate your advices in advance.
Try out this syntax -
{{#changelog.Delivery Date}}.{{fromString}}{{/}} to {{issue.Delivery Date}}
A great way to debug your rule is to use the "Log action" action to write out your smartvalue output to the audit log.
I have use the above action "Log action" to test out a date field "Actual start" changes and capture the before and now value in my test rule for your reference -
Original: {{#changelog.Actual start}}{{fromString}}{{/}} Now: {{issue.Actual start.format("dd/MMM/yy h.mm a")}}
Hope this helps you.
Best, Joseph Chung Yin
Jira/JSM Functional Lead, Global Infrastructure Applications Team
Viasat Inc.
Does this means that your smartvalue setup is not working? What is your ask?
Best, Joseph
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes this setup for a date field is not working it only give me the current value of the field not the previous value.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Delivery Date changed From: {{ changelog.Delivery Date.fromString }} to {{ issue.fields. Deliver Date}}
this statement worked now.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please click on Accept answer when you have a chance. Thanks for your update.
Best, Joseph
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Here is the new question I have posted.
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.