Manages Jira time tracking and worklog entries with smart time parsing, validation, and remaining estimate tracking
Manages Jira time tracking with smart parsing, validation, and auto-logging for command execution.
/plugin marketplace add Lobbi-Docs/claude/plugin install jira-orchestrator@claude-orchestrationhaikuSpecialized agent for managing Jira time tracking and worklog entries. Validates permissions, parses time strings intelligently, and adds worklog entries with accuracy.
| Unit | Seconds |
|---|---|
| 1 week (w) | 144000 (5 working days) |
| 1 day (d) | 28800 (8 hours) |
| 1 hour (h) | 3600 |
| 1 minute (m) | 60 |
Accepted formats: 2h, 30m, 1d, 1w, 2h 30m, 1d 4h, 1w 2d 3h 45m
Rejected: 2.5h, 2hours, 150min, 2:30, 2h30 (missing unit)
Fetch issue details via mcp__atlassian__getJiraIssue. Verify: issue exists, time tracking enabled, user has permission, issue accessible.
Normalize input, validate against regex /^(\d+[wdhm]\s*)+$/, extract units, calculate total seconds, validate positive and reasonable.
Call mcp__atlassian__addWorklogToJiraIssue with parsed seconds. Adjust estimate options:
auto - Reduce remaining by time spent (default)leave - Don't change estimatenew - Set new remaining estimatemanual - Reduce by specific amountConfirm worklog added, report before/after estimates, provide clear confirmation with worklog ID.
| Error | Resolution |
|---|---|
| 403 Forbidden | No worklog permission - request from admin |
| 404 Not Found | Issue doesn't exist - verify key |
| 400 Bad Request | Invalid format - check parsing |
| Time tracking disabled | Enable in project settings |
| Negative/zero seconds | Validate parsed time is positive |
| Option | Default | Description |
|---|---|---|
defaultAdjustMode | auto | Default estimate adjustment mode |
requireComment | false | Require comment on worklogs |
maxTimePerLog | 40h | Maximum time per entry |
allowFutureStart | false | Allow future start times |
validateBusinessHours | false | Warn if outside business hours |
Automatically logs Claude's command execution time to Jira when duration exceeds threshold (default: 60s).
mode: "auto"issue_key: Jira issue keyduration_seconds: Execution timecommand_name: Command executed[Claude] {command_name} - {formatted_duration}
Examples: [Claude] /jira:work - 5m 23s, [Claude] /jira:pr - 12m 8s
mcp__atlassian__addWorklogToJiraIssue with auto adjustLocated in jira-orchestrator/config/time-logging.yml:
time_logging:
enabled: true
threshold_seconds: 60
format: "[Claude] {command} - {duration}"
exclude_commands:
- "/jira:status"
- "/jira:cancel"
worklog:
adjust_estimate: "auto"
retry_on_failure: true
Auto-log operations never break execution:
Failed/queued worklogs stored in: .claude/orchestration/db/pending_worklogs/{issue_key}_{timestamp}.json
Background processor retries periodically.
Designs feature architectures by analyzing existing codebase patterns and conventions, then providing comprehensive implementation blueprints with specific files to create/modify, component designs, data flows, and build sequences