Skip to content

Simple issue-tracking bot created to help developers and testers during beta testing.

License

Notifications You must be signed in to change notification settings

BotMancer/BetaIssuesBot

Repository files navigation

BetaIssuesBot

Born to help:

  • Testers: allowing them to easily report bugs, as well as request new features.
  • Developers: grouping all the reports received from testers in a dedicated channel, waiting to be revised.
    In case of a positive revision, automatic creation of the related issue on Jira.

Available on Telegram.

Commands and Actions

Users Description
/bug Send a ticket with description about a discovered bug.
/feature Send a ticket with description about a feature you wish.
Staff Description
approve-[type] Mark as approved. Upload it on Jira.
reject-[type] Mark as rejected. Available to be restored.
restore-[type] On rejected ticket, reset its status.

*[type] stands for bug or feature.

Installation

Enviroment

.env file structure:

Field Description
BOT_TOKEN Telegram bot token given from BotFather.
JIRA_TOKEN Security token to interact with Jira.
JIRA_BASE_URL Company base url on Jira.
TESTING_GROUP_ID Testing team group ID.
CHECK_CHANNEL_ID Support team channel ID.

Jira Client

  • On clients/jira.js file:
    • Check Jira Projects section and edit it properly, specifying your projects and related issue types.
  • On actions/[type]/approve_[type].js files:
    • Check Jira Project section and modify it with your related project/issue-type infos.
      *[type] stands for bug or feature.

License

Released under the GNU GPL v3 license.

This bot is built on top of telegraf.js, distributed under MIT License.
Copy of this license can be found in LICENCE file in the official telegraf.js GitHub repo.