Skip to main content
Glama

JIRA MCP Server

CHANGELOG.mdโ€ข15.1 kB
# Changelog All notable changes to the JIRA MCP Server will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] ### Planned - Additional JIRA worklog management features - Enhanced performance optimizations - Advanced JIRA automation workflows ## [0.5.4] - 2025-01-18 ### ๐Ÿ› Critical Bug Fixes - **๐Ÿšจ Node.js Compatibility Fixed**: Resolved critical syntax error preventing package execution on Node.js environments - **Issue**: TypeScript enum compilation generated ES2021 `||=` operator causing `SyntaxError: missing ) after argument list` - **Solution**: Replaced TypeScript enum with const assertion for broader compatibility - **Impact**: Package now runs on Node.js 12.x and later (previously required Node.js 15.0.0+) - **Affected**: `SprintState` enum in sprint models - **Benefits**: Better tree-shaking, improved bundler compatibility, no breaking changes ### ๐Ÿ”ง Technical Improvements - **TypeScript Configuration**: Updated target from ESNext to ES2020 for better compatibility - **Code Quality**: Improved enum patterns using const assertions for better performance - **Build Process**: Enhanced JavaScript output compatibility across Node.js versions ### ๐Ÿ“ฆ Package Updates - **Dependencies**: No dependency changes - **Breaking Changes**: None - fully backward compatible - **Migration**: No migration required - automatic compatibility improvement ## [0.5.3] - 2025-06-05 ### ๐Ÿ› Critical Bug Fixes - **๐Ÿšจ JIRA Worklog Description Format Fixed**: Resolved critical bug where worklog creation failed when descriptions were provided - **Issue**: JIRA API requires worklog comments to be in ADF (Atlassian Document Format) instead of plain strings - **Error**: Worklog creation worked without description but failed when description was sent as plain string - **Fix**: Updated WorklogRepository to convert string comments to ADF format using existing `textToADF()` function - **Impact**: Users can now successfully add worklog entries with descriptions/comments - **Location**: `src/features/jira/issues/repositories/worklog.repository.ts` ### ๐Ÿ”ง Technical Details - **Root Cause**: JIRA worklog API expects comments in ADF format, not plain text strings - **Solution**: Integrated existing ADF parser to convert string comments to proper ADF document structure - **ADF Format**: Converts plain text to `{"type":"doc","version":1,"content":[{"type":"paragraph","content":[{"type":"text","text":"..."}]}]}` - **Backward Compatibility**: Maintains full compatibility - string inputs automatically converted to ADF - **Methods Updated**: Both `addWorklog()` and `updateWorklog()` now handle ADF conversion ### ๐Ÿ” User Impact - **Before**: Worklog creation failed with descriptions, forcing users to create worklogs without comments - **After**: Full worklog functionality with rich text descriptions working seamlessly - **API Consistency**: Worklog comments now properly display in JIRA UI as descriptions - **Developer Experience**: Transparent ADF conversion - developers can still use simple strings ## [0.5.2] - 2025-06-05 ### ๐Ÿ› Critical Bug Fixes - **๐Ÿšจ JIRA Permission Validation Fixed**: Resolved critical bug where MCP-JIRA incorrectly reported permission failures - **Issue**: Tool was using wrong JIRA REST API endpoint `/rest/api/3/user/permission/search` for permission checking - **Error**: Users with correct permissions (CREATE_ISSUES, EDIT_ISSUES) were getting false permission denied errors - **Fix**: Updated to correct endpoint `/rest/api/3/mypermissions` in ProjectPermissionRepository and ProjectRepository - **Impact**: Users can now successfully create and edit JIRA issues when they have proper permissions - **Verification**: Tested with real JIRA instance - permissions now correctly detected as GRANTED - **Location**: `src/features/jira/projects/repositories/project-permission.repository.ts`, `src/features/jira/projects/repositories/project.repository.ts` ### ๐Ÿ“‹ Quality Assurance - **Build Validation**: All TypeScript compilation errors resolved - **Linting**: All Biome linting issues fixed - **Test Coverage**: 824/824 unit tests passing - **Integration Testing**: 15 integration tests with proper credential validation - **Real JIRA Testing**: Verified fix with live JIRA instance (SEC project) ### ๐Ÿ” Root Cause Analysis - **Problem**: JIRA Cloud API endpoint mismatch in permission validation - **Detection**: User reported permission failures despite having correct JIRA permissions - **Solution**: Updated API endpoints to use JIRA's standard `/mypermissions` endpoint - **Prevention**: Added integration tests to catch similar API endpoint issues ## [0.5.1] - 2025-06-05 ### ๐Ÿ› Critical Bug Fixes - **๐Ÿšจ JIRA Projects API Pagination Fixed**: Resolved `projects.map is not a function` error - **Issue**: JIRA `/project/search` API returns paginated responses with `{values: [...]}` structure - **Error**: Code expected direct arrays, causing `projects.map is not a function` when using `jira_get_projects` - **Fix**: Updated ProjectRepository to properly extract `values` array from paginated responses - **Impact**: Users can now successfully use `jira_get_projects` and `jira_get_projects searchQuery="..."` commands - **Location**: `src/features/jira/projects/repositories/project.repository.ts` ### ๐Ÿ”ง Technical Details - **Root Cause**: JIRA API pagination structure mismatch in projects repository - **Solution**: Added `PaginatedResponse<T>` and `ProjectSearchResponse` interfaces with proper value extraction - **Validation**: All 829 tests passing with comprehensive coverage across all domains - **Testing**: Enhanced mock factories and repository test coverage - **Compatibility**: Fully backward compatible with no breaking changes ### ๐Ÿ“‹ Release Process - **Type**: Patch release (0.5.0 โ†’ 0.5.1) - **Priority**: High - resolves user-blocking issues - **Compatibility**: Fully backward compatible - **Dependencies**: No dependency changes required ## [0.5.0] - 2025-06-05 ### ๐Ÿ†• New Tools - **๐Ÿ“ Worklog Management**: Complete worklog functionality for time tracking - `jira_add_worklog`: Add time entries to issues with comments and date specification - `jira_get_worklogs`: Retrieve worklog entries with date filtering - `jira_update_worklog`: Modify existing worklog entries - `jira_delete_worklog`: Remove worklog entries - **๐Ÿ‘ค User Management**: Enhanced user operations - `jira_get_current_user`: Get current authenticated user information ### ๐Ÿ—๏ธ Architecture Overhaul - **Modular Design**: Complete code reorganization with domain-driven structure (issues, projects, boards, sprints, users, worklogs) - **Enhanced HTTP Client**: Rebuilt with dedicated utility classes for improved reliability and maintainability - **822+ Tests**: Comprehensive test coverage including 95+ new tests for HTTP client utilities ### ๐Ÿ› Critical Fixes - **URL Construction Bug**: Fixed malformed JIRA API URLs that prevented proper communication with JIRA Cloud - **Enhanced Error Handling**: Improved error classification with actionable solutions ## [0.4.1] - 2025-06-04 ### ๐Ÿ› Critical Bug Fixes - **๐Ÿšจ JIRA Issue Creation Fixed**: Resolved critical bug preventing JIRA issue creation - **Issue**: JIRA Cloud API now requires `permissions` query parameter for `mypermissions` endpoint - **Error**: `JiraApiError: The 'permissions' query parameter is required.` - **Fix**: Added `permissions: "CREATE_ISSUES"` parameter to project validation API call - **Impact**: Users can now successfully create JIRA issues through MCP integration - **Location**: `src/features/jira/api/jira.client.impl.ts` - `validateProject` method ### ๐Ÿ”ง Technical Details - **Root Cause**: JIRA Cloud API policy change requiring explicit permission specification - **Solution**: Updated `mypermissions` endpoint call to include required `permissions` parameter - **Validation**: Verified fix with TypeScript compilation and build process - **Testing**: Confirmed no regression in existing functionality ### ๐Ÿ“‹ Release Process - **Type**: Patch release (0.4.0 โ†’ 0.4.1) - **Priority**: Critical - affects core functionality - **Compatibility**: Fully backward compatible - **Dependencies**: No dependency changes required ## [0.4.0] - 2025-06-02 ### ๐Ÿš€ Major Features - **๐Ÿ†• Complete JIRA Issue Management Suite**: Full CRUD operations for JIRA issues - `jira_create_issue`: Create new issues with comprehensive field support - `jira_update_issue`: Update existing issues with field changes, status transitions, and worklog entries - Advanced field support including custom fields, time tracking, and array operations - **๐Ÿ“Š Project & Board Management**: Comprehensive JIRA workspace navigation - `jira_get_projects`: Browse and discover JIRA projects with filtering options - `jira_get_boards`: Access Scrum and Kanban boards with advanced filtering - `jira_get_sprints`: Sprint management for agile project workflows ### โœจ Enhanced Capabilities - **๐ŸŽฏ Advanced Issue Creation**: - Support for all standard JIRA fields (priority, assignee, labels, components, versions) - Time tracking integration (estimates, due dates) - Custom field support for organization-specific workflows - ADF format support for rich descriptions - **โšก Powerful Issue Updates**: - Field-level updates with validation - Array operations (add/remove/set) for labels, components, and versions - Status transitions with workflow validation - Worklog entries with time tracking - Comprehensive error handling and validation - **๐Ÿ” Enhanced Discovery Tools**: - Project browsing with metadata (description, lead, issue types) - Board filtering by type (Scrum/Kanban), project, and name - Sprint management with state filtering (active, closed, future) - Pagination support across all discovery tools ### ๐Ÿ—๏ธ Technical Improvements - **๐Ÿ“‹ Comprehensive Test Suite**: 540+ tests covering all new functionality - Unit tests for all new handlers and formatters - Integration tests for end-to-end workflows - Mock factories for reliable testing - 100% test pass rate maintained - **๐ŸŽจ Rich Formatting System**: - Specialized formatters for each tool type - Consistent markdown output with action links - Error formatting with helpful suggestions - Progress indicators and status displays - **๐Ÿ”ง Enhanced Error Handling**: - Detailed error messages with solution suggestions - Validation error formatting with field-specific guidance - Network error resilience with retry suggestions - Permission error handling with clear explanations - **๐Ÿ“š Code Quality & Architecture**: - Biome integration for consistent code formatting - Import organization and standardization - TypeScript strict mode compliance - Modular architecture with clear separation of concerns ### ๐Ÿ› ๏ธ Developer Experience - **๐Ÿ“– Comprehensive Documentation**: Updated README with all new tools and examples - **๐Ÿงช Testing Infrastructure**: Enhanced test utilities and mock systems - **โš™๏ธ Build System**: Optimized build process with proper TypeScript compilation - **๐Ÿ” Code Quality**: Automated formatting and linting with Biome ### ๐Ÿ› Bug Fixes - **Import Organization**: Fixed import ordering and standardization across codebase - **Type Safety**: Resolved TypeScript compilation issues - **Code Formatting**: Applied consistent formatting standards - **Test Reliability**: Enhanced test stability and mock accuracy ### ๐Ÿ“ˆ Performance & Reliability - **Optimized API Calls**: Efficient JIRA API usage with proper pagination - **Memory Management**: Improved resource handling in long-running operations - **Error Recovery**: Better error handling and recovery mechanisms - **Validation Performance**: Fast parameter validation with detailed feedback ## [0.3.1] - 2025-06-01 ### Added - **๐Ÿ’ฌ JIRA Issue Comments Retrieval**: New jira_get_issue_comments tool with progressive disclosure parameters, advanced filtering, and rich formatting - **๐ŸŽจ Comments Formatting System**: Structured markdown display with ADF parsing and context-aware formatting ### Improved - **Test Coverage**: Added 37 comprehensive test cases (230 total tests passing) - **Code Organization**: New formatters and handlers following existing patterns ### Technical - **Progressive Disclosure Pattern**: Successfully implemented and documented for reuse - **Architectural Consistency**: Maintained consistency with existing tool patterns ## [0.3.0] - 2025-05-28 ### Added - **๐Ÿ” Advanced Issue Search Functionality** - New `search_jira_issues` tool with hybrid JQL + helper parameter support - Expert mode: Direct JQL query support for advanced users - Beginner mode: User-friendly filters (assignedToMe, project, status, text) - Flexible search options with configurable result limits (1-50, default: 25) - Rich search results formatting with issue previews and navigation links - **๐Ÿ“ Atlassian Document Format (ADF) Parser** - Complete ADF to Markdown conversion for issue descriptions - Support for formatted text (bold, italic, code, strikethrough, links) - Document structure support (headings, paragraphs, lists, blockquotes, code blocks) - Special elements handling (hard breaks, horizontal rules) - Backward compatibility with plain text descriptions - Text extraction utilities for plain text output - **๐ŸŽจ Enhanced Formatting** - Card-based issue display with status icons and metadata - Description previews with intelligent truncation (100 chars) - Improved date formatting and status visualization - Action-oriented navigation links between tools ### Improved - **Issue Details**: Descriptions now properly display formatted content instead of "[object Object]" - **Type Safety**: Enhanced TypeScript definitions for ADF structures and search parameters - **Error Handling**: Better validation and error messages for search parameters - **Code Organization**: Improved modular architecture with dedicated utils and formatters ### Fixed - **Description Parsing**: Resolved issue where complex JIRA descriptions appeared as "[object Object]" - **Search Validation**: Proper parameter validation with clear error messages - **Quote Escaping**: Fixed JQL text search parameter escaping for special characters ### Technical - **Comprehensive Test Suite**: 62 unit tests covering ADF parsing, search functionality, and formatting - **Schema Validation**: Robust Zod schemas for type-safe parameter validation - **Documentation**: Updated README with new features and usage examples - **Code Quality**: Maintained 100% TypeScript strict mode compliance ## [0.2.2] - Previous Release ### Features - Basic JIRA issue retrieval - Assigned issues listing - Local task creation from JIRA issues - MCP server implementation

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Dsazz/mcp-jira'

If you have feedback or need assistance with the MCP directory API, please join our Discord server