Install
$ agentstack add skill-abhatt-rh-redhat-docs-agent-tools-docs-workflow-create-jira ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ● Environment & secrets Used
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
Create JIRA Step
Step skill for the docs-orchestrator pipeline. Follows the step skill contract: parse args → do work → write output.
Unlike other step skills, this skill does not dispatch an agent. It runs scripts/create-jira-ticket.sh directly.
Output: null (produces a JIRA URL, not a file)
Arguments
$1— Parent JIRA ticket ID (required)--base-path— Base output path (e.g.,.agent_workspace/proj-123)--project— Target JIRA project key for the new ticket (required)
Input
/planning/plan.md
Environment
Requires JIRA_API_TOKEN (or the backward-compatible alias JIRA_AUTH_TOKEN) and JIRA_EMAIL in the environment. create-jira-ticket.sh sources ~/.env then /.env, where the project root is resolved from the PLAN_FILE location.
Execution
Run the create-jira-ticket script:
bash ${CLAUDE_SKILL_DIR}/scripts/create-jira-ticket.sh "$TICKET" "$PROJECT" "${BASE_PATH}/planning/plan.md"
The script handles all steps:
- Check for existing link — if a "Document" link already exists on the parent ticket, exits early
- Check project visibility — unauthenticated probe to determine public vs private
- Extract description — pulls JTBD sections from the plan, appends dated footer
- Convert to JIRA wiki markup — calls
scripts/md2wiki.pyfor markdown → wiki conversion - Create JIRA ticket — POST to JIRA REST API with
[ccs] Docs -prefix - Link to parent — creates a "Document" issue link (singular, not "Documents")
- Attach plan — attaches the full plan file (private projects only)
The script prints the JIRA URL on success (e.g., https://redhat.atlassian.net/browse/DOCS-456), or a skip message if a linked ticket already exists.
Write step-result.json
After the script completes, write the sidecar to ${BASE_PATH}/create-jira/step-result.json:
mkdir -p "${BASE_PATH}/create-jira"
If the script created a new ticket (output contains a JIRA URL like https://...atlassian.net/browse/DOCS-456):
{
"schema_version": 1,
"step": "create-jira",
"ticket": "",
"completed_at": "",
"jira_url": "https://redhat.atlassian.net/browse/DOCS-456",
"jira_key": "DOCS-456",
"action": "created",
"skipped": false,
"skip_reason": null
}
If the script found an existing linked ticket (output contains "already exists"):
{
"schema_version": 1,
"step": "create-jira",
"ticket": "",
"completed_at": "",
"jira_url": null,
"jira_key": "",
"action": "found_existing",
"skipped": false,
"skip_reason": null
}
Extract jira_key and jira_url from the script's stdout. If the script fails (non-zero exit), write the sidecar with action: "skipped", skipped: true, and skip_reason: "create_failed".
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: abhatt-rh
- Source: abhatt-rh/redhat-docs-agent-tools
- License: Apache-2.0
- Homepage: https://redhat-documentation.github.io/redhat-docs-agent-tools/
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.