Hi,
I created an automation to comment an issue when status changes to "Reopen". I used smart values for users: https://support.atlassian.com/jira-software-cloud/docs/smart-values-users/
But the end result is a plain text comment. How can I actually mention those users, so they are notified as well?
Thanks!
Gui.
Hi GUI - can you share the rule you have so far?
@John Funk Yes, sure. This is the rule.
There is nothing here.
@John Funk Sorry, wrong link.Here the image.
This is the message that appear as a new comment:
{{reporter.displayName}} e {{assignee.displayName}}, essa issue foi reaberta por {{initiator.displayName}}.
To add onto this:
We wanted to add a comment to an issue to @mention the user who transitioned the issue to a different status. This required us to mention the initiator of the action. Here's how we did it:
[~accountid:{{initiator.accountId}}]
This generated the correct @mention, adding a nice Jira bell notification.
Hi, does anyone know how to tag multiple watchers in the comment through Automation? Thanks in advance
Hi @Karthika Murugesan
You could iterate over the Watchers field to add each one as a mention, as described in this thread.
However...If they are already watchers, why would you want to do this?
Kind regards,Bill
That is cool stuff @Bill Sheboy and John Funk! 👍
with [~accountid:{{fieldChange.from}}] you can mention the user in a rule, that monitors the change of an assignee to not be empty.
This works like a charm! Thank you Ben!
Thank you, Ben!
Perfect thank you! Also not sure if it has been mentioned. To @ comment the reporter i used:
[~accountid:{{reporter.accountId}}]
@Ben Gallant Thank you, your answer solved my question.
May have been a temporary problem in Jira. Now it is working. thanks!
------
Hi, these answers did not solve my issue because after trying nicknames and accountids, mentioning is working but Jira cannot find the user and mentions him. It returns @User like in the image and
says
Oops, looks like we’re having issuesTry again and we’ll give it another shot
and cannot find again. @Bill Sheboy can you suggest a solution
It looks like you're new here. Sign in or register to get started.