| name | description |
|---|---|
atlassian |
Access Jira issues and Confluence pages via Python scripts with OAuth 2.0 authentication. Use when user asks about Jira tickets, issues, bugs, stories, epics, sprints, or Confluence pages, wiki, documentation. Outputs compact YAML to save tokens. Requires one-time OAuth setup. (plugin:maratai-manager@maratai) |
Access Jira and Confluence content via Python scripts. All output is YAML format for minimal token usage.
No prerequisites required - pure Python implementation.
uv run --directory ${CLAUDE_PLUGIN_ROOT}/skills/atlassian scripts/auth.py loginThis opens your browser for Atlassian OAuth consent. No need to create an OAuth app - uses Atlassian's official MCP authentication with automatic client registration.
uv run --directory ${CLAUDE_PLUGIN_ROOT}/skills/atlassian scripts/jira.py get PROJ-123Output includes: key, id, type, status, summary, description, author, assignee, parent, comments, attachments.
uv run --directory ${CLAUDE_PLUGIN_ROOT}/skills/atlassian scripts/jira.py search "project=DEMO AND status='In Progress'"Common JQL examples:
assignee=currentUser()- My assigned issuesproject=PROJ AND sprint in openSprints()- Current sprintreporter=currentUser() AND created >= -7d- My recent issueslabels=urgent AND status!=Done- Urgent incomplete items
uv run --directory ${CLAUDE_PLUGIN_ROOT}/skills/atlassian scripts/jira.py comments PROJ-123# Export to markdown files
uv run --directory ${CLAUDE_PLUGIN_ROOT}/skills/atlassian scripts/jira.py export "project=DEMO" --format markdown --output-dir ./exports/
# Export to stdout (yaml default)
uv run --directory ${CLAUDE_PLUGIN_ROOT}/skills/atlassian scripts/jira.py export "project=DEMO"
# Export to JSON
uv run --directory ${CLAUDE_PLUGIN_ROOT}/skills/atlassian scripts/jira.py export "project=DEMO" --format jsonFormats: yaml (default), json, markdown. Without --output-dir, outputs to stdout.
uv run --directory ${CLAUDE_PLUGIN_ROOT}/skills/atlassian scripts/jira.py projectsuv run --directory ${CLAUDE_PLUGIN_ROOT}/skills/atlassian scripts/jira.py comment PROJ-123 "This is my comment"uv run --directory ${CLAUDE_PLUGIN_ROOT}/skills/atlassian scripts/jira.py transitions PROJ-123uv run --directory ${CLAUDE_PLUGIN_ROOT}/skills/atlassian scripts/jira.py transition PROJ-123 "In Progress"
# Or by transition ID
uv run --directory ${CLAUDE_PLUGIN_ROOT}/skills/atlassian scripts/jira.py transition PROJ-123 --id 21uv run --directory ${CLAUDE_PLUGIN_ROOT}/skills/atlassian scripts/jira.py create PROJ --type Story --summary "My new story"
# With more options
uv run --directory ${CLAUDE_PLUGIN_ROOT}/skills/atlassian scripts/jira.py create PROJ --type Bug --summary "Bug title" --description "Details here" --priority High --labels "bug,urgent"
# With custom fields (for project-specific required fields)
uv run --directory ${CLAUDE_PLUGIN_ROOT}/skills/atlassian scripts/jira.py create PROJ --type Story --summary "My story" --field "Story Points=5" --field "Team=Platform"uv run --directory ${CLAUDE_PLUGIN_ROOT}/skills/atlassian scripts/jira.py edit PROJ-123 --summary "Updated title"
# Update multiple fields
uv run --directory ${CLAUDE_PLUGIN_ROOT}/skills/atlassian scripts/jira.py edit PROJ-123 --summary "New title" --description "New description"
# Update custom fields
uv run --directory ${CLAUDE_PLUGIN_ROOT}/skills/atlassian scripts/jira.py edit PROJ-123 --field "Story Points=8" --field "customfield_10001=value"uv run --directory ${CLAUDE_PLUGIN_ROOT}/skills/atlassian scripts/jira.py assign PROJ-123 <account_id>
# Assign to yourself
uv run --directory ${CLAUDE_PLUGIN_ROOT}/skills/atlassian scripts/jira.py assign PROJ-123 --me
# Unassign
uv run --directory ${CLAUDE_PLUGIN_ROOT}/skills/atlassian scripts/jira.py assign PROJ-123 --unassignuv run --directory ${CLAUDE_PLUGIN_ROOT}/skills/atlassian scripts/jira.py types PROJIssue types vary by project (e.g., Story, Bug, Epic, Task, Experiment).
uv run --directory ${CLAUDE_PLUGIN_ROOT}/skills/atlassian scripts/jira.py fields PROJ --type StoryShows all available fields for an issue type, with required fields listed first. Use this to discover custom fields before creating or editing issues.
uv run --directory ${CLAUDE_PLUGIN_ROOT}/skills/atlassian scripts/jira.py meReturns your account_id (useful for assignments).
uv run --directory ${CLAUDE_PLUGIN_ROOT}/skills/atlassian scripts/jira.py lookup "John Doe"uv run --directory ${CLAUDE_PLUGIN_ROOT}/skills/atlassian scripts/confluence.py get 123456789Output includes: id, title, space, content, author, ancestors, updated.
uv run --directory ${CLAUDE_PLUGIN_ROOT}/skills/atlassian scripts/confluence.py search "type=page AND space=TEAM"Common CQL examples:
type=page AND title~'architecture'- Pages with "architecture" in titlespace=TEAM AND lastModified >= now('-7d')- Recent team pagescreator=currentUser()- My pageslabel='important'- Pages with label
uv run --directory ${CLAUDE_PLUGIN_ROOT}/skills/atlassian scripts/confluence.py children 123456789uv run --directory ${CLAUDE_PLUGIN_ROOT}/skills/atlassian scripts/confluence.py spacesuv run --directory ${CLAUDE_PLUGIN_ROOT}/skills/atlassian scripts/confluence.py ancestors 123456789# Export to markdown files
uv run --directory ${CLAUDE_PLUGIN_ROOT}/skills/atlassian scripts/confluence.py export "space=TEAM" --format markdown --output-dir ./exports/
# Export to stdout (yaml default)
uv run --directory ${CLAUDE_PLUGIN_ROOT}/skills/atlassian scripts/confluence.py export "type=page AND title~'architecture'"
# Export to JSON
uv run --directory ${CLAUDE_PLUGIN_ROOT}/skills/atlassian scripts/confluence.py export "space=TEAM" --format jsonFormats: yaml (default), json, markdown. Without --output-dir, outputs to stdout.
Check if authenticated:
uv run --directory ${CLAUDE_PLUGIN_ROOT}/skills/atlassian scripts/auth.py statusWrite operations (comment, transition, create, edit, assign) require the write:jira-work OAuth scope. If you previously authenticated with read-only permissions, re-run:
uv run --directory ${CLAUDE_PLUGIN_ROOT}/skills/atlassian scripts/auth.py loginissue:
key: PROJ-123
id: "10001"
type: Story
status: In Progress
summary: Implement OAuth flow
description: |
Full description text...
created: "2024-01-15T10:30:00Z"
author:
name: John Doe
account_id: "5f9e8d7c"
assignee:
name: Jane Smith
account_id: "5f9e8d7d"
parent:
key: PROJ-100
summary: "Epic: Auth"
comments:
- author:
name: John Doe
account_id: "5f9e8d7c"
created: "2024-01-15T11:00:00Z"
body: "Started work"
attachments:
- filename: screenshot.png
size: 45678page:
id: "123456789"
title: Architecture Overview
space:
key: TEAM
name: Team Space
content: |
## Architecture
This document describes...
ancestors:
- id: "123456780"
title: Documentation
author:
name: Alice
account_id: "5f9e8d7e"
updated: "2024-01-18T15:30:00Z"transitions:
issue_key: PROJ-123
current_status: To Do
total: 2
items:
- id: "21"
name: Start Progress
to_status: In Progress
- id: "31"
name: Done
to_status: Donecomment:
issue_key: PROJ-123
id: "10567"
author:
name: John Doe
account_id: "5f9e8d7c"
created: "2024-01-15T10:30:00Z"created:
key: PROJ-456
id: "10234"
type: Story
summary: My new storytypes:
project: PROJ
total: 5
items:
- id: "10000"
name: Epic
subtask: false
- id: "10037"
name: Story
subtask: false
- id: "10166"
name: Bug
subtask: falsefields:
project: PROJ
issue_type: Story
total: 12
items:
- name: Summary
key: summary
required: true
type: string
- name: Story Points
key: customfield_10001
required: true
type: number
- name: Description
key: description
required: false
type: string
- name: Labels
key: labels
required: false
type: arrayedited:
key: PROJ-123
fields_updated:
- summary
- descriptionuser:
account_id: "712020:abc123..."
name: John Doe
email: john.doe@example.comRun the login command shown in Setup above.
Run the login command again to re-authenticate. OAuth tokens auto-refresh, but refresh tokens can expire after extended periods of inactivity.
Re-authenticate by running the login command shown in Setup above.
Your OAuth token may lack write permissions. Re-authenticate to get new permissions:
uv run --directory ${CLAUDE_PLUGIN_ROOT}/skills/atlassian scripts/auth.py loginThe target status is not available from the current issue status. Use transitions command to see available options.
Projects often have custom required fields (e.g., Story Points, Team). To discover required fields:
uv run --directory ${CLAUDE_PLUGIN_ROOT}/skills/atlassian scripts/jira.py fields PROJ --type StoryThen add the required fields using --field:
uv run --directory ${CLAUDE_PLUGIN_ROOT}/skills/atlassian scripts/jira.py create PROJ --type Story --summary "Title" --field "customfield_10001=5"