https://github.com/orthly/slackgenie
Sync Opsgenie Schedule to Slack Usergroups
https://github.com/orthly/slackgenie
opsgenie slack
Last synced: 5 months ago
JSON representation
Sync Opsgenie Schedule to Slack Usergroups
- Host: GitHub
- URL: https://github.com/orthly/slackgenie
- Owner: orthly
- License: bsd-3-clause
- Created: 2024-04-19T16:17:05.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-19T16:22:28.000Z (about 2 years ago)
- Last Synced: 2024-06-19T11:34:22.224Z (about 2 years ago)
- Topics: opsgenie, slack
- Language: Go
- Homepage:
- Size: 81.1 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SlackGenie
Sync Opsgenie Schedule participants to Slack Usergroups.
Installation:
```
go install github.com/orthly/slackgenie@latest
```
Usage:
```
❯ slackgenie --help
Usage of slackgenie:
-opsgenie-api-key string
Opsgenie API Key. Will be read from environment 'OPSGENIE_API_KEY'
-opsgenie-schedule string
Opsgenie Team Schedule Name
-slack-api-key string
slack API Key. Will be read from environment 'SLACK_API_KEY'
-slack-group string
Slack Usergroup handle without @
```
Example: To sync opsgenie schedule "Machine Learning_schedule" to Slack usergroup "@ml-oncall". (export `OPSGENIE_API_KEY` and `SLACK_API_KEY`):
```
slackgenie -opsgenie-schedule "Machine Learning_schedule" -slack-group ml-oncall
```
## Finding the Team Schedule Name
It is under "On-call schedules" in the Opsgenie Team's page:
