name: jira-automation
description: "Automate Jira tasks via Rube MCP (Composio): issues, projects, sprints, boards, comments, users. Always search tools first for current schemas."
tags: [automation, devops]
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. No API keys needed — just add the endpoint and it works.
- Verify Rube MCP is available by confirming
RUBE_SEARCH_TOOLS responds
- Call
RUBE_MANAGE_CONNECTIONS with toolkit jira
- If connection is not ACTIVE, follow the returned auth link to complete Jira OAuth
- Confirm connection status shows ACTIVE before running any workflows
Core Workflows
1. Search and Filter Issues
When to use: User wants to find issues using JQL or browse project issues
Tool sequence:
JIRA_SEARCH_FOR_ISSUES_USING_JQL_POST - Search with JQL query [Required]
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:
JIRA_GET_ALL_PROJECTS - List projects to find project key [Prerequisite]
JIRA_GET_FIELDS - Get available fields and their IDs [Prerequisite]
JIRA_CREATE_ISSUE - Create a new issue [Required]
JIRA_EDIT_ISSUE - Update fields on an existing issue [Optional]
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:
JIRA_LIST_BOARDS - List all boards [Prerequisite]
JIRA_LIST_SPRINTS - List sprints for a board [Required]
JIRA_MOVE_ISSUE_TO_SPRINT - Move issue to a sprint [Optional]
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:
JIRA_LIST_ISSUE_COMMENTS - List existing comments [Optional]
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:
JIRA_GET_ALL_PROJECTS - List all projects [Optional]
JIRA_GET_PROJECT - Get project details [Optional]
JIRA_FIND_USERS / JIRA_GET_ALL_USERS - Search for users [Optional]
JIRA_GET_PROJECT_ROLES - List project roles [Optional]
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
| Task |
Tool Slug |
Key Params |
| Search issues (JQL) |
JIRA_SEARCH_FOR_ISSUES_USING_JQL_POST |
jql, maxResults |
| Get issue |
JIRA_GET_ISSUE |
issueIdOrKey |
| Create issue |
JIRA_CREATE_ISSUE |
project, issuetype, summary |
| Edit issue |
JIRA_EDIT_ISSUE |
issueIdOrKey, fields |
| Assign issue |
JIRA_ASSIGN_ISSUE |
issueIdOrKey, accountId |
| Add comment |
JIRA_ADD_COMMENT |
issueIdOrKey, body |
| List comments |
JIRA_LIST_ISSUE_COMMENTS |
issueIdOrKey |
| List projects |
JIRA_GET_ALL_PROJECTS |
(none) |
| Get project |
JIRA_GET_PROJECT |
projectIdOrKey |
| List boards |
JIRA_LIST_BOARDS |
(none) |
| List sprints |
JIRA_LIST_SPRINTS |
boardId |
| Move to sprint |
JIRA_MOVE_ISSUE_TO_SPRINT |
sprintId, issues |
| Create sprint |
JIRA_CREATE_SPRINT |
name, boardId |
| Find users |
JIRA_FIND_USERS |
query |
| Get fields |
JIRA_GET_FIELDS |
(none) |
| List filters |
JIRA_LIST_FILTERS |
(none) |
| Project roles |
JIRA_GET_PROJECT_ROLES |
projectIdOrKey |
| Project versions |
JIRA_GET_PROJECT_VERSIONS |
projectIdOrKey |
1---2name: jira-automation3description: <!-- AUTO-GENERATED by export-skills.py — DO NOT EDIT -->4---5<!-- AUTO-GENERATED by export-skills.py — DO NOT EDIT -->6---7name: jira-automation8description: "Automate Jira tasks via Rube MCP (Composio): issues, projects, sprints, boards, comments, users. Always search tools first for current schemas."9tags: [automation, devops]10---1112# Jira Automation via Rube MCP1314Automate Jira operations through Composio's Jira toolkit via Rube MCP.1516## Prerequisites1718- Rube MCP must be connected (RUBE_SEARCH_TOOLS available)19- Active Jira connection via `RUBE_MANAGE_CONNECTIONS` with toolkit `jira`20- Always call `RUBE_SEARCH_TOOLS` first to get current tool schemas2122## Setup2324**Get Rube MCP**: Add `https://rube.app/mcp` as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.2526271. Verify Rube MCP is available by confirming `RUBE_SEARCH_TOOLS` responds282. Call `RUBE_MANAGE_CONNECTIONS` with toolkit `jira`293. If connection is not ACTIVE, follow the returned auth link to complete Jira OAuth304. Confirm connection status shows ACTIVE before running any workflows3132## Core Workflows3334### 1. Search and Filter Issues3536**When to use**: User wants to find issues using JQL or browse project issues3738**Tool sequence**:391. `JIRA_SEARCH_FOR_ISSUES_USING_JQL_POST` - Search with JQL query [Required]402. `JIRA_GET_ISSUE` - Get full details of a specific issue [Optional]4142**Key parameters**:43- `jql`: JQL query string (e.g., `project = PROJ AND status = "In Progress"`)44- `maxResults`: Max results per page (default 50, max 100)45- `startAt`: Pagination offset46- `fields`: Array of field names to return47- `issueIdOrKey`: Issue key like 'PROJ-123' for GET_ISSUE4849**Pitfalls**:50- JQL field names are case-sensitive and must match Jira configuration51- Custom fields use IDs like `customfield_10001`, not display names52- Results are paginated; check `total` vs `startAt + maxResults` to continue5354### 2. Create and Edit Issues5556**When to use**: User wants to create new issues or update existing ones5758**Tool sequence**:591. `JIRA_GET_ALL_PROJECTS` - List projects to find project key [Prerequisite]602. `JIRA_GET_FIELDS` - Get available fields and their IDs [Prerequisite]613. `JIRA_CREATE_ISSUE` - Create a new issue [Required]624. `JIRA_EDIT_ISSUE` - Update fields on an existing issue [Optional]635. `JIRA_ASSIGN_ISSUE` - Assign issue to a user [Optional]6465**Key parameters**:66- `project`: Project key (e.g., 'PROJ')67- `issuetype`: Issue type name (e.g., 'Bug', 'Story', 'Task')68- `summary`: Issue title69- `description`: Issue description (Atlassian Document Format or plain text)70- `issueIdOrKey`: Issue key for edits7172**Pitfalls**:73- Issue types and required fields vary by project; use GET_FIELDS to check74- Custom fields require exact field IDs, not display names75- Description may need Atlassian Document Format (ADF) for rich content7677### 3. Manage Sprints and Boards7879**When to use**: User wants to work with agile boards, sprints, and backlogs8081**Tool sequence**:821. `JIRA_LIST_BOARDS` - List all boards [Prerequisite]832. `JIRA_LIST_SPRINTS` - List sprints for a board [Required]843. `JIRA_MOVE_ISSUE_TO_SPRINT` - Move issue to a sprint [Optional]854. `JIRA_CREATE_SPRINT` - Create a new sprint [Optional]8687**Key parameters**:88- `boardId`: Board ID from LIST_BOARDS89- `sprintId`: Sprint ID for move operations90- `name`: Sprint name for creation91- `startDate`/`endDate`: Sprint dates in ISO format9293**Pitfalls**:94- Boards and sprints are specific to Jira Software (not Jira Core)95- Only one sprint can be active at a time per board9697### 4. Manage Comments9899**When to use**: User wants to add or view comments on issues100101**Tool sequence**:1021. `JIRA_LIST_ISSUE_COMMENTS` - List existing comments [Optional]1032. `JIRA_ADD_COMMENT` - Add a comment to an issue [Required]104105**Key parameters**:106- `issueIdOrKey`: Issue key like 'PROJ-123'107- `body`: Comment body (supports ADF for rich text)108109**Pitfalls**:110- Comments support ADF (Atlassian Document Format) for formatting111- Mentions use account IDs, not usernames112113### 5. Manage Projects and Users114115**When to use**: User wants to list projects, find users, or manage project roles116117**Tool sequence**:1181. `JIRA_GET_ALL_PROJECTS` - List all projects [Optional]1192. `JIRA_GET_PROJECT` - Get project details [Optional]1203. `JIRA_FIND_USERS` / `JIRA_GET_ALL_USERS` - Search for users [Optional]1214. `JIRA_GET_PROJECT_ROLES` - List project roles [Optional]1225. `JIRA_ADD_USERS_TO_PROJECT_ROLE` - Add user to role [Optional]123124**Key parameters**:125- `projectIdOrKey`: Project key126- `query`: Search text for FIND_USERS127- `roleId`: Role ID for role operations128129**Pitfalls**:130- User operations use account IDs (not email or display name)131- Project roles differ from global permissions132133## Common Patterns134135### JQL Syntax136137**Common operators**:138- `project = "PROJ"` - Filter by project139- `status = "In Progress"` - Filter by status140- `assignee = currentUser()` - Current user's issues141- `created >= -7d` - Created in last 7 days142- `labels = "bug"` - Filter by label143- `priority = High` - Filter by priority144- `ORDER BY created DESC` - Sort results145146**Combinators**:147- `AND` - Both conditions148- `OR` - Either condition149- `NOT` - Negate condition150151### Pagination152153- Use `startAt` and `maxResults` parameters154- Check `total` in response to determine remaining pages155- Continue until `startAt + maxResults >= total`156157## Known Pitfalls158159**Field Names**:160- Custom fields use IDs like `customfield_10001`161- Use JIRA_GET_FIELDS to discover field IDs and names162- Field names in JQL may differ from API field names163164**Authentication**:165- Jira Cloud uses account IDs, not usernames166- Site URL must be configured correctly in the connection167168## Quick Reference169170| Task | Tool Slug | Key Params |171|------|-----------|------------|172| Search issues (JQL) | JIRA_SEARCH_FOR_ISSUES_USING_JQL_POST | jql, maxResults |173| Get issue | JIRA_GET_ISSUE | issueIdOrKey |174| Create issue | JIRA_CREATE_ISSUE | project, issuetype, summary |175| Edit issue | JIRA_EDIT_ISSUE | issueIdOrKey, fields |176| Assign issue | JIRA_ASSIGN_ISSUE | issueIdOrKey, accountId |177| Add comment | JIRA_ADD_COMMENT | issueIdOrKey, body |178| List comments | JIRA_LIST_ISSUE_COMMENTS | issueIdOrKey |179| List projects | JIRA_GET_ALL_PROJECTS | (none) |180| Get project | JIRA_GET_PROJECT | projectIdOrKey |181| List boards | JIRA_LIST_BOARDS | (none) |182| List sprints | JIRA_LIST_SPRINTS | boardId |183| Move to sprint | JIRA_MOVE_ISSUE_TO_SPRINT | sprintId, issues |184| Create sprint | JIRA_CREATE_SPRINT | name, boardId |185| Find users | JIRA_FIND_USERS | query |186| Get fields | JIRA_GET_FIELDS | (none) |187| List filters | JIRA_LIST_FILTERS | (none) |188| Project roles | JIRA_GET_PROJECT_ROLES | projectIdOrKey |189| Project versions | JIRA_GET_PROJECT_VERSIONS | projectIdOrKey |190191<!-- Source: .faos/custom/skills/devops/jira-automation/SKILL.md -->