Forums

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

How do I reference a slack Users ID in JIRA Automation rule?

George Singletary
Contributor
October 5, 2020

Following instructions in JIRA I've created a rule to send updates to a slack channel, which works fine. I also followed the instruction that indicated I could reference as specific slack user by using @MemberID, where the MemberID is available from users slack profile. This does not owkr for me as it just shows up as @ with the member ID, not the users name.

Any ideas how to get this working? 

1 answer

1 accepted

0 votes
Answer accepted
Daniel Eads
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 5, 2020

Hello George!

Great question about using mentions in Automation. There's a slight nuance with how the IDs are parsed by Slack. The value needs to be surrounded by angle brackets. So if we had a message like:

Hey @U12345, please review the request XYZ

Then we'd just need to modify it like so:

Hey <@U12345>, please review the request XYZ

and that should do the trick!

Cheers,
Daniel

George Singletary
Contributor
October 5, 2020

that did indeed work; thanks Daniel! (would be nice if the JIRA documentation mentioned that)

Like Federico Cireza likes this

Suggest an answer

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

Atlassian Community Events