-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch from working with "Team: Foo" labels to "Product Area: Bar" (#436
- Loading branch information
1 parent
03ff0c8
commit c38b89d
Showing
16 changed files
with
372 additions
and
333 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import { Knex } from 'knex'; | ||
|
||
export async function up(knex: Knex): Promise<void> { | ||
// Since we only have ~a dozen subscriptions here (no good visibility, | ||
// actually, since we don't have direct db access in prod and no web or Slack | ||
// UI set up), we decided to start over from scratch for the new product | ||
// area-based mapping. | ||
await knex('label_to_channel').del(); | ||
} | ||
|
||
export async function down(knex: Knex): Promise<void> {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
# issueNotifier | ||
|
||
Notifies team channels when they have a new issue [pending triage](https://open.sentry.io/triage/#3-triage). This also notifies the support | ||
channel when a new issue comes in that is unrouted. | ||
Notifies product owner channels when they have a new issue [pending | ||
triage](https://open.sentry.io/triage/#3-triage). This also notifies the | ||
support channel when a new issue comes in that is unrouted. | ||
|
||
This requires adding the `/notify-for-triage` command to the bot config. | ||
|
||
- `/notify-for-triage`: List all team label subscriptions | ||
- `/notify-for-triage <name> <office>`: Subscribe to all untriaged issues for `Team: <name>` label in an office location (sfo, sea, yyz, vie, ams). | ||
- `/notify-for-triage -<name> <office>`: Unsubscribe from untriaged issues for `Team: <name>` label in an office location (sfo, sea, yyz, vie, ams). | ||
- `/notify-for-triage`: List all product area label subscriptions | ||
- `/notify-for-triage <name> <office>`: Subscribe to all untriaged issues for `Product Area: <name>` label in an office location (sfo, sea, yyz, vie, ams). | ||
- `/notify-for-triage -<name> <office>`: Unsubscribe from untriaged issues for `Product Area: <name>` label in an office location (sfo, sea, yyz, vie, ams). |
Oops, something went wrong.