Skip to main content
Glama
Jira MCP Server

Jira MCP Server

by wince87

jira_clone_issue

Clone an existing Jira issue with a new summary, copying type, description, labels, priority, story points, components, and versions; pass custom fields or overrides explicitly.

Instructions

Clone an existing Jira issue with a new summary. Copies issue type, description, labels, priority, story points, components and versions from the source. Custom fields are NOT copied — supply any the target screen requires via customFields. Any field passed explicitly overrides the copied value.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "issueKey": "<issueKey>"
    },
    "name": "jira_clone_issue"
  }
}

Input Schema

NameRequiredDescriptionDefault
labelsNoLabels. Sent only when provided.
parentNoParent issue key (epic or parent task).
dueDateNoDue date as YYYY-MM-DD.
summaryNoSummary for the cloned issue (defaults to "Clone of <original>")
assigneeNoAssignee accountId (not email). Resolve via jira_search_users or jira_get_myself.
issueKeyYesIssue key to clone (e.g., PROJ-123)
priorityNoPriority id (preferred) or name. Names are localized on non-English instances and only the canonical English name works — pass the id from jira_get_priorities or jira_get_create_fields. A localized name is matched against the allowed values and converted to an id automatically.
reporterNoReporter accountId (not email). Requires the Modify Reporter permission.
versionsNoAffects versions, by name or numeric id (ids are used verbatim). Required on many Bug screens. List them with jira_get_project_versions.
componentsNoComponents, by name or numeric id. List them with jira_get_project_components.
projectKeyNoTarget project key (defaults to same project as source)
fixVersionsNoFix versions, by name or numeric id. List them with jira_get_project_versions.
storyPointsNoStory points estimate (0-1000). Overrides the copied value.
customFieldsNoCustom field values keyed by field ID (customfield_NNNNN). Use the shape the field expects: single-select { "id": "10001" } or { "value": "X" }; multi-select [ { "id": "10001" } ]; user { "accountId": "..." }; text "string". Rich-text (schema.type "doc") fields accept a plain Markdown string and are converted to ADF automatically. Call jira_get_create_fields for ids and allowed values.
timetrackingNoTime tracking estimates.
customFieldsMarkdownNoRich-text custom fields keyed by field ID, values as Markdown strings converted to ADF. Use when the field type is "doc" and you want the conversion to be explicit.

Output Schema

NameRequiredDescriptionDefault
idNo
keyNo
urlNo
issueNo
validNo
dryRunNo
payloadNo
successNo
invalidValuesNo
missingRequiredNo
fieldsNotOnScreenNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.2

TDQS

A4.2/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare a non-read-only, non-idempotent, non-destructive write, so the safety profile is covered. The description adds genuinely useful behavior beyond that: an explicit copy list, the warning that custom fields are NOT copied, and the precedence rule that explicitly passed fields override copied values. It doesn't note that repeated calls create duplicate issues or whether attachments, comments, subtasks, and links are carried over.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four tight sentences, front-loaded with the action, then the copy list, the exclusion, and the override rule. Nothing is repeated from the schema and no sentence is filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given 16 parameters, nested objects, and an output schema, the definition covers the essential clone semantics: what is inherited, what must be supplied, and the precedence rule. The remaining gap is what happens to comments, attachments, subtasks, and links, and whether the response contains the new issue key.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% and the schema is unusually rich, including per-parameter helper-tool pointers, so the baseline of 3 applies. The description adds one meaningful rule — explicit values override copied values — but the per-field semantics are already handled entirely by the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Specific verb plus resource ('Clone an existing Jira issue with a new summary') with the scope of the operation spelled out: it states exactly which fields are copied and which are not. This clearly separates it from jira_create_issue, since the agent knows the source fields come from an existing issue.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Establishes the clone context clearly and routes the agent to the right helper lookups (jira_get_create_fields, jira_get_project_versions, jira_get_project_components, jira_search_users, jira_get_priorities) for values it cannot guess. It never explicitly contrasts with jira_create_issue or says when a plain create is preferable, so an explicit when-not is missing.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools