I have set up an animation that is supposed to send messages to a specific user when a Ticket changes it's status to done.
So it already works with a webhook, but I can't send it to the specific user directly.
First I thought it might be, because we are not using the right app integration, so that the override webhook is not working. (As it sais und Channel or user, if you fill this field it should override the Webhook, which is neccesary.)
But now I am kind of insecure about this, as I am currently just trying to post it as a slack message in a channel (which already works with the webhook).
And I tried to ping a person by using their member ID (on Slack) this way:
@U069HML****
Without the starts of course. But it didn't print the message as a ping but only wrote "
@U069HML****" without pinging.
So my question is:
Did I make a mistake in the way I put the member ID in? In that case it might also explain why the override function didn't work.
If someone found out how to ping people in Chat messages send via Jira Automation, please let me know. :)
To mention the specific user in Slack from the automation rule, please use this syntax, substituting in their ID value:
<@userSlackID>
Also, are you always mentioning the same person / user, or is that dynamic based on data in the issue fields?
Kind regards,
Bill
Hey @Bill Sheboy ,
thank you, now it works! :)
In our case it is the same person for all of the tickets, but I guess if it were more than one, I would do it with an else if request depending on the Assignee. ;)
Kind regards and really thanks for the quick answer!
Khira
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am glad to learn it works, and...if it is another user such as the Assignee:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That's a very good question - I think I would hardcode them first to make it work faster, but if it was for many persons, storing the Slack member IDs with the users would be a very nice way to solve it I guess. Also because the automation would get very long if you try to hardcode it for the whole team. :D
But I wouldn't have a clue how to store them with entity properties - how does that work? :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
To bulk-add the Slack user ID values to the Jira users (as entity properties), you may use this article from an Atlassian team member. It requires some technical / developer skills to get it to work and diagnose problems.
When you have fewer Slack user ID values to add, another option is using a separate automation rule to one-time (or periodically) refresh them. I answered another question that describes that rule in detail, and how to use the entity properties in mentions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.
Register NowOnline forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.