Why Wombat? Working bot for messengers, w-m-bot.
The main idea of this bot is providing possibility to add comments/texts to Jira tasks directly from messenger.
The main idea:
- User sends message directly to bot.
- Bot get messages from API.
- Parses message to match issues' numbers pattern.
- Creates comment in related Jira task or edits existed one.
Right now it supports only really simple auth: bind to telegram's user_id
.
It's necessary to specify path to custom config: --config=/path/to/config
. There is possibility to specify environment variables in config also.
Env | Description | Default |
---|---|---|
WOMBAT_TAG_PATTERN |
(TEST-\d+) |
|
WOMBAT_JIRA_URL |
||
WOMBAT_TELEGRAM_TOKEN |
||
WOMBAT_CIPHER_KEY |
00000100010000100000100010001001 |
|
WOMBAT_POSTGRES_USERNAME |
postgres |
|
WOMBAT_POSTGRES_PASSWORD |
postgres |
|
WOMBAT_POSTGRES_HOST |
localhost |
|
WOMBAT_POSTGRES_PORT |
5432 |
|
WOMBAT_POSTGRES_DATABASE |
postgres |
|
WOMBAT_POSTGRES_SSLMODE |
disable |