agentleFS
roerohanroerohan/skills/jira-tool/SKILL.md

jira-tool

Skill29 starsChanged 7 months agoMITView on GitHub

Create, update, transition, and manage Jira tickets. Use when working with Jira issues, tracking work, or automating ticket workflows.

The file

Files
SKILL.md

Jira Tool

CLI for Jira operations via Cloudflare Access authentication.

Quick Reference

TaskCommand
Create ticketscripts/jira-tool.sh create -p PROJECT -s "Summary" [-t Type] [-d "Desc"] [-l labels]
Get ticketscripts/jira-tool.sh get ISSUE-KEY
Update ticketscripts/jira-tool.sh update ISSUE-KEY [-s "Summary"] [-d "Desc"] [-a user]
Add commentscripts/jira-tool.sh comment ISSUE-KEY "Comment body"
Transitionscripts/jira-tool.sh transition ISSUE-KEY [STATUS]
Close ticketscripts/jira-tool.sh close ISSUE-KEY
Assignscripts/jira-tool.sh assign ISSUE-KEY [username]
Searchscripts/jira-tool.sh search "JQL query" [max]
Auth statusscripts/jira-tool.sh status

Authentication

Auth is automatic via cloudflared. On first use or token expiry:

  • Browser opens for Cloudflare Access login
  • Token valid 24h

Check status: scripts/jira-tool.sh status

Commands

Create

scripts/jira-tool.sh create \
  -p PROJECT \
  -s "Fix authentication bug" \
  -t Bug \
  -d "Detailed description" \
  -l "urgent,backend" \
  --priority High \
  -a username

Required: -p (project), -s (summary) Optional: -t (type, default: Task), -d (description), -l (labels), --priority, -a (assignee), --parent (for Sub-task), --epic (link to epic)

Sub-tasks

# Create a sub-task under an existing issue
scripts/jira-tool.sh create -p PROJ -s "Subtask summary" -t Sub-task --parent PROJ-123

Link to Epic

# Create task linked to an epic
scripts/jira-tool.sh create -p PROJ -s "Task summary" --epic PROJ-100

Note: Assignee uses Jira username (not email). Find via search on existing tickets.

Get

scripts/jira-tool.sh get PROJ-123

Returns JSON with summary, status, assignee, priority, description, labels.

Update

scripts/jira-tool.sh update PROJ-123 -s "New summary" -d "New desc" -a newuser

Comment

scripts/jira-tool.sh comment PROJ-123 "Fixed in commit abc123"

Transition

List available transitions:

scripts/jira-tool.sh transition PROJ-123

Transition to status:

scripts/jira-tool.sh transition PROJ-123 "In Progress"

Close

Tries common close statuses (Done, Closed, Resolved, Complete):

scripts/jira-tool.sh close PROJ-123

Assign

scripts/jira-tool.sh assign PROJ-123 username   # assign
scripts/jira-tool.sh assign PROJ-123 -1         # unassign

Search

scripts/jira-tool.sh search "project = DEVTOOLS AND status = Open" 50

Delete

scripts/jira-tool.sh delete PROJ-123

Common JQL Queries

QueryJQL
My open ticketsassignee = currentUser() AND status != Done
Project backlogproject = PROJ AND status = "To Do"
Recently updatedproject = PROJ AND updated >= -7d
High prioritypriority in (High, Highest) AND status != Done

Output

Most commands return JSON. Parse with jq:

scripts/jira-tool.sh get PROJ-123 | jq '.fields.status.name'
scripts/jira-tool.sh search "assignee = currentUser()" | jq '.issues[].key'

Typical Workflow

# Create and start work
scripts/jira-tool.sh create -p PROJ -s "Implement feature X" -t Task
scripts/jira-tool.sh transition PROJ-456 "In Progress"

# Update progress
scripts/jira-tool.sh comment PROJ-456 "Initial implementation done"

# Complete
scripts/jira-tool.sh close PROJ-456

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.