Connect and manage Jira accounts
Open Integrations > Jira > Manage Jira. The connection screen stays inside your workspace and preserves the navigation sidebar. Account authorization and connection management are available. Site, project and issue-type selection are available. Field mapping configuration is available. Reviewed ticket creation and uncertain-result reconciliation are available from migration tasks. Authorizing an account does not create a ticket or verify remediation.
Add and authorize
- Sign in with a workspace administrator account. Viewers and analysts can read connection metadata but cannot change access. An API credential can manage permitted metadata; browser sign-in is required for Atlassian consent.
- Select Add connection, enter a descriptive name such as “Security engineering”, and save. The new row shows Authorization required.
- Select Authorize Jira. You leave the workspace only for Atlassian's consent page. Complete consent using the intended Jira account.
- The callback clears its authorization code from the address before saving. Select Return to Jira connections to return directly to Jira connections inside your workspace. A successful row shows Authorization saved · project setup pending.
If the platform app is missing, the page explains that a platform operator must configure it and links to the registration guide. Naming a connection does not require the app to be configured. Consent does.
Choose the project and issue type
Select Choose project on an authorized connection. Setup opens inline:
- Choose an authorized Jira site and select Continue.
- Choose a project. Use More choices or Previous choices to browse pages; the first page is not necessarily the whole list.
- Choose an issue type and select Save choices.
The row now shows the saved project and issue type, with field mapping pending. Configure fields opens the mapping editor; Change project reopens target setup. Saving does not create an issue or mark remediation complete. Subtask types retain their subtask flag; their required parent and other fields must be configured in the field-mapping editor.
Choices expire after ten minutes and are tied to the current administrator, workspace, connection and authorization. If choices expire or the connection changes, go Back and reload the project and issue type. Names and IDs are taken from verified provider responses, not accepted as free text. Reauthorizing an account clears the old target so a different Jira account cannot inherit an unverified project selection.
Manage existing connections
Authorization and setup have visible buttons on each connection. Secondary controls such as Rename, Change project and Disconnect appear beside them when available.
- Rename: edit the name inline. A failed save keeps your entered name so you can correct it. Renaming advances the connection revision and invalidates any consent flow started before that change.
- Disconnect: review the inline confirmation before invalidating stored authorization. Existing Jira issues are unaffected. Revoke application access in Atlassian separately if needed.
- Reconnect: opens the disconnected connection for fresh consent. It never restores old tokens. If consent cannot start, the connection remains visibly awaiting authorization.
- Archive: available after disconnect. Confirm to remove the row from the active view while retaining metadata and audit history.
Use Active and Archived to switch lists. Each page contains at most 50 rows; Next and Previous traverse the selected list. Refresh loads the latest state. Workspace administrators can permanently delete archived connections; archiving does not remove their retained ticket receipts.
Recover from setup problems
| What you see | Next step |
|---|---|
| Platform app setup is needed | Ask a platform operator to register the app; follow the linked guide. |
| Sign in with your account | Use a workspace administrator browser session for consent. |
| Authorization cancelled or denied | Return to Jira connections and start fresh consent. |
| Connection changed | Refresh the row before acting. Another change invalidated the earlier revision. |
| Authorization saved | Select Choose project to choose the site, project and issue type. |
| Loading failed | Retry loading connections. No sample connections are substituted for your data. |
Errors appear beside the affected form or connection. Uncertain OAuth exchanges are not retried automatically. Connection metadata and audit records never expose provider tokens.
Metadata discovery API
Verified workspace administrators can read Jira setup metadata with POST /api/auth/jira/discover. The inline project selector uses this API. Discovery operations read provider metadata; save-target saves a verified site/project/type choice. Save field mappings through Configure fields, then create reviewed tickets from migration tasks using the delivery workflow below.
Every request includes connectionId and its current expectedRevision. Choose one operation:
| Operation | Additional fields | Result |
|---|---|---|
sites | None | Authorized Jira sites, including cloud ID, display name and site URL |
projects | cloudId, optional startAt | Up to 50 projects and nextStartAt |
issue-types | cloudId, projectId, optional startAt | Up to 50 issue types and nextStartAt |
fields | cloudId, projectId, typeId, optional startAt | Up to 50 create-field definitions, required/default flags, schemas and allowed values |
Start at offset 0. Continue with the returned nextStartAt until it is null. Do not treat the first page as complete. Use cloud IDs from the current sites response; arbitrary provider hosts and unauthorized sites are rejected. Display provider names and field values as untrusted text.
Expired access tokens are refreshed using the encrypted rotating grant. The platform does not expose either token. A replaced platform app, revoked authorization owner or interrupted refresh requires fresh consent. These integration errors do not end an otherwise valid workspace session. For a 429 response, wait the returned Retry-After interval before retrying. Network errors and uncertain refreshes are not blindly replayed.
Save a verified target through the API
Project and issue-type discovery items include an opaque selectionProof. Submit operation: "save-target", the current connectionId and expectedRevision, plus projectProof and typeProof copied from the chosen items. Do not supply your own display names or target IDs. The response is the updated connection, including target.site, target.project, target.issueType and target.selectedAt, with an incremented revision and mapping-required state.
Proofs are not provider credentials, but they are bound to the current administrator's browser credential. Do not transfer them between accounts or retain them for later use. Expired, altered, mismatched and stale selections return a conflict. A saved target is a configuration choice; permissions and required fields must be checked again before any future issue creation.
Load a complete field catalog
After saving a target, send operation: "start-fields" with the connection ID and its updated revision. This uses the saved site, project and issue type; do not send another target. The response includes catalogId, nextStartAt, loaded, total, complete and expiresAt.
Then send operation: "load-fields", that catalogId, and the returned nextStartAt as startAt. Each response contains up to 50 field definitions and a control hint describing the value type. Continue until complete is true and nextStartAt is null. Required fields, writable operations, explicit default availability and current allowed values are retained. A null total means Jira did not supply a total; it does not mean zero fields.
Catalogs last 15 minutes and belong to the administrator who started them. Changes to the connection, authorization grant or platform app invalidate them. Restart with start-fields after a conflict or expiry; keep an unsaved form draft separately and revalidate its values against the new metadata. A second start replaces the first catalog and removes its pages. Reauthorization, target changes and disconnect also remove cached pages. Pages are stored server-side so a browser cannot redefine which fields are required.
The supported catalog size is 1,000 fields, 100 pages and 8 MiB of metadata. Exceeding a limit produces an error, never a silently truncated complete list. Unknown field types are explicitly marked unsupported. User and parent-issue references still need provider verification before issue creation. Catalog completion does not mean that a mapping has been saved or an issue can be created: creation still requires a reviewed task payload and current provider checks. Real-provider acceptance remains pending.
Configure and save issue fields
After choosing a project, select Configure fields on its connection row. The editor loads all field pages before showing the form. Required fields appear first; expand Optional fields for additional values.
For each field, choose a fixed value, a migration task source where supported, or an explicitly advertised Jira default. Summary starts with Migration task title and description starts with Migration task evidence. Optional fields may be left unset. Use the listed options for choice fields, one value per line for string lists, an ISO timestamp with timezone for date-time fields, and an Atlassian account ID or issue key for user or parent references. Unsupported field types include an explanation; an unsupported required field without a Jira default prevents saving.
Cascading select fields have linked Parent option and Child option dropdowns. Choose a parent first; only its enabled children are offered. Changing the parent clears the child. An unavailable saved option stays visible until you replace it, so reloading metadata cannot silently change the meaning of a saved mapping. The server rejects disabled options and children from another parent. Jira workflow rules may require a child even when the metadata only marks the parent field required.
Select Save field mapping. The connection shows Field mapping saved. Reopen Configure fields to review or edit it. Save errors retain your form values. Reload Jira fields refreshes the catalog while retaining your draft in the current editor; changing pages or cancelling discards that unsaved draft. Previous fields that Jira no longer advertises are identified before saving the replacement mapping.
A saved mapping stores configuration, not a ticket or a validated task payload. User and parent references remain pending provider validation. Each real task must be compiled and validated before future issue creation. Changing the target, reauthorizing or disconnecting clears the saved mapping.
Mapping API
Send operation: "read-mapping" with connectionId and expectedRevision to read the saved mappings, savedAt and referenceValidationPending flag. Only a current workspace administrator browser session can read mapping values; connection listings return only a summary.
Send operation: "save-mapping" with the same connection scope, a complete current catalogId, and mappings keyed by Jira field ID. Each entry is either { "source": "constant", "value": ... } or a source-only object using plan-summary, plan-description, provider-default or omit. Values keep their JSON types: numbers are numbers, lists are arrays, and choice IDs are strings. Project and issue-type overrides are rejected. The response is the updated connection with a new revision and mapping-saved state. Use that revision for subsequent requests; an old catalog cannot be reused after saving.
For a cascading field, the constant value is { "parentId": "100", "childId": "101" }; omit childId for a parent-only selection. The reviewed Jira payload uses { "id": "100", "child": { "id": "101" } }. IDs must belong to the current metadata tree. Option changes between review and creation invalidate the preview. This follows Atlassian's cascading-field JSON format.
Check a user or parent reference
For a fixed user or parent value, use Check account or Check parent issue beside the field. Feedback identifies the current Jira account or issue and explains exactly what was checked. Changing the value clears that feedback. Names are displayed as text, and profile email addresses and avatar URLs are not returned.
- Assignee: must be active and currently assignable in the saved project.
- Other user fields: checks that the account is active; reporter permissions and custom field restrictions still need validation for a real issue.
- Subtask parent: must be a visible standard issue in the same project.
- Parent of a standard issue: checks visibility only; hierarchy compatibility still needs validation.
User checks require the read:jira-user OAuth permission. If it is missing, ask the platform operator to enable the permission, then choose Authorize again. Parent checks use issue-read access. Permission errors retain the entered value so you can repair access and check again.
The API operation is check-reference on /api/auth/jira/discover, with the current connection ID/revision, complete catalogId, fieldId and reference string value. It returns kind, value, label, check and an explanatory message. Results are informational at the time of the check: they are not saved as lasting authorization and do not make a mapping issue-ready. Creation must repeat current permission and payload checks.
Provider behavior follows Atlassian user search and user lookup contracts.
Preview a migration task as a Jira ticket
Open Migration roadmap, choose a saved task, then select Jira ticket. This is available to workspace administrators signed in through the browser. Choose a Jira connection with saved field mappings and select Review ticket. The task remains open in the same workspace dialog.
The preview loads the selected target's field catalog and compares it with the metadata used when the mapping was saved. If fields changed, return to Jira connections, review and save the mapping, then prepare a new preview. The exact saved task revision supplies its title, owner, deadline, status and acceptance criteria. Current evidence supplies the selected asset's name, cryptographic algorithms, observation time, confidence and evidence ID. Raw scanner evidence, arbitrary record properties and location fields are excluded. Unsaved task edits are not included.
Review the visible summary and description, then expand Review all Jira fields to inspect every mapped value. This does not create an issue. References still require current validation, and a preview is not proof that Jira will accept a future request. Creating or closing a ticket does not verify remediation.
Only one preview per connection is retained. A new preview replaces the preceding one. Previews expire after at most five minutes, or when their field catalog expires. Task/evidence/configuration changes and authorization-context changes invalidate them; prepare again before any future creation operation.
Task preview API
After saving a mapping, load a new complete field catalog using the connection's latest revision. Send operation: "prepare-task", catalogId, planId and expectedPlanVersion to /api/auth/jira/discover, together with connectionId and expectedRevision. Task and evidence records are read from tenant storage; callers cannot supply replacement task text or evidence. The response includes previewId, exact fields, payloadHash, task revision, expiry and unverifiedReferences, with issueCreated: false.
Send operation: "read-task-preview" with previewId and the same connection scope to recheck the preview. It checks the current task, evidence, mapping, catalog and authorization context rather than returning a stale saved payload. A conflict requires a fresh preview. These operations perform no external Jira mutation. Use the delivery API below for explicit creation and recovery.
Create a ticket and recover its outcome
Open a migration task, choose Jira ticket, select a connection, then Review ticket. The product checks for an existing attempt before preparing a new preview. Review the exact fields, then choose Create Jira ticket. Progress appears immediately while the service checks current Jira permissions, fields and references. The resulting issue is linked to the task; use Open in Jira to view it.
Reopening the task and choosing the same connection restores its saved result. Disconnected connections remain available for status checks; Archived connections shows archived entries. Creating or closing a Jira issue does not verify remediation: that still requires fresh evidence in the migration task.
- Rejected: repair the reported issue, choose Review a new preview, review it, then explicitly retry. Expired previews or refreshed authorization can require another review.
- Result not confirmed: choose Check ticket status. A network error does not mean no ticket was created.
- May have created the ticket: inspect Jira, enter the existing issue key, then choose Confirm and link existing issue. The service checks the original target and request/payload marker. A missing or mismatched issue does not permit another send. Reauthorize a disconnected connection before reconciliation.
- Conflicting receipts: review both recorded issues, select the primary issue, enter a reason, and acknowledge that the other issue needs separate review. Save primary issue checks the selected issue against the original target and correlation marker. Both receipts and the decision are retained. No Jira issue is created, closed, or deleted; remediation verification remains unchanged.
Delivery API
POST to /api/auth/jira/deliver using a verified workspace administrator browser session. Agent credentials cannot create tickets.
For operation: "create", send connectionId, expectedRevision, planId, previewId, payloadHash, a stable UUID requestId, and confirm: true. The server rebuilds content from the stored preview and current task records; do not send fields or replacement evidence. A rejected-attempt retry requires a fresh preview and retryOf naming that prior attempt.
For operation: "status", send connectionId and planId. The response contains the latest attempt, or null. Status remains readable without an active Jira grant.
For operation: "reconcile", send connectionId, expectedRevision, operationId, expectedAttemptRevision, issueKey, and confirm: true. Reconciliation uses current authorization for the original Jira site. Issue properties can be edited by Jira-authorized users; the matching request marker supports explicit administrator confirmation and is not a provider idempotency guarantee.
Check the linked issue's Jira status
After creating or linking an issue, choose Check Jira status. The product reads the original Jira site using the connection's current authorization and displays the returned status with Last checked. This performs one read; automatic checks are configured separately below. Reload saved result reloads the saved attempt without contacting Jira.
A Jira status such as Done does not move or verify the migration task. A failed refresh preserves the previous observation and its timestamp. If the issue's identity, key, project or type has changed, the service reports that mismatch instead of silently replacing the link. Disconnected or archived connections can show saved observations; reconnect before checking Jira again.
The delivery API accepts operation: "refresh-issue" with connectionId, expectedRevision, operationId and expectedAttemptRevision. A successful response adds issueStatus containing its ID, name, optional category and server checkedAt timestamp. A stale attempt revision requires reloading the saved result first. No Jira mutation or remediation transition is performed.
Find accounts by name
For a user field with Fixed value, enter at least two characters under Find a Jira account by name, then choose Search accounts. Select the matching name/account ID and choose Use selected account. The selected ID fills the mapping; Check account still verifies active identity and, for assignees, current project assignability. Reporter permissions and other field restrictions are checked again before creation.
Search requires read:jira-user and the Jira account's directory permissions. Results expose only account ID, display name and active state, not profile emails or avatars. Advertised field options further restrict the visible matches. A blank page can still have More results when field restrictions filter its accounts. Refine the name if the search limit is reached. You can also enter an exact account ID directly.
The service uses Jira's active user search endpoint, with pages of 50 and a maximum range of 1,000 matching users. Empty results do not prove an account is absent; directory permissions can also hide matches. Search is explicit rather than sent for every keystroke.
API clients with a verified administrator browser session can send operation: "search-users", catalogId, fieldId, query and startAt to /api/auth/jira/discover, with the current connection ID/revision. Offsets are multiples of 50 from 0 through 950. Responses contain items, nextStartAt, searchLimit and limitReached. A current complete user-field catalog and grant are required; replaced catalogs or lost access discard in-flight results. Searches do not save field mappings or grant permission to create an issue.
Find a parent issue
When mapping a parent field, choose Fixed value, enter an issue key or words from the title, and choose Search issues. Select a suggestion, choose Use selected issue, then Check parent issue. You can also enter an exact key directly. Selection alone does not validate the issue's hierarchy or permissions; creation checks those again against Jira.
Search returns up to 50 suggestions from recent issue history and the selected project's matches. History can include other projects. This is not a complete inventory: refine the query when an issue is missing. Only plain titles and issue keys are shown. Subtasks still require a non-subtask parent in the same project. Standard issues require a compatible parent hierarchy at creation.
The browser-admin API operation is search-parents on /api/auth/jira/discover, with connectionId, expectedRevision, catalogId, fieldId and query (2 to 100 characters). It requires a complete, current parent-field catalog and the existing authorized Jira grant. Changed access, catalog or connection state invalidates in-flight results. The response has items: [{key, summaryText}] and suggestionLimit: 50. Search and selection do not write to Jira or save a mapping.
Provider behavior follows Atlassian's issue suggestion API. Real-account acceptance remains pending; automated acceptance intercepts synthetic provider responses.
Schedule linked issue status checks
In a migration task's linked Jira result, select Automatic status checks. Choose 15 minutes, one hour, 6 hours or one day, confirm scheduled read permission, then select Enable checks. The panel shows the next due time, last successful check and any saved error. Pause checks stops future reads and invalidates late results; Remove schedule removes the consent record. A request already sent to Jira cannot be recalled. Reload saved result shows the latest retained issue observation.
Schedules continue after sign-out under explicit standing administrator consent. Each execution rechecks the workspace, scheduling administrator, Jira authorization owner, connection revision and platform app identity. Normal OAuth token rotation is supported; reauthorizing the connection, replacing the app, revoking access or changing account/role versions stops the schedule. Review and explicitly enable it again after correcting access. No browser session is extended for background work.
The original site must remain authorized. The issue ID, key, project and issue type must still match the linked record. Identity mismatches pause checks for review; other failed reads retain the previous observation and retry at the next interval. A newer manual observation is not overwritten by an older in-flight scheduled read. Scheduled checks never create/edit issues or verify migration tasks.
The first check runs after the chosen interval. Due times are targets: each workspace processes at most two due Jira schedules per scheduler pass. Recovery after an outage performs one check rather than replaying missed intervals. Up to 1,000 schedule records are retained per workspace; remove unused schedules to free capacity.
POST /api/auth/jira/sync supports read, save, pause and remove in a verified
administrator browser session. Save includes confirm: true, operationId,
connectionId, expectedRevision, expectedConnectionRevision and intervalSeconds.
Provider acceptance against a real Jira account remains separate from automated
Worker/provider-fixture coverage.
Disconnected, archived and awaiting-authorization connections retain saved schedule information. Automatic status checks explains how to restore authorization and keeps Pause checks and Remove schedule available when applicable. It does not offer enable or interval controls until the connection is authorized again. A retained enabled flag is labeled as unable to run when its connection is inactive.
Permanently delete a connection
In Integrations > Jira > Manage Jira, disconnect the connection, then select Delete permanently. Archived connections also offer this action. Review the inline confirmation; Keep connection cancels without changing anything. Deletion removes saved credentials, field configuration and automatic status-check schedules. It does not delete or modify Jira issues. If the response is lost, retry using the same connection revision; a confirmed deletion is safe to repeat.
Ticket receipts and audit history remain available. Open the migration task's Jira ticket panel and choose Deleted connection history, then select its generic connection identifier and Review ticket. This view shows saved results without contacting Jira. An uncertain result still means Jira may have created the issue; inspect Jira before manually creating a replacement. A request sent before disconnection/deletion can still return a receipt, which remains in this history. Deleted connections cannot be restored or reauthorized; add a new connection if needed. Historic task receipts do not transfer to the new connection.
Administrators can call POST /api/v1/jira-connections/{id}/delete with
expectedRevision and confirm: true. Active credentials must be disconnected
first. Normal connection reads return 404 after deletion. To page through generic
history identifiers, use GET /api/v1/jira-connections?deleted=true; do not combine
deleted=true with archived=true.
JavaScript: client.deleteJiraConnection(id, revision, true) and
client.jiraConnections({deleted: true}). Python:
client.delete_jira_connection(id, revision, True) and
client.jira_connections(deleted=True). MCP exposes jira_connections,
jira_connection and the administrator-only jira_connection_delete tool.
Deletion requires explicit confirm: true; OAuth/workspace authorization still
applies. SDK and MCP history listing returns connection identifiers, while the
browser migration-task panel provides retained ticket receipts.