Developer Tools

JIRA API Worklogs Scraper

Enterprise automation tool that retrieves worklog data from JIRA via API, processes JQL queries, and exports to multiple formats. Deployed at Fortune 500 companies for resource tracking.

JIRA API Worklogs Scraper

A Python tool for extracting worklog data from JIRA instances via API.

Features

  • JQL Query Support - Define custom queries to filter worklogs
  • Flexible Export - Output results to various file formats
  • Telegram Notifications - Get alerts on execution status
  • Configurable - All settings via config.ini file
  • Comprehensive Logging - Debug issues with detailed logs

Project Structure

text
├── jira_worklogs.py          # Main execution script
├── config_reader.py          # Configuration management
├── file_writer.py            # Output file handling
├── telegram_notifications.py # Alert system
├── logger.py                 # Logging functionality
└── config.ini                # Your configuration

Configuration

The config.ini file includes sections for:

  • Auth - JIRA credentials
  • Server - Instance URL
  • Jira - JQL query and result limits
  • Results - Output directory and filename
  • Telegram - Bot token and chat ID
  • Dev - Log level settings

Usage

bash
pip install -r requirements.txt
python jira_worklogs.py

Logs are written to system_log.log with configurable verbosity levels.

Repository

View the source code on GitHub.