I have a custom field for comments received from a particular external source. The field is called "Issue Comments" and is a rich-text field which we want to have separate from the default comments field.
The team that will be using this Issue Comments field is a Jira user and I believe that I should be able to use {{issue.Reporter.displayName}} as the means of identifying the user; however, with a custom comment field, I am not sure how to get the user name to precede any comment that comes through in that text box. For example:
(Support Team Member) "Message Testing...123, blah, blah, blah)
Is there a way to accomplish this?
Thanks,
Mark
Are you trying to add the name of the user who added an entry to "Issue Comments", based on the external source user's name? If so, are those people all Jira users, from which you could determine there name?
If the user is making the field change in Jira, you could use:
{{initiator.displayName}} for the person who made a change which triggered the rule, and then prefix that in an edit for the field.
If that would not work for you, please post images of your complete rule, showing the details of how the "Issue Comments" field is set, and include an image of the audit log details showing the rule execution. Those may provide more context for the community to offer suggestions. Thanks!
Kind regards,
Bill
Thanks for the quick reply, Bill. I'll give the {{initiator.displayName}} a try and see where it goes.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It works! Thanks again Bill.
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.