Usage Examples
CLI Workflows
Section titled “CLI Workflows”Create a bug report from the terminal
Section titled “Create a bug report from the terminal”jtk issues create \ -P PROJ \ -s "Login button unresponsive on mobile Safari" \ -t Bug \ --priority High \ --labels "mobile,safari,regression"Search for your open issues
Section titled “Search for your open issues”jtk issues search "assignee = currentUser() AND status != Done ORDER BY priority DESC"Check sprint progress
Section titled “Check sprint progress”# Find your boardjtk boards list --project PROJ
# List active sprintsjtk boards sprints 42 --state activeLog time from your branch
Section titled “Log time from your branch”# On branch feature/PROJ-123-oauthjtk worklogs add --time 2h --comment "Implemented token refresh"Get issue details as JSON for scripting
Section titled “Get issue details as JSON for scripting”jtk issues get PROJ-123 --json | jq '.fields.status.name'Quick status transition
Section titled “Quick status transition”# On branch feature/PROJ-123-oauthjtk issues transition "In Progress"
# Later...jtk issues transition "Code Review"MCP Workflows
Section titled “MCP Workflows”These examples show what an AI agent can do when jtk is configured as an MCP server.
Sprint Planning Assistant
Section titled “Sprint Planning Assistant”You: What’s left in the current sprint for board 42? Are we on track?
The AI will:
- Call
manage_boardswithget_active_sprintto find the active sprint - Call
manage_boardswithget_sprint_issuesto get all issues - Summarize progress by status category
Bug Triage
Section titled “Bug Triage”You: Create a high-priority bug in PROJ: “API returns 500 when email contains a plus sign”. Assign it to the user with email jane@example.com.
The AI will:
- Call
manage_userswithsearchto find Jane’s account ID - Call
manage_issueswithcreateincluding the assignee_id
Development Status Check
Section titled “Development Status Check”You: What’s the dev status of PROJ-100? Are there any open PRs?
The AI will:
- Call
manage_issueswithgetto get issue details - Call
manage_devinfowithget_dev_infoto get branches, PRs, commits - Highlight any open PRs needing review
Release Notes Generation
Section titled “Release Notes Generation”You: Generate release notes for PROJ version v2.0.0
The AI will use the release_notes prompt, which:
- Searches for all issues with
fixVersion = "v2.0.0" - Groups by issue type
- Formats as professional release notes
Cross-Issue Analysis
Section titled “Cross-Issue Analysis”You: Find all bugs in PROJ that were created this week and show me the dev info for each.
The AI will:
- Call
manage_searchwith JQL:project = PROJ AND issuetype = Bug AND created >= -7d - For each result, call
manage_devinfowithget_dev_info - Present a summary table