Hey, community. Im really struggling with the following scenario:
How can I configure Jira and Slack in this situation:
1. Always when I mention a specif person in a Jira issue comment
2. This person is notified in his direct message in Slack
Is it viable? I know thtat is possible to recive an alert in the Jira app in Slack, but this really does not work for me, the main goal is to recieve a notification in the direct message
Thanks a lot,
Hi @Diogo Quintanilha -- Welcome to the Atlassian Community!
One challenge with doing this is Jira and Slack have different user accounts for each person, and so Jira automation rules do not have the direct Slack id for the user.
If you search in this community forum you will find a few examples of work-arounds people have tried, such as hardcoding the ids, gathering/storing the ids for lookup (e.g. from entity properties, or using the Slack REST API to lookup the user's id based on their email address.
Kind regards,
Bill
Hi, @Bill Sheboy , thanks for helping. Ok, I understand that this scnenario is very complex.
But what if I just want to send a notification in a channel when someone is mentioned in a comment in Jira? I have tried using an automation but it didn't work.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Mentions in issue fields do not store the display name; instead they store the user's account ID value.
If you want to search for any mentions with and advanced compare condition, please search for this text:
[~accountid:
To search for a specific user's mention, find their accountId value and search for that in the field.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Diogo Quintanilha welcome to the community. The best way to get a direct message would be to setup an automation with the username and channel you want it to go to.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey, @Craig Nodwell thanks a lot for helping!
I have tried setting up an automation but its still not working properly. Here is how I did it:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Here is one exemple that is already working when I get mentioned in a comment in Slack, but its in the Jira app, not in the direct message
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.