Botzilla is a simple Telegram bot that allows querying for Bugzilla data using simple text queries and getting a description of the bug and its corresponding link. Currently available the following query fields:
- user / -my (upon registration)
- assigned_to
- status
- component
In order to work, Botzilla requires the following keys:
-
bugzilla-creds:
- user: '[email protected]'
- password: ''
- domain: '@domain.com'
- bugzilla-url: 'bugzilla-url.domain.com'
-
telegram-creds:
- token: ''
-
default-params:
- default_product: '<default_product>'
- default_component: '<default_component>'
To containerize Botzilla do the following steps:
-
Clone the bot: git pull https://github.com/pavelzag/BotZilla.git -f
-
Edit the config.yml according to your Bugzilla and Telegram params
-
Build the container: docker build -t botzilla .
-
Run the container: docker run -tid botzilla
- It is possible to register your username that belongs to your organization to avoid using the 'user:' query.
- For example: 'register john.doe' After registration it is possible to use the 'my' query instead of using 'user: john.doe'
- After registration, it is possible to unregister using the 'remove' query.
- For example: 'remove john.doe'. The user will need to provide the 'user' query to receive replies
- user: bugzilla_user status: new
- component: Web_UI user: bugzilla_qa assigned_to: bugzilla_dev
- my status: on_qa (for a registered user) component: Web_UI
Botzilla is free to use. Any feedback is welcome! Feel free to ping me with any question or suggestion! Pavel Zagalsky [email protected] @pavelzagalsky