jira-setup

jira-setup is a command for Claude Code from mumerfarooq-con/asdlc-tools. It costs 24 tokens per session (1,340 once invoked), scanned A, original, MIT.

A setup command for configuring Jira and Bitbucket access for the related Jira workflow. Jira tracks project work, while Bitbucket hosts source code and related development activity.

In plain words
What is it for?
Use it to initialise or check Jira settings, create missing access-rule and known-trap document templates, and verify Jira and Bitbucket test calls.
Why use it?
It creates the needed repository configuration, checks required environment variables, and tests access without putting secret token values in files.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the asdlc plugin — 7 commands, 17 agents, 2 hooks shipped together

Good fit Use it to initialise or check Jira settings, create missing access-rule and known-trap document templates, and verify Jira and Bitbucket test calls.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add mumerfarooq-con/asdlc-tools
Claude Code
/plugin install asdlc

Made for: Claude Code.

Or install asdlc, the plugin that ships this one along with the rest of its 7 commands, 17 agents, 2 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for jira-setup

README.md
[![agentmods](https://agentmods.dev/badge/commands/mumerfarooq-con/asdlc-tools/jira-setup/github.svg)](https://agentmods.dev/commands/mumerfarooq-con/asdlc-tools/jira-setup)
Your own site
<a href="https://agentmods.dev/commands/mumerfarooq-con/asdlc-tools/jira-setup"><img src="https://agentmods.dev/badge/commands/mumerfarooq-con/asdlc-tools/jira-setup/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for jira-setup

Your own site · 80×15
<a href="https://agentmods.dev/commands/mumerfarooq-con/asdlc-tools/jira-setup"><img src="https://agentmods.dev/badge/commands/mumerfarooq-con/asdlc-tools/jira-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,340 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00024 $0.01340
Opus 5.5 $0.00010 $0.00536
Sonnet 5.5 $0.00005 $0.00268
Haiku 4.5 $0.00002 $0.00134

Measured today against content hash e7239626cd72, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

jira-setup scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/asdlc/commands/jira-setup.md · 59 lines

How it starts

The opening of the file, as written. The whole thing — 59 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/asdlc:jira-setup

Prepare this repo (run from its root) for /asdlc:jira-run. Scripts live in ${CLAUDE_PLUGIN_ROOT}/jira/scripts/; call them by that full path. Never print, echo or write a token value: tokens stay in env vars (JIRA_EMAIL, JIRA_TOKEN, BITBUCKET_TOKEN, and BITBUCKET_EMAIL with BB_AUTH=basic), never in a file. Jira tokens are optional when the Atlassian MCP connector does the Jira work (JIRA_TRANSPORT=mcp, or auto with no token).

  1. Config. Run ${CLAUDE_PLUGIN_ROOT}/jira/scripts/jira-setup.sh init $ARGUMENTS.
    • Exit 2 naming a git worktree → relay it and STOP: setup belongs in the main checkout.
    • It writes .asdlc/jira.conf from the plugin template, pre-filling values from the env vars older in-repo setups used (JIRA_URL, JIRA_PROJECT, BITBUCKET_*...). An existing config is left alone unless --force was passed.
    • If it reports keys still empty, ask me for each value, then set them with Edit in .asdlc/jira.conf. Don't guess values.
  2. Docs. Run ${CLAUDE_PLUGIN_ROOT}/jira/scripts/jira-setup.sh docs. It creates the access-rules and known-traps files (paths from the config) from templates if they're missing. Filling them is a human task; don't add entries.
  3. Check. Run ${CLAUDE_PLUGIN_ROOT}/jira/scripts/jira-setup.sh check. It verifies the config, that the token env vars are set, makes one Jira and one Bitbucket test call, and checks every configured status exists in the project's workflow.
    • A FAIL about a value in the config: show me the line, ask for the right value, fix it, re-run.
    • A FAIL about an env var or auth: tell me which variable to set in my shell profile (e.g. export JIRA_TOKEN=... in ~/.zshrc), then STOP — you can't fix that for me.
    • REVIEW_QUEUE_MAX (default 3, 0 turns the cap off) is how many of the plugin's own PRs may wait for a human review before /asdlc:jira-run stops executing. Tell me the value in effect; change it only if I ask.
    • warn lines: relay them; they don't block. A missing STATUS_NEEDS_INFO needs a Jira admin.
    • With JIRA_TRANSPORT=mcp, or auto and no Jira token, check skips the Jira REST calls and warns what is lost (images, watchers, sprints, the status-name check, the REST fallback for truncated comment threads). Do step 3b then. With BB_TRANSPORT=mcp it needs ASDLC_BB_MCP_SERVER (and a profile) in my shell environment; never put a server name in the config. 3b. MCP step (only when check said the Jira REST calls were skipped). Read-only Atlassian MCP calls, nothing else; never create, edit, comment, transition or log work. Get the server name from ${CLAUDE_PLUGIN_ROOT}/jira/scripts/jira-context.sh transport (mcp_server=); the tools are mcp__<server>__<tool>. If a tool is not in your tool list, load it with ToolSearch first.
    • Tool present. mcp__<server>__getJiraIssue and searchJiraIssuesUsingJql exist. If not: tell me to connect the Atlassian MCP (/mcp) or set ASDLC_JIRA_MCP_SERVER to its name, then STOP.
    • Signed in. Call atlassianUserInfo. Report only "signed in" (or that it failed). Never print or write the name, email or account id it returns, and never put them in a file.
    • Project. Call searchJiraIssuesUsingJql with jql: project = <JIRA_PROJECT_KEY>, maxResults: 1, fields: ["summary"], cloudId = the host of JIRA_BASE_URL. Report only whether it found more than 0 tickets. 0 means a wrong key or no access: show me the key and ask.
    • Statuses. For each distinct STATUS_* value (STATUS_DEFAULT is a list), run the same query with AND status = "<name>". Say a status with 0 results is "unverified": over MCP an unknown status matches nothing without an error, so 0 may just mean no ticket is in it yet. Don't change the config on that alone.
  4. Wrap up. Suggest adding these lines to .gitignore (plans and PRDs hold ticket text and must never be staged by a run): plans/.jira-run.lock, plans/*.plan.md, plans/*/ (impact.md can quote code), plans/*.plan.prev.md (an old plan), prds/. A warn from check about them means they're missing. Also suggest committing .asdlc/jira.conf plus the two docs files. Then show the final config (${CLAUDE_PLUGIN_ROOT}/jira/scripts/jira-conf.sh) and say the repo is ready for /asdlc:jira-run.

Read the full file on GitHub · 59 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today Changed · +1 lines e7239626cd72
  2. 1mo ago Changed · +3 lines b57a40599836
  3. 1mo ago Changed · +19 lines 7753f9e3b5c9
  4. 1mo ago Changed · +1 lines c1261eebc07c
  5. 1mo ago First seen · 35 lines · 24 tokens per session scan A 03735f05f54e

Subscribe to this mod's changes

jira-setup is a command published in the GitHub repository mumerfarooq-con/asdlc-tools (4 stars, last pushed today), licensed MIT. It adds 24 tokens to every session and 1,340 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-09.

Related

jira-setup compared with commands from other repositories

jira-setup next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
jira-setupmumerfarooq-con/asdlc-toolsCommand4todayMITA24Claude Code
releaseavelikiy/great_ctoCommand11716d agoMITA47Claude Code
rfcavelikiy/great_ctoCommand11716d agoMITA24Claude Code
exceptionavelikiy/great_ctoCommand11716d agoMITA47Claude Code
createrube-de/cc-skillsCommand112d agoMITA14Claude Code
bugfixrube-de/cc-skillsCommand112d agoMITA60Claude Code
developrube-de/cc-skillsCommand112d agoMITA11Claude Code