We need to display the last comment added to a ticket in a "last comment" field under the description.
We've created the following automation rule:
When: All comments
Then: Edit Issue
The rule is working properly, but there is an edge case when an @ mention is added in the comment. As you can see in the following example, the account ID is being displayed instead of the name.
Comment:
@Ruslan Shlain please take a look at this
Last Comment field:
On Oct 27, 2023, 5:17:53 PM *Luis Loaiza* said: [~accountid:557058:e7d6daec-be2d-4db9-ac33-d14790035535] please take a look at this
Is there a way to render the user name properly? Or should we update somehow the rule?
Thanks in advance your your help.
@Luis Loaiza , Welcome to the Atlassian Community!
Please, try to use: {{issue.comment.last.body.text.abbreviate(100)}} instead {{issue.comments.last.body.abbreviate(100)}}
This should be works for you.
Kind regards,
Fernando
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.