Skip to content
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

Recipient Setting Does Not Work With Display Name #167

Open
theory opened this issue Aug 11, 2023 · 2 comments
Open

Recipient Setting Does Not Work With Display Name #167

theory opened this issue Aug 11, 2023 · 2 comments

Comments

@theory
Copy link

theory commented Aug 11, 2023

The Slack plugin works fine when I specify a channel, but I get a 404 when I specify my slack username via the recipient setting. Is this a known issue? From Slack’s docs, it looks like prepending @ may not be necessary. But maybe it’d be better to add a channelID setting to the plugin, and then one can specify a channel ID (e.g., C123456) or a personal ID (e.g., D05MQH3Q2DP)?

@theory
Copy link
Author

theory commented Aug 11, 2023

Originally posted pin the Harness Slack, after following the comment to open an issue yesterday and following the link to discourse, which redirected to Harness.

@theory
Copy link
Author

theory commented Aug 14, 2023

Turns out that I had the wrong username. My company set my username to david.wheeler, but I changed my display name to theory years ago. Nowhere in my profile does it say david.wheeler at all that I can see, yet when I used recipient: david.wheeler, it actually worked! Completely wild.

I do think that having an option to use IDs would be less ambiguous, however, and allow for things like name changes (channels or people) not to break message delivery.

@theory theory changed the title Recipient Setting Does Not Work Recipient Setting Does Not Work With Display Name Aug 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant