-
Notifications
You must be signed in to change notification settings - Fork 205
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mentions not working, behave like a string #405
Comments
I haven't been able to fix it, but we think the reason for the issue is that the Slack channel is shared between workspaces, so the groups I was trying to tag, not existing in both workspaces, were being printed as a string also where it existed. This is at least what we think, but we can't be sure. May leave it open in case anyone has another idea or solution. Otherwise close it 👍 |
Can confirm this is an issue with |
Hey @Vanals, I have seen this happen before, but I'm not fully sure what causes it. What I can say, is it should work if rather than their name, you use their ID:
You can get a users ID from their profile, click the three dots and it will have a menu item to copy it. |
Do these mentions work when you use them manually in the target slack channel? |
Sorry this is no longer relevant to me and I can't test it anymore. Others might still have some input. |
Orb version: circleci/slack@4.10.1
What happened:
I am adding the orb for slack notification in a second project own by my team, In the first project it works perfectly, in the second one the slack message is triggered but the mention is simply a string.
I am tagging exactly the same group as in the other project, both orb versions are the same, but for some reason the mention is not correct. I have read that you suggest using a UserID, but in my case this is not a user but a slack group.
WHAT HAPPENS ON THE SECOND PROJECT:
FIRST PROJECT, WHERE WORKS CORRECTLY.
EDIT: WHAT I HAVE ALSO TRIED
I have even tried with GroupID but doesn't work
Also tried using the latest version
4.12.3
, but still doesn't workUPDATE: 🔆🔆🔆🔆
I haven't been able to fix it, but we think the reason for the issue is that the Slack channel is shared between workspaces, so the groups I was trying to tag, not existing in both workspaces, were being printed as a string also where it existed. This is at least what we think, but we can't be sure.
May leave it open in case anyone has another idea or solution. Otherwise close it 👍
Expected behavior:
Mentions should notify the group, being clickable, and not be a string
The text was updated successfully, but these errors were encountered: