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.
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.