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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
With the Issue Updated trigger, multiple fields' values may have been changed. If multiple fields' values changed, do you want to report the before and after values of every one of those fields?
Are you wanting to report only the changed values for specific fields?
What problem are you solving by adding a comment to document the before and after values when a field is updated? That information is already recorded in the issue history and available for viewing by viewing the History tab in the issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello. I have simmular issue. I can use expressions {fieldChange.fromString}} and {{fieldChange.toString}}, but i can't get added values for multipl user picker fields. Did you now how i can get difference between {{fieldChange.toString}} and {fieldChange.fromString}} if fields are type multipl user picker.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have replied on your original post
Yours is a "similar" issue to this post only in that it concerns getting the changed value of a field through an automation. Otherwise it is different because you are using a different hosting type and yours concerns a multiple selection field. You were correct to start a separate Question.
Plus this question is almost a year old, and the only people who see your addition to it are the original post author and responders. Starting a new Question gets you better visibility for it in the Community.
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.