Hello everyone.
I’m currently working on an automation that, if a work item has gone 3 days or more without comments and is in certain statuses, sends a Slack DM to the assignee requesting updates.
The problem arises in the “Send direct message on Slack” action. When the automation runs, it throws the error: “We couldn't send the Slack direct message because some users couldn't be found or aren't valid in Slack.” I checked the users assigned to the work items that meet the conditions, and they are all active on both platforms, and Jira and Slack are properly synchronized.
When I test it with my own user, everything works fine, so I assume the issue happens when multiple users are involved. Any idea how to fix this?
This is my automation:
Is your rule in a Jira Service Management (JSM) space / project and operating on an Incident work item type? I believe that action only works for that case:
And, what do you mean by "multiple users" when you stated this?
When I test it with my own user, everything works fine, so I assume the issue happens when multiple users are involved. Any idea how to fix this?
Kind regards,
Bill
Hi Bill, thank you for the answer.
In the automation actions there are two options to send direct messages via Slack: one when an incident occurs (which is the one you mention), and this other one, whose behavior—at least from what I’ve tested—is quite similar but intended for more general use. This is the one I’m using.
Now, regarding multiple users: I’ve tested the automation with a manual trigger on a work item assigned to me, and I receive the message correctly. However, the current setup starts with a scheduled trigger that includes a JQL, and the goal is to send reminders to the users assigned to the work items returned by this JQL whose last comment was more than 3 days ago. This is where multiple users are involved and the error occurs, whereas doing it individually works fine.
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.