Create Issue
jira_create_issueCreate new Jira issues with project details, assignees, descriptions, and optional Epic or parent task links for subtasks.
Instructions
Create a new Jira issue with optional Epic link or parent for subtasks.
Args: ctx: The FastMCP context. project_key: The JIRA project key. summary: Summary/title of the issue. issue_type: Issue type (e.g., 'Task', 'Bug', 'Story', 'Epic', 'Subtask'). assignee: Assignee's user identifier (string): Email, display name, or account ID (e.g., 'user@example.com', 'John Doe', 'accountid:...'). description: Issue description in Markdown format. components: Comma-separated list of component names. additional_fields: JSON string of additional fields.
Returns: JSON string representing the created issue object.
Raises: ValueError: If in read-only mode or Jira client is unavailable.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_key | Yes | The JIRA project key (e.g. 'PROJ', 'DEV', 'ACV2'). This is the prefix of issue keys in your project. Never assume what it might be, always ask the user. | |
| summary | Yes | Summary/title of the issue | |
| issue_type | Yes | Issue type (e.g. 'Task', 'Bug', 'Story', 'Epic', 'Subtask'). The available types depend on your project configuration. For subtasks, use 'Subtask' (not 'Sub-task') and include parent in additional_fields. | |
| assignee | No | (Optional) Assignee's user identifier (string): Email, display name, or account ID (e.g., 'user@example.com', 'John Doe', 'accountid:...') | |
| description | No | Issue description in Markdown format | |
| components | No | (Optional) Comma-separated list of component names to assign (e.g., 'Frontend,API') | |
| additional_fields | No | (Optional) JSON string of additional fields to set. Examples: - Set priority: {"priority": {"name": "High"}} - Add labels: {"labels": ["frontend", "urgent"]} - Link to parent (for any issue type): {"parent": "PROJ-123"} - Link to epic: {"epicKey": "EPIC-123"} or {"epic_link": "EPIC-123"} - Set Fix Version/s: {"fixVersions": [{"id": "10020"}]} - Custom fields: {"customfield_10010": "value"} |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |