Manage Jira issues through the Atlassian MCP server. Change an issue only in the way the user asked, and report a change as done only after reading it back.
Configuration. Check the environment before asking the user:
JIRA_BASE_URL (or ATLASSIAN_BASE_URL) for the site, such as
example.atlassian.net; JIRA_DEFAULT_PROJECT (or JIRA_DEFAULT_SPACE,
JIRA_PROJECT) for the project key; and JIRA_DEFAULT_ISSUE_TYPE, which
defaults to Task. Strip trailing slashes. The bare hostname is the
cloudId; browse URLs are https://<hostname>/browse/<KEY>.
-
Pick the operation: create (a new issue, or requirements with no issue key), edit (an existing key such as
PROJ-123, or a change to one), assign, transition (a status change such as "start" or "close"), or search. If it could be create or edit, ask before changing anything. Done when you know the operation. -
Resolve the site. Use the hostname from
JIRA_BASE_URLor a URL the user gave. Otherwise callatlassian_getAccessibleAtlassianResources, and ask which site if it returns several and none matches the environment. Done when you have acloudId. -
Resolve the project and type (for create). Take the project from the prompt or issue key, then the environment, then
atlassian_getVisibleJiraProjectsand the user. Take the type from the prompt (Bug, Story, Epic, Spike), thenJIRA_DEFAULT_ISSUE_TYPE, thenTask, and check it exists withatlassian_getJiraProjectIssueTypesMetadata; if it doesn't, offer the project's valid types. Done when you have the project key and the type'sid. -
Find the Acceptance Criteria field. For a fetched issue, look in the
namesmap fromatlassian_getJiraIssuefor a key matching "Acceptance Criteria", case-insensitively. Otherwise callatlassian_getJiraIssueTypeMetaWithFieldswithcloudId,projectIdOrKey,issueTypeId, andrequiredFieldsOnly: false, sincetruehides optional custom fields. Done when you have itscustomfield_*key, or know there isn't one; if discovery fails, treat it as none. -
Check for duplicates before creating, with
atlassian_searchJiraIssuesUsingJqland a query likeproject = "<KEY>" AND text ~ "<keywords>". Done when none match, or you've shown the matches and the user has said to go ahead. -
Make the change:
- Create with
atlassian_createJiraIssue, passingcloudId,projectKey,issueTypeName,summary,description,contentFormat: "markdown", and, as needed,assignee_account_idandadditional_fieldsfor custom fields, labels, and components. - Edit: fetch the issue with only the fields you need (omit
fieldsfor the defaults, and never use["*all"], which floods the context with custom fields). Keep existing text and fields unless asked to overwrite them. Callatlassian_editJiraIssuewith standard andcustomfield_*fields infields, andnullto clear one. - Assign: for "me", get the
account_idfromatlassian_atlassianUserInfo; for anyone else, resolve it withatlassian_lookupJiraAccountId. Passassignee_account_idon create, or{"fields": {"assignee": {"accountId": "<id>"}}}on edit. - Transition: never guess a transition ID. Get them from
atlassian_getTransitionsForJiraIssue, match the target status by name, and callatlassian_transitionJiraIssuewith{"transition": {"id": "<id>"}}. If the status isn't reachable from the current one, show the available transition names.
Done when the call succeeds.
- Create with
-
Verify and report. For an edit of standard fields only, check the issue
atlassian_editJiraIssuereturned. Otherwise callatlassian_getJiraIssuewith just the changed fields plusstatusandassignee. Done when the read-back matches and you've reported the key, browse URL, assignee, and status.
Issue content
Summary. State the consequence or benefit, not the mechanics (those go under Approach), so the board shows what improves without opening the issue.
txtBAD: Add caching layer GOOD: Eliminate redundant auth lookups to cut p99 latency
Description, in Markdown:
md## Problem Current pain, risk, or missing capability. ## Goal Target outcome for users or maintainers. ## Approach - Implementation boundaries and constraints. - What will not change. ## Outcome Practical benefit in one short paragraph.
Acceptance criteria. With a custom field, put them there and not in the
description. Jira Cloud rich-text fields need Atlassian Document Format, not
Markdown: pass the object in additional_fields on create, or in fields on
edit, as {"<customfield_id>": <adf>}. Without a custom field, add an
## Acceptance Criteria section to the description.
json{ "type": "doc", "version": 1, "content": [ { "type": "bulletList", "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [{ "type": "text", "text": "First criterion" }] } ] } ] } ] }


