jira_create_issue
Create new Jira issues with Markdown descriptions and optional dry-run validation; inspect create fields first to avoid missing required fields and rejected payloads.
Instructions
Create a new Jira issue. Description supports Markdown (auto-converted to ADF). To create an Epic use jira_create_epic. Call jira_get_create_fields(projectKey, issueType) first when the screen is unknown — it returns every field with required, type and allowedValues, which removes the guesswork (Bug screens commonly require Affects versions and other mandatory fields). Optional fields are only sent when provided, so nothing is rejected for not being on the screen. On a 400 the response carries missingRequired and allowedValues. Set dryRun to validate the payload without creating anything.
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": {
"summary": "<summary>",
"description": "<description>"
},
"name": "jira_create_issue"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | When true, validate the payload against the create screen and return missingRequired / invalidValues / fieldsNotOnScreen without creating the issue. | |
| labels | No | Labels. Sent only when provided. | |
| parent | No | Parent issue key — the epic for a story, or the parent for a subtask (e.g. "PROJ-12"). | |
| dueDate | No | Due date as YYYY-MM-DD. | |
| summary | Yes | Issue summary/title | |
| assignee | No | Assignee accountId (not email). Resolve via jira_search_users or jira_get_myself. | |
| priority | No | Priority 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. | |
| reporter | No | Reporter accountId (not email). Requires the Modify Reporter permission. | |
| versions | No | Affects versions, by name or numeric id (ids are used verbatim). Required on many Bug screens. List them with jira_get_project_versions. | |
| issueType | No | Issue type name or id. Names are localized on non-English instances; a name is resolved to an id automatically. Call jira_get_issue_types for the definitive list. | Task |
| components | No | Components, by name or numeric id. List them with jira_get_project_components. | |
| projectKey | No | Project key (defaults to configured JIRA_PROJECT_KEY) | |
| description | Yes | Issue description in Markdown. Use [KEY](url) for clickable issue links. | |
| fixVersions | No | Fix versions, by name or numeric id. List them with jira_get_project_versions. | |
| storyPoints | No | Story points estimate (0-1000) | |
| customFields | No | Custom 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. | |
| timetracking | No | Time tracking estimates. | |
| customFieldsMarkdown | No | Rich-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
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| key | No | ||
| url | No | ||
| issue | No | ||
| valid | No | ||
| dryRun | No | ||
| payload | No | ||
| success | No | ||
| invalidValues | No | ||
| missingRequired | No | ||
| fieldsNotOnScreen | No |