jira_clone_issue
Clone a Jira issue into a new one by copying its standard and custom fields, then link the clone back to the source. Fields unavailable in the target project are automatically excluded.
Instructions
Clone an existing Jira issue by copying its fields into a new issue.
Jira does not provide a single "clone issue" REST endpoint on Data Center, Server, or Cloud. This tool reproduces the Jira UI's built-in Clone action: it fetches the source issue's fields, creates a new issue with those fields copied over (summary, description, issue type, priority, labels, components, fix/affects versions, assignee, due date, security level, environment, and populated custom fields), and links the new issue back to the source issue with a "Cloners" issue link.
Each standard and custom field is pre-verified against the target project's create screen metadata before being copied, so fields that are not available for that project/issue type are excluded individually instead of failing the whole clone. Any excluded fields are listed under "excluded_fields" in the response.
Args: ctx: The FastMCP context. issue_key: The key of the issue to clone. project_key: Optional target project key. summary: Optional summary override for the clone. include_custom_fields: Whether to copy populated custom fields. link_to_original: Whether to create a "Cloners" link back to the source issue. additional_fields: Optional dictionary of fields to override or add.
Returns: JSON string representing the newly created clone issue. Includes an "excluded_fields" list when fields were skipped because they are not on the target create screen.
Raises: ValueError: If in read-only mode, Jira client unavailable, or the source issue/target project is invalid.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| summary | No | (Optional) Summary for the cloned issue. Defaults to 'CLONE - <source summary>', matching Jira's built-in Clone action. | |
| issue_key | Yes | The key of the issue to clone (e.g., 'PROJ-123') | |
| project_key | No | (Optional) Target project key for the clone (e.g., 'PROJ'). Defaults to the source issue's project. If the source issue is a subtask, its parent link is only preserved when cloning into the same project. | |
| link_to_original | No | Whether to create a 'Cloners' issue link between the new clone and the source issue, matching Jira's built-in Clone action | |
| additional_fields | No | (Optional) Dictionary of fields to override or add on top of the fields copied from the source issue. Example: {'priority': {'name': 'High'}} | |
| include_custom_fields | No | Whether to copy all populated custom fields from the source issue (e.g., Epic Name, Epic Link, and other customfield_* values) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |