-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Юрий Потапов edited this page Dec 15, 2023
·
2 revisions
If you, like me, have cluttered mail from various notifications. This simple solution will allow you to receive notifications about new tasks assigned to you directly in your Telegram.
TELEGRAM_TOKEN=BotToken
DATABASE_NAME=bot.db
JIRA_ADDRESS=https://jira.example.ru
ADMIN_CHAT_ID=000000000
You can also determine the data update time in handlers using variables: TELEGRAM_UPDATE_INTERVAL_SEC
, JIRA_UPDATE_INTERVAL_MIN
You can create a Telegram bot and give away a token using @BotFather
$ go get
$ go run main.go
$ go build
During the first dialogue with the bot, it will ask you to send a personal token. You can take it in your Jira profile settings.
(с) Yury Potapov 2023