Slack: How to subscribe organization only about new releases

Created on 10 Jan 2019  路  5Comments  路  Source: integrations/slack

I found an issue #709, which makes us subscribe entire organization activities.

However, it cannot subscribe about some specified activities, such as new releases.

I typed

/github subscribe {Organization Name} releases

I expected to be notified only new releases,
but all activities are notified in channel.

How to subscribe organization only about new releases?

Most helpful comment

Hi @sean-ahn,

as @githubERIK mentioned, some features are enabled by default.
These are the most commonly used features so having those as default, supports the majority of cases.

You can list your active features with:
/github subscribe list features

You can disable features with
/github unsubscribe <org> <feature1> <feature1> ...

Quick example that only leaves releases active:

Screenshot 2019-08-12 at 16 15 02

I hope this helps and feel free to close the issue if that answers your question :)

All 5 comments

Thanks for opening this issue! If you would like to help implement an improvement, read more about contributing and consider submitting a pull request.

Check the default settings that are true
https://github.com/integrations/slack/blob/master/lib/models/subscription.js#L20

  const DefaultSettings = {
    issues: true,
    pulls: true,
    deployments: true,
    statuses: true,
    public: true,
    commits: true,
    releases: true,
    comments: false,
    branches: false,
    reviews: false,
  };

and use /github unsubscribe {Organization Name} issues pulls deployments statuses etc

Hi @sean-ahn,

as @githubERIK mentioned, some features are enabled by default.
These are the most commonly used features so having those as default, supports the majority of cases.

You can list your active features with:
/github subscribe list features

You can disable features with
/github unsubscribe <org> <feature1> <feature1> ...

Quick example that only leaves releases active:

Screenshot 2019-08-12 at 16 15 02

I hope this helps and feel free to close the issue if that answers your question :)

@scepticulous thanks! it was helpful.

I still think this is a bad UX to this date.
/github subscribe [org|repo] with no features already do that. If you pass in /github subscribe [org|repo] releases is because you only want releases. You shouldn't need to further unsubscribe the other features you don't want.

Was this page helpful?
0 / 5 - 0 ratings