slack-orb icon indicating copy to clipboard operation
slack-orb copied to clipboard

Slack Group Mentions

Open bcyip opened this issue 4 years ago • 1 comments

Describe Request:

Currently only able to mention individual users. Would like to mention a group that has multiple users in it. This would be better as then we only have to manage groups as people come and go. Hardcoding a person is not ideal.

Examples:

Each group seems to have a UUID 'S0....' @QA-group @Team-group

QA-group

  • person 1
  • person 2

Supporting Documentation Links:

bcyip avatar Mar 18 '22 02:03 bcyip

Hi, @bcyip 👋

The orb already supports group mentions. You can see here and here that we mention the group orbs in the integration tests.

Are you getting some sort of error when you try it?

EricRibeiro avatar Jun 14 '22 21:06 EricRibeiro

I am closing the issue due to not getting further details. And as mentioned in the previous comment, the orb supports group mentions.

EricRibeiro avatar Sep 14 '22 18:09 EricRibeiro

Hi @EricRibeiro,

I am unable to mention groups. I have code that works great for U0XXXXXXX (users) but not S0XXXXXXXX (groups). It would also be nice if I could use @here.

TNonet avatar Nov 16 '22 20:11 TNonet

@TNonet, can you share what version of the orb you are using? Can you also share Slack's payload when you set the debug parameter to true?

EricRibeiro avatar Nov 16 '22 20:11 EricRibeiro

Version: circleci/[email protected] For the payload, I am getting this error adding the debug option.

Error calling command: 'slack/notify'
Unexpected argument(s): debug

Does this suggest my version needs to be updated?

TNonet avatar Nov 16 '22 20:11 TNonet

Version: circleci/[email protected] For the payload, I am getting this error adding the debug option.

Error calling command: 'slack/notify'
Unexpected argument(s): debug

Does this suggest my version needs to be updated?

Yeah, would you mind bumping it to v4.10.1?

EricRibeiro avatar Nov 16 '22 21:11 EricRibeiro

I only see changelogs from 4.9 (https://github.com/CircleCI-Public/slack-orb/releases). Are there a list of breaking changes since 4.2 somewhere?

TNonet avatar Nov 16 '22 21:11 TNonet

We started doing changelogs somewhat recently. Nevertheless, you should not expect breaking changes since we follow semantic versioning closely. Breaking changes would lead to a major bump, i.e. v5.x.x.

EricRibeiro avatar Nov 16 '22 21:11 EricRibeiro

It's been a while since the last input here, so I'll close the issue. @TNonet, please open another issue if you still face this problem with the orb's most recent version.

EricRibeiro avatar Nov 23 '22 23:11 EricRibeiro

Thanks @EricRibeiro! Will do.

I had some other high priority items come up and I hope to get back to this later this week or next.

TNonet avatar Nov 29 '22 00:11 TNonet