Anyone able to retrieve the name of the field updated using smart values? They don't work for me
Hello @Saira
Is that exactly how you are using them, and expecting to get the name of the field that changed? That is not a correct expectation.
Referring to the documentation those smart values will give you the value in the field before and after it was changed.
If you show use the full automation rule and point out where and how you are trying to use the value then we can offer you more specific advice.
So basically I'm adding a comment in the automation when the Jira is updated - like this:
{{issue.key}}'s {{fieldChange.field}} field was updated from {{fieldChange.fromString}} to {{fieldChange.toString}} by {{initiator.displayName}}
but it prints this:
INC-3718's field was updated from to by Saira Nawaz
so Jira ID and initiator's name are displayed, but not the to and from field values or the updated field's name
Please show us the entire rule. The construction of the rule often reveals the cause of the rule to not behave as you expect.
Additionally if you review the documentation for which I provided the link you will see that field is not an available attribute for the {{fieldChange}} smart value.
here you go
It looks like you're new here. Sign in or register to get started.