A powerful Telegram bot that integrates with Jira to streamline task management through chat interface. This bot enables creating, tracking, and managing Jira tasks directly from Telegram, with support for advanced features like AI-powered task breakdown and voice commands.
- Interactive Task Creation: Create Jira issues through guided conversations
- Advanced Task Creation: AI-powered task breakdown for complex projects
- Voice Commands: Support for voice messages with automatic transcription
- Task Tracking: Monitor task status and receive notifications
- Workflow Management: Transition tasks between different states
- Media Support: Attach images, documents, and other media to tasks
- AI Integration: Uses GPT models for task analysis and breakdown
- Voice Processing: Converts voice messages to task descriptions
- Smart Notifications: Get alerts for deadlines and status changes
- Multilingual Support: Handles both English and Persian text
- Sprint Management: Integrate with Agile sprints
- Epic Linking: Connect tasks to epics
- Component Management: Organize tasks by components
- Release Management: Track versions and releases
- Custom Fields: Support for Jira custom fields
- User Assignment: Smart assignee suggestions
- Team Communication: Task comments and notifications
- Permission Control: Role-based access control
- Group Chat Support: Manage tasks in group conversations
- Python 3.11 or higher
- Telegram Bot Token (from @BotFather)
- Jira account with API access
- Optional: OpenAI API key for AI features
-
Clone and Install
git clone https://github.com/alikaz3mi/jira-telegram-bot.git cd jira-telegram-bot python -m venv venv source venv/bin/activate # or 'venv\\Scripts\\activate' on Windows pip install -e .
-
Configure Environment
- Copy sample.env to .env
- Configure required settings:
TELEGRAM_TOKEN=your_bot_token TELEGRAM_HOOK_TOKEN=your-token JIRA_DOMAIN=https://your-jira-instance.com JIRA_USERNAME=your_username JIRA_PASSWORD=your_token_or_password
-
Run the Bot
python -m jira_telegram_bot
# Build and run using Docker Compose
docker-compose up -dThe docker-compose.yml file includes all necessary configurations and environment variables for running the bot in a containerized environment.
Only users defined in the user settings configuration (settings/user_config.json) are authorized to use the bot. This restriction ensures secure access control and proper task management attribution.
/create_task- Start creating a new task (supports recursive creation)/advanced_task- Create multiple related tasks with AI assistance (supports voice input)/transition- Change task status/status- Check task status/summary_tasks- Get board summary/setting- Configure user preferences/help- Show command list
- Start with
/create_task - Select project from the list
- Enter task summary and description
- Choose component(s)
- Select assignee
- Set priority, sprint, and epic
- Add attachments if needed
- Choose to create another task (recursive creation) or finish
- Use
/advanced_task - Select project
- Provide task details through:
- Text description
- Voice message (automatically transcribed)
- Review AI-generated task breakdown
- Confirm task creation
- Use
/transition - Select the task
- Choose new status
- Add transition comment if needed
Configure custom field IDs in your environment:
JIRA_EPIC_LINK_ID=customfield_10100
JIRA_SPRINT_ID=customfield_10104
JIRA_STORY_POINTS_ID=customfield_10106
- Configure default projects
- Set preferred components
- Define custom task templates
- Configure notification preferences
- Authentication Errors: Verify Jira credentials and API token
- Permission Issues: Check Jira user permissions
- Field Errors: Ensure custom fields are properly configured
- Rate Limits: Monitor API usage limits
- Check
cron.logfor scheduled tasks - Enable debug logging in settings
- Fork the repository
- Create feature branch
- Commit changes
- Submit pull request
This project is licensed under the MIT License - see LICENSE file for details.
- Built with python-telegram-bot
- Uses jira-python
- AI features powered by OpenAI/Gemini
