Zum Hauptinhalt springen

Jira-Aufgabe übermitteln

POST /api/auth/jira/deliver

Nur kanonische Herkunft. POST erfordert einen exakten Origin-Header und application/json. Browser-Sitzungen verwenden ein HttpOnly-, Secure-, SameSite=Strict-Cookie. Einrichtungssitzungen können nicht auf Tenant-APIs zugreifen. Tenant-Bereitstellung und globales Audit erfordern einen Plattformbetreiber; Mitgliederverwaltung erfordert einen Tenant-Administrator. SSO ist aufgeschoben. Verifizierte Browser-Sitzung eines Workspace-Administrators erforderlich. Erstellung akzeptiert einen exakt geprüften Vorschau-Hash und eine stabile Anfrage-ID mit expliziter Bestätigung. Wiederholte Anfragen wiederholen niemals die Provider-Lieferung. Status liest den letzten Verbindungs-/Aufgabenversuch, auch nach Trennung. Abgleich erfordert das ursprüngliche Ziel und eine passende Anfrage-/Nutzlast-Issue-Eigenschaft; unklare Lieferung erlaubt niemals blinde Wiederholung. Eine eindeutige Ablehnung erfordert eine neue Vorschau und explizites retryOf. Der Vorgang refresh-issue liest das ursprünglich verknüpfte Issue unter aktueller Autorisierung und speichert eine Statusbeobachtung mit Zeitstempel. Geänderte Identität/Ziel werden zurückgewiesen; vorherige Beobachtungen bleiben bei Fehlern erhalten. Jira-Links und Status verifizieren keine Behebung.

Authentifizierung​

Die folgenden OpenAPI-Alternativen beschreiben die akzeptierte Authentifizierung. Änderungen über den Browser erfordern außerdem den kanonischen Origin-Header.

[
{
"browserSession": []
}
]

Parameter​

[]

Anfrageinhalt​

{
"required": true,
"content": {
"application/json": {
"schema": {
"oneOf": [
{
"type": "object",
"properties": {
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"connectionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"planId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"previewId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"payloadHash": {
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
"retryOf": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"operation": {
"type": "string",
"const": "create"
},
"expectedRevision": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"confirm": {
"type": "boolean",
"const": true
}
},
"required": [
"requestId",
"connectionId",
"planId",
"previewId",
"payloadHash",
"operation",
"expectedRevision",
"confirm"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"operation": {
"type": "string",
"const": "resolve-conflict"
},
"connectionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expectedRevision": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"operationId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expectedAttemptRevision": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"issueId": {
"type": "string",
"pattern": "^\\d{1,20}$"
},
"issueKey": {
"type": "string",
"pattern": "^[A-Z][A-Z0-9_]{0,63}-\\d{1,20}$"
},
"reason": {
"type": "string",
"minLength": 10,
"maxLength": 500
},
"confirm": {
"type": "boolean",
"const": true
},
"acknowledgeOtherIssue": {
"type": "boolean",
"const": true
}
},
"required": [
"operation",
"connectionId",
"expectedRevision",
"operationId",
"expectedAttemptRevision",
"issueId",
"issueKey",
"reason",
"confirm",
"acknowledgeOtherIssue"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"operation": {
"type": "string",
"const": "refresh-issue"
},
"connectionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expectedRevision": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"operationId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expectedAttemptRevision": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"operation",
"connectionId",
"expectedRevision",
"operationId",
"expectedAttemptRevision"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"operation": {
"type": "string",
"const": "status"
},
"connectionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"planId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"required": [
"operation",
"connectionId",
"planId"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"operation": {
"type": "string",
"const": "reconcile"
},
"connectionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expectedRevision": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"operationId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expectedAttemptRevision": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"issueKey": {
"type": "string",
"pattern": "^[A-Z][A-Z0-9_]{0,63}-\\d{1,20}$"
},
"confirm": {
"type": "boolean",
"const": true
}
},
"required": [
"operation",
"connectionId",
"expectedRevision",
"operationId",
"expectedAttemptRevision",
"issueKey",
"confirm"
],
"additionalProperties": false
}
]
}
}
}
}

Antworten​

{
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"attempt": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"connectionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"planId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"previewId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"state": {
"type": "string",
"enum": [
"validating",
"dispatching",
"created",
"rejected",
"uncertain",
"conflict"
]
},
"revision": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"createdAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"updatedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"issue": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^\\d{1,20}$"
},
"key": {
"type": "string",
"pattern": "^[A-Z][A-Z0-9_]{0,63}-\\d{1,20}$"
}
},
"required": [
"id",
"key"
],
"additionalProperties": false
},
"issueUrl": {
"type": "string",
"format": "uri"
},
"issueStatus": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^\\d{1,20}$"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"category": {
"type": "object",
"properties": {
"key": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"key",
"name"
],
"additionalProperties": false
},
"checkedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
}
},
"required": [
"id",
"name",
"checkedAt"
],
"additionalProperties": false
},
"resolution": {
"type": "object",
"properties": {
"selected": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^\\d{1,20}$"
},
"key": {
"type": "string",
"pattern": "^[A-Z][A-Z0-9_]{0,63}-\\d{1,20}$"
}
},
"required": [
"id",
"key"
]
},
"other": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^\\d{1,20}$"
},
"key": {
"type": "string",
"pattern": "^[A-Z][A-Z0-9_]{0,63}-\\d{1,20}$"
}
},
"required": [
"id",
"key"
]
},
"reason": {
"type": "string",
"minLength": 10,
"maxLength": 500
},
"resolvedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
}
},
"required": [
"selected",
"other",
"reason",
"resolvedAt"
],
"additionalProperties": false
},
"errorCode": {
"type": "string"
},
"conflictingIssue": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^\\d{1,20}$"
},
"key": {
"type": "string",
"pattern": "^[A-Z][A-Z0-9_]{0,63}-\\d{1,20}$"
}
},
"required": [
"id",
"key"
],
"additionalProperties": false
},
"retryable": {
"type": "boolean"
}
},
"required": [
"id",
"connectionId",
"planId",
"previewId",
"state",
"revision",
"createdAt",
"updatedAt",
"retryable"
],
"additionalProperties": false
},
{
"type": "null"
}
]
}
},
"required": [
"attempt"
],
"additionalProperties": false
}
}
}
},
"400": {
"description": "Validation error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"401": {
"description": "Missing/expired/revoked credential",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"403": {
"description": "Insufficient role",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"404": {
"description": "Not found",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"409": {
"description": "State or idempotency conflict",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"413": {
"description": "Body too large",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"415": {
"description": "Unsupported media type",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"429": {
"description": "Request budget exhausted; respect Retry-After",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
},
"headers": {
"Retry-After": {
"schema": {
"type": "integer",
"minimum": 1
},
"description": "Seconds until sufficient budget is expected; concurrent traffic may consume replenished capacity."
}
}
},
"500": {
"description": "Internal error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"503": {
"description": "Not configured",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
}
}

Referenzen wie #/components/schemas/Asset werden in den gemeinsamen Schemas aufgelöst. Lade den OpenAPI-Vertrag zur Clientgenerierung herunter. Diese Seite wird generiert; sie beschreibt die implementierte Entwicklungs-API, keine geplanten Endpunkte.