# Send Clawhub Jira Pat Skill to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "clawhub-jira-pat-skill",
    "name": "Clawhub Jira Pat Skill",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/dejanb/clawhub-jira-pat-skill",
    "canonicalUrl": "https://clawhub.ai/dejanb/clawhub-jira-pat-skill",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/clawhub-jira-pat-skill",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=clawhub-jira-pat-skill",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "_meta.json",
      "scripts/jira-pat.sh"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/clawhub-jira-pat-skill"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/clawhub-jira-pat-skill",
    "downloadUrl": "https://openagent3.xyz/downloads/clawhub-jira-pat-skill",
    "agentUrl": "https://openagent3.xyz/skills/clawhub-jira-pat-skill/agent",
    "manifestUrl": "https://openagent3.xyz/skills/clawhub-jira-pat-skill/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/clawhub-jira-pat-skill/agent.md"
  }
}
```
## Documentation

### Jira PAT Skill

Manage Jira issues on self-hosted/enterprise Jira instances using Personal Access Tokens (PAT). This skill is designed for environments where Basic Auth doesn't work due to SSO/SAML authentication.

### When to Use This Skill

Use this skill when working with:

Self-hosted Jira instances (e.g., Red Hat, enterprise deployments)
Jira instances with SSO/SAML authentication
Environments where jira-cli or Basic Auth fails

Note: For Atlassian Cloud with email + API token auth, use the clawdbot-jira-skill instead.

### Prerequisites

Personal Access Token (PAT): Create one in Jira:

Go to your Jira profile → Personal Access Tokens
Create a new token with appropriate permissions
Store it in environment variable JIRA_PAT



Jira Base URL: Your Jira instance URL in JIRA_URL

### Environment Variables

export JIRA_PAT="your-personal-access-token"
export JIRA_URL="https://issues.example.com"

### Tools

This skill uses curl and jq for all operations.

### Get Issue Details

Fetch full details of a Jira issue:

curl -s -H "Authorization: Bearer $JIRA_PAT" \\
  "$JIRA_URL/rest/api/2/issue/PROJECT-123" | jq

Get specific fields only:

curl -s -H "Authorization: Bearer $JIRA_PAT" \\
  "$JIRA_URL/rest/api/2/issue/PROJECT-123?fields=summary,status,description" | jq

### Search Issues (JQL)

# Find child issues of an epic
curl -s -H "Authorization: Bearer $JIRA_PAT" \\
  "$JIRA_URL/rest/api/2/search?jql=parent=EPIC-123" | jq

# Complex queries (URL-encoded)
curl -s -H "Authorization: Bearer $JIRA_PAT" \\
  "$JIRA_URL/rest/api/2/search?jql=project%3DPROJ%20AND%20status%3DOpen" | jq

Common JQL patterns:

parent=EPIC-123 - Child issues of an epic
project=PROJ AND status=Open - Open issues in project
assignee=currentUser() - Your assigned issues
labels=security - Issues with specific label
updated >= -7d - Recently updated

### Get Available Transitions

Before changing status, query available transitions:

curl -s -H "Authorization: Bearer $JIRA_PAT" \\
  "$JIRA_URL/rest/api/2/issue/PROJECT-123/transitions" | jq '.transitions[] | {id, name}'

### Transition (Change Status)

Close an issue with a comment:

curl -s -X POST \\
  -H "Authorization: Bearer $JIRA_PAT" \\
  -H "Content-Type: application/json" \\
  -d '{
    "transition": {"id": "61"},
    "update": {
      "comment": [{"add": {"body": "Closed via API"}}]
    }
  }' \\
  "$JIRA_URL/rest/api/2/issue/PROJECT-123/transitions"

### Add a Comment

curl -s -X POST \\
  -H "Authorization: Bearer $JIRA_PAT" \\
  -H "Content-Type: application/json" \\
  -d '{"body": "Comment added via API."}' \\
  "$JIRA_URL/rest/api/2/issue/PROJECT-123/comment"

### Update Issue Fields

curl -s -X PUT \\
  -H "Authorization: Bearer $JIRA_PAT" \\
  -H "Content-Type: application/json" \\
  -d '{
    "fields": {
      "summary": "Updated summary",
      "labels": ["api", "automated"]
    }
  }' \\
  "$JIRA_URL/rest/api/2/issue/PROJECT-123"

### Create an Issue

curl -s -X POST \\
  -H "Authorization: Bearer $JIRA_PAT" \\
  -H "Content-Type: application/json" \\
  -d '{
    "fields": {
      "project": {"key": "PROJ"},
      "summary": "New issue via API",
      "description": "Issue description",
      "issuetype": {"name": "Task"},
      "parent": {"key": "EPIC-123"}
    }
  }' \\
  "$JIRA_URL/rest/api/2/issue"

### Useful jq Filters

# Summary and status
jq '{key: .key, summary: .fields.summary, status: .fields.status.name}'

# List search results
jq '.issues[] | {key: .key, summary: .fields.summary, status: .fields.status.name}'

# Issue links
jq '.fields.issuelinks[] | {type: .type.name, key: (.inwardIssue // .outwardIssue).key}'

### Troubleshooting

ErrorCauseSolution401 UnauthorizedInvalid/expired PATRegenerate token, check Bearer format404 Not FoundIssue doesn't exist or no accessVerify issue key and permissions400 Bad Request on transitionInvalid transition IDQuery available transitions first

### Comparison with Basic Auth Skills

This skill uses Bearer token authentication (Authorization: Bearer <PAT>), which works with self-hosted Jira instances using SSO/SAML. For Atlassian Cloud with email + API token, use skills that implement Basic Auth instead.
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: dejanb
- Version: 0.0.1
## Source health
- Status: healthy
- Source download looks usable.
- Yavira can redirect you to the upstream package for this source.
- Health scope: source
- Reason: direct_download_ok
- Checked at: 2026-04-30T16:55:25.780Z
- Expires at: 2026-05-07T16:55:25.780Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/clawhub-jira-pat-skill)
- [Send to Agent page](https://openagent3.xyz/skills/clawhub-jira-pat-skill/agent)
- [JSON manifest](https://openagent3.xyz/skills/clawhub-jira-pat-skill/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/clawhub-jira-pat-skill/agent.md)
- [Download page](https://openagent3.xyz/downloads/clawhub-jira-pat-skill)