Slack can mention using @.Included a "mention" in the message using automation's Slack notification.As a result, there are some who can mention and some who cannot. If can not, it will be displayed as plain text.Does anyone have the same problem? Is there a solution?
Sample(Message)
Hi,Mr Smith. you need check this.
<https://*******.atlassian.net/servicedesk/customer/portal/14/{{issue.key}}|{{issue.summary}}(creator:{{creator.displayName}})>
@John Smith*@john_smith-->The same string as when using the mention function in slack(copy from "slack" and paste to "automation")
Hi @shimizu.jun
You can mention a user with their Slack member Id (not the display name). The syntax would look something like:
<@ABC123>
To find the user id you can go to the users profile in Slack, tap the more button and copy member id. (Slack removed username mentions due to GDPR https://api.slack.com/changelog/2017-09-the-one-about-usernames)
Currently we can't do mentions on the fly. We have a public ticket for better mentions here: https://codebarrel.atlassian.net/browse/AUT-1772
Thanks,
John
My problem is solved. Thank you very much.
As a follow-up on this, we've provided a script that can sync the Slack IDs with Jira, in order to dynamically mention users through Automation rules again. Instructions and a link to the script are on this Community article. Cheers!
Do you plan to give a fix that will do it automatically - this script I will have to run it manually on each new person joining Jira
how would I tag a slack group? I can't figure out the ID of the group...
You can locate the group id via the API or in the url when viewing the group from a browser. Unfortunately, @ mentioning the group using the same <@ABC123> format is not working. Anyone aware of a different method for @ mentioning groups?
Found the proper format for @ mentioning groups...Should have checked the docs first.
<!subteam^ABC123>
https://api.slack.com/reference/surfaces/formatting#mentioning-groups
thanks for following up, confirmed that worked.
It looks like you're new here. Sign in or register to get started.