Mentioning people in a slack channel when a ticket has not been updated

Francesco La Bianca March 18, 2022

Hello,

I created an automation in Jira with the option "send Slack message": every time a ticket has not been updated for some days, this message  is sent to a slack channel: "Hey {{issue.assignee.displayName}} , does this ticket {{issue.url}} << {{issue.summary}} >> need to be updated?". In this way we can see the name of the assignee, but the assignee is not mentioned (so not notified) , so the message is often lost in the conversation. Is there another way? 

 

Thank you.

2 answers

1 accepted

1 vote
Answer accepted
Daniel Eads
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 18, 2022

Hi @Francesco La Bianca ,

Great question! The Slack IDs and Jira accounts aren't connected out of the box in Automation. The Slack ID would need to be stored in a Jira user property, and then the user property called in the automation rule.

Fortunately we've provided a script to sync the Slack IDs into Jira! Details are on "Mention someone directly in Slack via Jira Automation" .

Cheers,
Daniel

0 votes
Piyush A (STR)
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 18, 2022

I do have a server script wherein you’ve to create a bot in slack (permission should be access user profiles). This bot gets the slack ID by passing the user email address and then you can do your next steps.
Note: though its a server script (scriptrunner) but for accessing the slack id is via rest api. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events