Skip to content
This repository has been archived by the owner on Jun 24, 2024. It is now read-only.

monke-systems/turbo-tg-jira

Repository files navigation

turbo-tg-jira

Description

Jira webhook listener with TG notifications feature.

Configuration

Application looking for config.yaml file in the working directory.

Example config:

loglevel: info
webhookServer:
  port: 80
  path: /webhook
  loglevel: info
bots:
  - name: test-bot
    token: '0=0=0=0=0=0=0=0'
  - name: another-bot
    token: '1-1-1-1-1-1-1-1'
handlers:
  - id: adminka
    tgChannelId: '-694897555'
    botName: test-bot
  - id: office
    tgChannelId: '-694986868'
    botName: another-bot
    issueEventTemplate: office-templates/issue.hbs
    commentEventTemplate: office-templates/comment.hbs

Config reference

Message templates

Templates powered with handlebars. All handlebars-helpers are also available.

Examples (default templates in the same time)

Endpoints

Healthcheck

GET /healtz