Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

I use slack webhook can't tag slack user

Rich Ke
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 5, 2020

I'm follow with this  Mention a user in Slack

https://support.atlassian.com/jira-software-cloud/docs/smart-values-users/  

 

I use this 

Hi [~accountid:{{assignee.accountId}}]

send to slack get 

Hi [~accountid:557058:0db8c08f-d5cb-40fd-a56d-e85c95b8455f]

can't tag slack user

Is I miss some setting?

2 answers

2 accepted

1 vote
Answer accepted
Daniel Eads
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 12, 2020

Hi @Rich Ke ,

We've recently published a script that can sync Slack UIDs with Jira user properties. This allows you to at-mention Slack users in your Automation messages as you originally hoped to do. Instructions and the script are available on this Community article. I hope this is helpful to you!

Cheers,
Daniel | Atlassian Support

0 votes
Answer accepted
Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 6, 2020

Hello @Rich Ke

Thank you for reaching out.

Analyzing your request and the text displayed in the documentation, I can confirm that the order of the topics in the documentation is not correct.

The syntax [~accountid:{{assignee.accountId}}] only works to properly mention users in Jira issues, not in the slack messages. Thank you for pointing the wrong information there.

That being said, it is not possible to mention slack users by using smart values with Jira automation. You can only do this by adding their own Slack ID, as described in the thread below:

https://community.atlassian.com/t5/Jira-questions/How-can-I-mention-Slack-users-from-a-Jira-automation/qaq-p/1456488

Additionally, you can also point the name and e-mail of the users using smart values, as described in the documentation below:

Use automation with Slack 

We have two feature request to properly address this limitation:

Better mentions in Slack messages 

Better mentions in Slack messages - Jira Cloud 

Feel free to vote and watch the suggestion to increase its priority and also receive notifications about any updates.

Let us know if you have any questions.

Rich Ke
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 7, 2020

Thanks Petter,  I get it.

Like Petter Gonçalves likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events