atlassian-integration
When reading or writing to Jira tickets or Confluence pages via MCP tools. Use before any Jira transition, ticket creation, or Confluence page update to avoid common failure modes.
- License 许可
- MIT
- 最近更新
- 2026-11-07
- Stars
- ★ 13
- Forks
- 3
01 前言 Front Matter
- name
- atlassian-integration
- license
- MIT
- description
- When reading or writing to Jira tickets or Confluence pages via MCP tools. Use before any Jira transition, ticket creation, or Confluence page update to avoid common failure modes.
03 SKILL.md 正文
Atlassian Integration
Purpose: Use Atlassian MCP tools correctly. Four known failure modes — this skill blocks all four.
When to use
Any workflow that reads or writes Jira or Confluence via MCP. This includes:
- Reading a ticket to understand requirements
- Transitioning ticket status
- Creating new tickets (tech debt, follow-ups)
- Publishing ADRs, postmortems, specs to Confluence
- Commenting on tickets with PR links or status
Prerequisites
- Atlassian MCP connected in your AI tool. Two options:
- Rovo Cloud (official, OAuth) — tool names start with
getJiraIssue,createJiraIssue, etc. - sooperset self-hosted (for Data Center / DC) — tool names start with
jira_get_issue,jira_create_issue, etc.
- Rovo Cloud (official, OAuth) — tool names start with
- This skill references actions abstractly ("the get-issue tool"). Agent uses whichever is available.
- See
docs/ATLASSIAN-SETUP.mdfor per-tool MCP setup.
Step 1 — Before transitioning a ticket
- [ ] Call the list-transitions tool for the specific ticket (
getTransitionsForJiraIssueon Rovo, equivalent on sooperset). - [ ] Match the desired event to the actual transition name in the response. Team workflows differ — "In Progress" on one project is "Started" on another.
- [ ] Only then call the transition tool with the valid transition ID.
Why: hardcoded status names fail on custom workflows. Transitions are workflow-specific, not global.
Step 2 — Before creating a ticket
- [ ] Call the issue type metadata tool (
getJiraIssueTypeMetaWithFieldson Rovo) for the project + issue type. - [ ] Note which fields are required (often includes custom fields: epic link, components, fix version, etc.).
- [ ] Populate all required fields per
.memory/JIRA_WORKFLOW.mdconventions. - [ ] Then call the create-issue tool.
Why: required custom fields vary per project. Skipping this step gives cryptic "customfield_12345 is required" errors.
Step 3 — When reading Confluence content
- [ ] Expect body format to vary: Rovo returns Markdown; sooperset may return wiki markup or ADF.
- [ ] If the content looks structured (tables, code blocks), validate the format before piping into agent context.
- [ ] For large pages (>50KB), consider using search tools (
searchConfluenceUsingCql,search) to find the specific section rather than loading the whole page.
Step 4 — When updating Confluence pages
- [ ]
updateConfluencePagesilently truncates content >5KB. Verified in production use. - [ ] For large additions, do one of:
- Use
createConfluencePagefor a new child page instead - Use the comment tools (
createConfluenceFooterComment,createConfluenceInlineComment) for substantial additions - Split content across multiple smaller pages
- Use
- [ ] Always verify after update by fetching the page and checking size.
Step 5 — Rate limits
- [ ] Honor
Retry-Afterresponse headers. - [ ] Exponential backoff with jitter: 2s → 4s → 8s → 16s, multiplier 0.7-1.3.
- [ ] Cap retries at 4.
- [ ] Only retry idempotent operations. Never immediately retry per-issue-write 429s (Atlassian's per-issue bucket unblocks slowly).
- [ ] Cache metadata (issue types, transitions, account ID lookups) — they change rarely.
Common Rationalizations
| Rationalization | Why it's wrong | Do this instead |
|---|---|---|
| "Transitions are the same across projects, I'll just use 'In Progress'" | Custom workflows rename statuses. 'In Progress' may not exist. | Always call the list-transitions tool first. |
| "I know the required fields, I'll skip the metadata call" | Projects add required custom fields without notice. | Always call metadata before create-issue. |
| "Confluence page should fit in 5KB" | Agent-generated content easily exceeds 5KB with tables or logs. Silent truncation loses content. | Use comments or child pages for large content. |
| "I'll just retry the 429" | Per-issue write 429s unblock slowly; immediate retry makes it worse. | Honor Retry-After, long backoff. |
| "The tool names differ — I'll hardcode Rovo names" | Teams on Data Center use sooperset with different names. | Reference actions abstractly; adapt to available tools. |
Gate: Before any Jira write or Confluence update, verify the relevant pre-action check in Steps 1–4 has been performed.
04 同仓库更多 Skills
setup-project
When setting up agentskel on a new project that does not yet have .memory/ or .agents/. Use when the user says "set up agentskel", "install agentskel", or "add agent memory to this project".
using-git-worktrees
When running long feature implementations, parallel branch work, or build/test scripts that must not interfere with the user's active working directory. Creates isolated execution environments via git worktrees in sibling directories.
test-engineer
When designing test strategy, analysing coverage, or writing tests outside the TDD cycle. Also use when working with CI pipelines or validating changes end-to-end.
test-driven-development
When implementing logic changes during develop-feature or implement-task. Use the Red-Green-Refactor cycle to write a failing test before any production code.
task-planner
When decomposing a feature or spec into implementable subtasks, estimating scope, or orchestrating multi-step work across subagents.
systematic-debugger
When applying debugging techniques during any investigation — root cause tracing, bisect, defense-in-depth. Enforces hypothesis-first analysis and prohibits guess-and-check changes. Use standalone or inside the debug-issue workflow.