Build better faster, stronger!
A Slack bot that automatically converts bug reports into structured Linear tickets using GPT.
- Trigger with "bug!" command in Slack
- Automatically formats bug reports with AI
- Creates Linear tickets with proper formatting
- Handles screenshot attachments
- Suggests appropriate team member assignments
- Environment Variables
bash SLACK_BOT_TOKEN="xoxb-your-token" # Slack Bot User OAuth Token SLACK_APP_TOKEN="xapp-your-token" # Slack App-Level Token LINEAR_API_KEY="lin_api_xxx" # Linear API Key LINEAR_TEAM_ID="xxx" # Linear Team ID OPENAI_API_KEY="sk-xxx" # OpenAI API Key
- Installation
bash pip install -r requirements.txt python app.py
- Invite the bot to your Slack channel
- Type "bug!" followed by your bug report
- Optionally attach screenshots
- Bot will respond with a Linear ticket link
- Python 3.8+
- Uses Slack's Socket Mode for events
- Requires Linear API access
- OpenAI GPT-4 for report structuring