Skip to content

jtk issues

The issues command group manages Jira issues. Aliases: issue, i.

Get details for a specific issue. Auto-detects from git branch if omitted.

Terminal window
jtk issues get PROJ-123
jtk issues get # auto-detect from branch
jtk issues get PROJ-123 --json

Example output:

PROJ-123: Fix login button on mobile
Status: In Progress
Type: Bug
Priority: High
Assignee: Jane Doe
Reporter: Bob Smith
Project: PROJ — My Project
Labels: mobile, urgent
Sprint: Sprint 15
Description: The login button is unresponsive on...
Created: 2025-01-10 09:30
Updated: 2025-01-14 16:45

Search issues using JQL.

Terminal window
jtk issues search "project = PROJ AND status = 'In Progress'"
jtk issues search "assignee = currentUser() ORDER BY updated DESC"
jtk issues search "sprint in openSprints()" --max 50

Flags:

FlagDefaultDescription
--max20Maximum results to return

Example output:

Key Summary Status Type Priority Assignee
PROJ-123 Fix login button on mobile In Progress Bug High Jane Doe
PROJ-124 Add OAuth 2.0 support In Progress Story Medium Bob Smith
PROJ-125 Update API documentation To Do Task Low Unassigned
Showing 3 of 3 results

Create a new issue.

Terminal window
jtk issues create -P PROJ -s "Fix broken pagination" -t Bug
jtk issues create -P PROJ -s "Add dark mode" -t Story -d "Implement dark mode toggle" --priority High
jtk issues create -P PROJ -s "Subtask item" --parent PROJ-100 --labels "backend,api"

Flags:

FlagShortDefaultDescription
--project-PrequiredProject key
--summary-srequiredIssue summary/title
--type-tTaskIssue type: Story, Bug, Task, Epic, Sub-task
--description-dIssue description
--priorityPriority: Highest, High, Medium, Low, Lowest
--assigneeAssignee account ID
--parentParent issue key (for sub-tasks)
--labelsComma-separated labels

Transition an issue to a new state. Auto-detects issue key from git branch.

Terminal window
jtk issues transition PROJ-123 "In Progress"
jtk issues transition "Done" # auto-detect issue from branch

Move an issue to another project. Auto-detects issue key from git branch.

Terminal window
jtk issues move PROJ-123 --target BACKEND
jtk issues move PROJ-123 --target BACKEND --type Bug
jtk issues move --target BACKEND # auto-detect issue from branch

Flags:

FlagDefaultDescription
--targetrequiredTarget project key
--typecurrent typeTarget issue type name

Add a comment to an issue. Auto-detects issue key from git branch.

Terminal window
jtk issues comment PROJ-123 "Fixed in commit abc123"
jtk issues comment "Starting work on this" # auto-detect issue from branch