mcpField
J
jira-automation

jira-automation

github.com/sickn33Productivity48.8k86 installsUpdated today
Repository

About jira-automation

jira-automation is a skill for automating Jira operations through Composio's Jira toolkit via Rube MCP. It covers issue searches and edits, projects, sprints, boards, comments, and user or role operations, with connection and authorization checks.

Key features

  1. 01Search issues with JQL
  2. 02Create, edit, and assign issues
  3. 03Manage boards and sprints
  4. 04View and add issue comments
  5. 05Find users and inspect project roles
  6. 06Connection and authorization checks

Use cases

  1. 01Find issues matching project and status criteria
  2. 02Create or update Jira tickets
  3. 03Move issues into a sprint or create one
  4. 04Add an authorized comment to an issue

MCP support

It uses Rube MCP to access Composio's Jira toolkit. The guide requires checking current tool schemas and confirming an active Jira connection before operations.

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/sickn33/agentic-awesome-skills --skill jira-automation

After installing, type/jira-automationin Claude Code to confirm it loaded.

Details

From the project README

Jira Automation via Rube MCP

Automate Jira operations through Composio's Jira toolkit via Rube MCP.

Prerequisites

  • Rube MCP must be connected (RUBE_SEARCH_TOOLS available)
  • Active Jira connection via RUBE_MANAGE_CONNECTIONS with toolkit jira
  • Always call RUBE_SEARCH_TOOLS first to get current tool schemas

Setup

Get Rube MCP: Add https://rube.app/mcp as an MCP server in your client configuration. Verify actual MCP authentication and Jira site/account scopes; endpoint configuration alone does not establish access.

  1. Verify Rube MCP is available by confirming RUBE_SEARCH_TOOLS responds
  2. Call RUBE_MANAGE_CONNECTIONS with toolkit jira
  3. If connection is not ACTIVE, follow the returned auth link to complete Jira OAuth
  4. Confirm connection status shows ACTIVE before running any workflows

Target and notification scope

Resolve exact site/project/issue and authorized payload before edits, role changes or comments. Comments/mentions may notify people and require user messaging authorization; reading an issue does not grant it. Preserve fields not requested and reconcile ambiguous writes before retrying.

Core Workflows

1. Search and Filter Issues

When to use: User wants to find issues using JQL or browse project issues

Tool sequence:

  1. JIRA_SEARCH_FOR_ISSUES_USING_JQL_POST - Search with JQL query [Required]
  2. JIRA_GET_ISSUE - Get full details of a specific issue [Optional]

Key parameters:

  • jql: JQL query string (e.g., project = PROJ AND status = "In Progress")
  • maxResults: Max results per page (default 50, max 100)
  • startAt: Pagination offset
  • fields: Array of field names to return
  • issueIdOrKey: Issue key like 'PROJ-123' for GET_ISSUE

Pitfalls:

  • JQL field names are case-sensitive and must match Jira configuration
  • Custom fields use IDs like customfield_10001, not display names
  • Results are paginated; check total vs startAt + maxResults to continue
2. Create and Edit Issues

When to use: User wants to create new issues or update existing ones

Tool sequence:

  1. JIRA_GET_ALL_PROJECTS - List projects to find project key [Prerequisite]
  2. JIRA_GET_FIELDS - Get available fields and their IDs [Prerequisite]
  3. JIRA_CREATE_ISSUE - Create a new issue [Required]
  4. JIRA_EDIT_ISSUE - Update fields on an existing issue [Optional]
  5. JIRA_ASSIGN_ISSUE - Assign issue to a user [Optional]

Key parameters:

  • project: Project key (e.g., 'PROJ')
  • issuetype: Issue type name (e.g., 'Bug', 'Story', 'Task')
  • summary: Issue title
  • description: Issue description (Atlassian Document Format or plain text)
  • issueIdOrKey: Issue key for edits

Pitfalls:

  • Issue types and required fields vary by project; use GET_FIELDS to check
  • Custom fields require exact field IDs, not display names
  • Description may need Atlassian Document Format (ADF) for rich content
3. Manage Sprints and Boards

When to use: User wants to work with agile boards, sprints, and backlogs

Tool sequence:

  1. JIRA_LIST_BOARDS - List all boards [Prerequisite]
  2. JIRA_LIST_SPRINTS - List sprints for a board [Required]
  3. JIRA_MOVE_ISSUE_TO_SPRINT - Move issue to a sprint [Optional]
  4. JIRA_CREATE_SPRINT - Create a new sprint [Optional]

Key parameters:

  • boardId: Board ID from LIST_BOARDS
  • sprintId: Sprint ID for move operations
  • name: Sprint name for creation
  • startDate/endDate: Sprint dates in ISO format

Pitfalls:

  • Boards and sprints are specific to Jira Software (not Jira Core)
  • Only one sprint can be active at a time per board
4. Manage Comments

When to use: User wants to add or view comments on issues

Tool sequence:

  1. JIRA_LIST_ISSUE_COMMENTS - List existing comments [Optional]
  2. JIRA_ADD_COMMENT - Add a comment to an issue [Required]

Key parameters:

  • issueIdOrKey: Issue key like 'PROJ-123'
  • body: Comment body (supports ADF for rich text)

Pitfalls:

  • Comments support ADF (Atlassian Document Format) for formatting
  • Mentions use account IDs, not usernames
5. Manage Projects and Users

When to use: User wants to list projects, find users, or manage project roles

Tool sequence:

  1. JIRA_GET_ALL_PROJECTS - List all projects [Optional]
  2. JIRA_GET_PROJECT - Get project details [Optional]
  3. JIRA_FIND_USERS / JIRA_GET_ALL_USERS - Search for users [Optional]
  4. JIRA_GET_PROJECT_ROLES - List project roles [Optional]
  5. JIRA_ADD_USERS_TO_PROJECT_ROLE - Add user to role [Optional]

Key parameters:

  • projectIdOrKey: Project key
  • query: Search text for FIND_USERS
  • roleId: Role ID for role operations

Pitfalls:

  • User operations use account IDs (not email or display name)
  • Project roles differ from global permissions

Common Patterns

JQL Syntax

Common operators:

  • project = "PROJ" - Filter by project
  • status = "In Progress" - Filter by status
  • assignee = currentUser() - Current user's issues
  • created >= -7d - Created in last 7 days
  • labels = "bug" - Filter by label
  • priority = High - Filter by priority
  • ORDER BY created DESC - Sort results

Combinators:

  • AND - Both conditions
  • OR - Either condition
  • NOT - Negate condition
Pagination
  • Use startAt and maxResults parameters
  • Check total in response to determine remaining pages
  • Continue until startAt + maxResults >= total

Known Pitfalls

Field Names:

  • Custom fields use IDs like customfield_10001
  • Use JIRA_GET_FIELDS to discover field IDs and names
  • Field names in JQL may differ from API field names

Authentication:

  • Jira Cloud uses account IDs, not usernames
  • Site URL must be configured correctly in the connection

Quick Reference

TaskTool SlugKey Params
Search issues (JQL)JIRA_SEARCH_FOR_ISSUES_USING_JQL_POSTjql, maxResults
Get issueJIRA_GET_ISSUEissueIdOrKey
Create issueJIRA_CREATE_ISSUEproject, issuetype, summary
Edit issueJIRA_EDIT_ISSUEissueIdOrKey, fields
Assign issueJIRA_ASSIGN_ISSUEissueIdOrKey, accountId
Add commentJIRA_ADD_COMMENTissueIdOrKey, body
List commentsJIRA_LIST_ISSUE_COMMENTSissueIdOrKey
List projectsJIRA_GET_ALL_PROJECTS(none)
Get projectJIRA_GET_PROJECTprojectIdOrKey
List boardsJIRA_LIST_BOARDS(none)
List sprintsJIRA_LIST_SPRINTSboardId
Move to sprintJIRA_MOVE_ISSUE_TO_SPRINTsprintId, issues
Create sprintJIRA_CREATE_SPRINTname, boardId
Find usersJIRA_FIND_USERSquery
Get fieldsJIRA_GET_FIELDS(none)
List filtersJIRA_LIST_FILTERS(none)
Project rolesJIRA_GET_PROJECT_ROLESprojectIdOrKey
Project versionsJIRA_GET_PROJECT_VERSIONSprojectIdOrKey

When to Use

This skill is applicable to execute the workflow or actions described in the overview.

Example

User request:

Automate Jira tasks via Rube MCP (Composio): issues, projects, sprints, boards, comments, users.

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.

Comments

Markdown supported