jira_create_issue
Create a new Jira issue by providing project, summary, and issue type. Optionally set assignee, description, components, and additional fields such as parent for subtasks or epic link.
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. components: Comma-separated list of component names. additional_fields: Dictionary 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 |
|---|---|---|---|
| summary | Yes | Summary/title of the issue | |
| assignee | No | (Optional) Assignee's user identifier (string): Email, display name, or account ID (e.g., 'user@example.com', 'John Doe', 'accountid:...') | |
| components | No | (Optional) Comma-separated list of component names to assign (e.g., 'Frontend,API') | |
| 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. | |
| description | No | Issue description | |
| project_key | Yes | The JIRA project key (e.g. 'PROJ', 'DEV', 'SUPPORT'). This is the prefix of issue keys in your project. Never assume what it might be, always ask the user. | |
| additional_fields | No | (Optional) Dictionary 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'} - Set Fix Version/s: {'fixVersions': [{'id': '10020'}]} - Custom fields: {'customfield_10010': 'value'} |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |