What should the syntax be for updating fields using smart values in automation rules?
I am using an on-premise version of Jira.
I have written a rule that is triggered when a comment is added.
In this simplified example I want to add the last comment concatinated to the description field.
In the end I will use instr() and indexof() functions to get a provider case number from the comment field and add it to the name field.
What works is adding the comment as it is to the description.
Using basic parsing mode the parser expression is this:
%{trigger.issue.lastComment}%{trigger.issue.description}
What does not work and what I want to achieve is this:
%{trigger.issue.description.concat(trigger.issue.lastComment)}
Also tried different versions
%{trigger.issue.description}.concat(trigger.issue.lastComment)
{{trigger.issue.description.concat(trigger.issue.lastComment)}}
{{trigger.issue.description}.concat(trigger.issue.lastComment)}
What I now see in the description is the parser description itself.
What should the parser expression look like?