Description of the Ticket. Accepts plain text or an Atlassian Document Format (ADF) document — an object, or that object serialized to a string — for rich text such as headings, bold and code blocks. ADF is passed to Jira unchanged; plain text is wrapped for you. Vendors that store plain text (e.g. ServiceNow) receive the flattened text.
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Leen.dev Unified API for Security","colors":{"primary":"#8C43EA","light":"#B5FF56","dark":"#8C43EA"},"favicon":"https://mintcdn.com/leen/vQ2Rhs44KY1LGMJC/favicon.png?fit=max\u0026auto=format\u0026n=vQ2Rhs44KY1LGMJC\u0026q=85\u0026s=00c30a06bc8cf54ffc2eaafd1c8a90d5","logo":{"light":"https://mintcdn.com/leen/0MpnNXrQ3mRuduqT/logo/light.svg?fit=max\u0026auto=format\u0026n=0MpnNXrQ3mRuduqT\u0026q=85\u0026s=f622048d909cda879d6dc25b3331a9a8","dark":"https://mintcdn.com/leen/0MpnNXrQ3mRuduqT/logo/dark.svg?fit=max\u0026auto=format\u0026n=0MpnNXrQ3mRuduqT\u0026q=85\u0026s=53e1f792b0c80b645b1350397e708e18"},"api":{"openapi":["openapi.json","openapi_v2.json"]},"appearance":{"default":"light","strict":false},"background":{"decoration":null,"color":{"light":"#F6F5EF","dark":"#090d0e"}},"navbar":{"links":[{"label":"Support","href":"mailto:contact@leen.dev"}],"primary":null},"integrations":{"ga4":{"measurementId":"G-0RXD479LK7"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"leen","hasAudioNarration":false,"actualSubdomain":"leen","customDomains":["docs.leen.dev"],"gitSource":{"type":"github","owner":"leeninc","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae0b2830b083cd94624604d","clientVersion":"0.0.4102","searchFilterCounts":[{"language":"default","tag":"API Reference","count":91},{"language":"default","tag":"Documentation","count":64},{"language":"default","tag":"Integrations","count":54},{"language":"default","tag":"Setup Instructions","count":36},{"language":"default","tag":"ITSM","count":23},{"language":"default","tag":"Identity Provider (IDP)","count":13},{"language":"default","tag":"Provisioning","count":11},{"language":"default","tag":"Application Security (AppSec)","count":11},{"language":"default","tag":"GRC","count":9},{"language":"default","tag":"Vulnerability Management (VMS)","count":9}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/itsm/update-ticket-by-id","slug":"/api-reference/itsm/update-ticket-by-id","pageMetadata":{"openapi":"patch /itsm/tickets/{ticket_id}","title":"Update ITSM Ticket by ID","description":"Update an ITSM ticket.\n\nThis endpoint follows a vendor-first pattern:\n1. Updates the ticket in the vendor system (e.g., JIRA)\n2. If vendor update succeeds, updates the local database\n3. Returns the updated ticket\n\nUpdatable fields:\n- status: Ticket status (normalized to Leen values)\n- priority: Ticket priority (normalized to Leen values)\n- assigned_user_id: UUID of the assigned user\n- name: Ticket title/summary\n- description: Ticket description\n\nNote: All fields are optional. Only provided fields will be updated.","href":"/api-reference/itsm/update-ticket-by-id"},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n li: \"li\",\n ol: \"ol\",\n p: \"p\",\n ul: \"ul\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Update an ITSM ticket.\"\n }), \"\\n\", _jsx(_components.p, {\n children: \"This endpoint follows a vendor-first pattern:\"\n }), \"\\n\", _jsxs(_components.ol, {\n children: [\"\\n\", _jsx(_components.li, {\n children: \"Updates the ticket in the vendor system (e.g., JIRA)\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"If vendor update succeeds, updates the local database\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"Returns the updated ticket\"\n }), \"\\n\"]\n }), \"\\n\", _jsx(_components.p, {\n children: \"Updatable fields:\"\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsx(_components.li, {\n children: \"status: Ticket status (normalized to Leen values)\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"priority: Ticket priority (normalized to Leen values)\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"assigned_user_id: UUID of the assigned user\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"name: Ticket title/summary\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"description: Ticket description\"\n }), \"\\n\"]\n }), \"\\n\", _jsx(_components.p, {\n children: \"Note: All fields are optional. Only provided fields will be updated.\"\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"openapi":"patch /itsm/tickets/{ticket_id}","title":"Update ITSM Ticket by ID","description":"Update an ITSM ticket.\n\nThis endpoint follows a vendor-first pattern:\n1. Updates the ticket in the vendor system (e.g., JIRA)\n2. If vendor update succeeds, updates the local database\n3. Returns the updated ticket\n\nUpdatable fields:\n- status: Ticket status (normalized to Leen values)\n- priority: Ticket priority (normalized to Leen values)\n- assigned_user_id: UUID of the assigned user\n- name: Ticket title/summary\n- description: Ticket description\n\nNote: All fields are optional. Only provided fields will be updated.","href":"/api-reference/itsm/update-ticket-by-id"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"description":"Update an ITSM ticket.\n\nThis endpoint follows a vendor-first pattern:\n1. Updates the ticket in the vendor system (e.g., JIRA)\n2. If vendor update succeeds, updates the local database\n3. Returns the updated ticket\n\nUpdatable fields:\n- status: Ticket status (normalized to Leen values)\n- priority: Ticket priority (normalized to Leen values)\n- assigned_user_id: UUID of the assigned user\n- name: Ticket title/summary\n- description: Ticket description\n\nNote: All fields are optional. Only provided fields will be updated.","operationId":"update_ticket_by_id","parameters":["f14cbf2c-f0fd-4c78-95ff-c6dfe5cca5be"],"requestBody":"1b75a6f3-08e9-4cbd-a972-dbc4c02efa8e","responses":{"200":"7ae98c56-92b2-4bb3-a5a0-5803e75433c2","404":"f0d73998-3524-4df9-94fe-3c5db3626b0b","422":"bfc7c268-ad6d-437b-88d0-6b09876ca420","500":"d9a93bd0-5976-491a-8c42-7b2e7173a49f","501":"67253c4a-17d4-4220-8754-0ba0f8dd929a"},"security":["88d68e9d-f995-4418-99b4-9ef804791c7e"],"summary":"Update ITSM Ticket by ID","tags":["ITSM","Tickets"],"method":"patch","type":"path","servers":["f90a6b90-72d5-4b55-b234-2914fbc62d65","3361ee71-d73f-428e-a454-e36776673607","5e7aafd1-736a-4f52-bc35-6f2fa35bc169"],"path":"/itsm/tickets/{ticket_id}","baseUrlOptions":["https://api.leen.dev/v1","https://api.eu-c1.leen.dev/v1","https://api.ap-se2.leen.dev/v1"],"title":"Update ITSM Ticket by ID","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"f14cbf2c-f0fd-4c78-95ff-c6dfe5cca5be":{"in":"path","name":"ticket_id","required":true,"schema":{"format":"uuid","title":"Ticket Id","type":"string","isRequired":true,"uniqueKey":"","typeLabel":"string\u003cuuid>"}}},"requestBody":{"content":{"application/json":{"schema":{"properties":{"assigned_user_id":{"oneOf":[{"type":"string","title":"Assigned User Id","description":"User ID assigned to the Ticket","format":"uuid","uniqueKey":"assigned_user_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","title":"Assigned User Id","description":"User ID assigned to the Ticket","uniqueKey":"assigned_user_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"assigned_user_id","typeLabel":"string\u003cuuid> | null"},"comments":{"oneOf":[{"type":"string","title":"Comments","description":"Public-facing comments visible to end users. ServiceNow: maps to 'comments'. Ignored for Jira.","uniqueKey":"comments.oneOf.0","typeLabel":"string"},{"type":"null","title":"Comments","description":"Public-facing comments visible to end users. ServiceNow: maps to 'comments'. Ignored for Jira.","uniqueKey":"comments.oneOf.1","typeLabel":"null"}],"uniqueKey":"comments","typeLabel":"string | null"},"description":{"oneOf":[{"type":"string","title":"Description","description":"Description of the Ticket. Accepts plain text or an Atlassian Document Format (ADF) document — an object, or that object serialized to a string — for rich text such as headings, bold and code blocks. ADF is passed to Jira unchanged; plain text is wrapped for you. Vendors that store plain text (e.g. ServiceNow) receive the flattened text.","uniqueKey":"description.oneOf.0","typeLabel":"string"},{"type":"object","title":"Description","description":"Description of the Ticket. Accepts plain text or an Atlassian Document Format (ADF) document — an object, or that object serialized to a string — for rich text such as headings, bold and code blocks. ADF is passed to Jira unchanged; plain text is wrapped for you. Vendors that store plain text (e.g. ServiceNow) receive the flattened text.","additionalProperties":true,"uniqueKey":"description.oneOf.1","typeLabel":"Description · object"},{"type":"null","title":"Description","description":"Description of the Ticket. Accepts plain text or an Atlassian Document Format (ADF) document — an object, or that object serialized to a string — for rich text such as headings, bold and code blocks. ADF is passed to Jira unchanged; plain text is wrapped for you. Vendors that store plain text (e.g. ServiceNow) receive the flattened text.","uniqueKey":"description.oneOf.2","typeLabel":"null"}],"uniqueKey":"description","typeLabel":"string | Description · object | null"},"name":{"oneOf":[{"type":"string","title":"Name","description":"Name/Title of the Ticket","uniqueKey":"name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Name","description":"Name/Title of the Ticket","uniqueKey":"name.oneOf.1","typeLabel":"null"}],"uniqueKey":"name","typeLabel":"string | null"},"priority":{"oneOf":[{"type":"string","title":"Priority","description":"Priority of the Ticket","uniqueKey":"priority.oneOf.0","typeLabel":"string"},{"type":"null","title":"Priority","description":"Priority of the Ticket","uniqueKey":"priority.oneOf.1","typeLabel":"null"}],"uniqueKey":"priority","typeLabel":"string | null"},"resolution_notes":{"oneOf":[{"type":"string","title":"Resolution Notes","description":"Detailed explanation of resolution. ServiceNow: maps to 'close_notes'. Ignored for Jira.","uniqueKey":"resolution_notes.oneOf.0","typeLabel":"string"},{"type":"null","title":"Resolution Notes","description":"Detailed explanation of resolution. ServiceNow: maps to 'close_notes'. Ignored for Jira.","uniqueKey":"resolution_notes.oneOf.1","typeLabel":"null"}],"uniqueKey":"resolution_notes","typeLabel":"string | null"},"resolution_reason":{"oneOf":[{"type":"string","title":"Resolution Reason","description":"Category/reason for resolution. ServiceNow: maps to 'close_code'. Ignored for Jira.","uniqueKey":"resolution_reason.oneOf.0","typeLabel":"string"},{"type":"null","title":"Resolution Reason","description":"Category/reason for resolution. ServiceNow: maps to 'close_code'. Ignored for Jira.","uniqueKey":"resolution_reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"resolution_reason","typeLabel":"string | null"},"status":{"oneOf":[{"type":"string","title":"Status","description":"Status of the Ticket","uniqueKey":"status.oneOf.0","typeLabel":"string"},{"type":"null","title":"Status","description":"Status of the Ticket","uniqueKey":"status.oneOf.1","typeLabel":"null"}],"uniqueKey":"status","typeLabel":"string | null"},"status_change_reason":{"oneOf":[{"type":"string","title":"Status Change Reason","description":"Reason for a status change (e.g. reason for putting on hold). ServiceNow: maps to 'hold_reason'. Ignored for Jira.","uniqueKey":"status_change_reason.oneOf.0","typeLabel":"string"},{"type":"null","title":"Status Change Reason","description":"Reason for a status change (e.g. reason for putting on hold). ServiceNow: maps to 'hold_reason'. Ignored for Jira.","uniqueKey":"status_change_reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"status_change_reason","typeLabel":"string | null"},"work_notes":{"oneOf":[{"type":"string","title":"Work Notes","description":"Internal work notes visible only to agents. ServiceNow: maps to 'work_notes'. Ignored for Jira.","uniqueKey":"work_notes.oneOf.0","typeLabel":"string"},{"type":"null","title":"Work Notes","description":"Internal work notes visible only to agents. ServiceNow: maps to 'work_notes'. Ignored for Jira.","uniqueKey":"work_notes.oneOf.1","typeLabel":"null"}],"uniqueKey":"work_notes","typeLabel":"string | null"}},"title":"ITSM Ticket Update Request","type":"object","uniqueKey":"","typeLabel":"ITSM Ticket Update Request · object"},"examples":{"Example":{"title":"Example","value":{"assigned_user_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","comments":"\u003cstring>","description":"\u003cstring>","name":"\u003cstring>","priority":"\u003cstring>","resolution_notes":"\u003cstring>","resolution_reason":"\u003cstring>","status":"\u003cstring>","status_change_reason":"\u003cstring>","work_notes":"\u003cstring>"}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"7ae98c56-92b2-4bb3-a5a0-5803e75433c2":{"content":{"application/json":{"schema":{"properties":{"id":{"description":"Leen's UUID for the Ticket","format":"uuid","title":"Id","type":"string","isRequired":true,"uniqueKey":"id","typeLabel":"string\u003cuuid>"},"name":{"description":"Name of the Ticket","title":"Name","type":"string","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"status":{"description":"Status of the Ticket","title":"Status","type":"string","isRequired":true,"uniqueKey":"status","typeLabel":"string"},"vendor_attributes":{"properties":{"id":{"description":"Vendor's ID for the Ticket","title":"Id","type":"string","isRequired":true,"uniqueKey":"vendor_attributes.id","typeLabel":"string"},"vendor":{"description":"Vendor name","title":"Vendor","type":"string","isRequired":true,"uniqueKey":"vendor_attributes.vendor","typeLabel":"string"},"created_at":{"oneOf":[{"type":"string","title":"Created At","description":"Creation time of the Ticket in Vendor","format":"date-time","uniqueKey":"vendor_attributes.created_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Created At","description":"Creation time of the Ticket in Vendor","uniqueKey":"vendor_attributes.created_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"vendor_attributes.created_at","typeLabel":"string\u003cdate-time> | null"},"data":{"oneOf":[{"type":"object","title":"JiraTicketVendorAttributesData","description":"Vendor-specific data associated with the Ticket","properties":{"customFields":{"oneOf":[{"type":"object","title":"Customfields","additionalProperties":true,"uniqueKey":"vendor_attributes.data.oneOf.0.customFields.oneOf.0","typeLabel":"Customfields · object"},{"type":"null","title":"Customfields","uniqueKey":"vendor_attributes.data.oneOf.0.customFields.oneOf.1","typeLabel":"null"}],"uniqueKey":"vendor_attributes.data.oneOf.0.customFields","typeLabel":"Customfields · object | null"},"id":{"oneOf":[{"type":"string","title":"Id","uniqueKey":"vendor_attributes.data.oneOf.0.id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Id","uniqueKey":"vendor_attributes.data.oneOf.0.id.oneOf.1","typeLabel":"null"}],"uniqueKey":"vendor_attributes.data.oneOf.0.id","typeLabel":"string | null"},"statusCategory":{"oneOf":[{"type":"string","title":"Statuscategory","uniqueKey":"vendor_attributes.data.oneOf.0.statusCategory.oneOf.0","typeLabel":"string"},{"type":"null","title":"Statuscategory","uniqueKey":"vendor_attributes.data.oneOf.0.statusCategory.oneOf.1","typeLabel":"null"}],"uniqueKey":"vendor_attributes.data.oneOf.0.statusCategory","typeLabel":"string | null"},"vendor":{"const":"JIRA","default":"JIRA","title":"Vendor","type":"string","uniqueKey":"vendor_attributes.data.oneOf.0.vendor","typeLabel":"string"}},"uniqueKey":"vendor_attributes.data.oneOf.0","typeLabel":"JiraTicketVendorAttributesData · object"},{"type":"object","title":"ServiceNowTicketVendorAttributesData","description":"Vendor-specific data associated with the Ticket","properties":{"customFields":{"oneOf":[{"type":"object","title":"Customfields","additionalProperties":true,"uniqueKey":"vendor_attributes.data.oneOf.1.customFields.oneOf.0","typeLabel":"Customfields · object"},{"type":"null","title":"Customfields","uniqueKey":"vendor_attributes.data.oneOf.1.customFields.oneOf.1","typeLabel":"null"}],"uniqueKey":"vendor_attributes.data.oneOf.1.customFields","typeLabel":"Customfields · object | null"},"number":{"oneOf":[{"type":"string","title":"Number","uniqueKey":"vendor_attributes.data.oneOf.1.number.oneOf.0","typeLabel":"string"},{"type":"null","title":"Number","uniqueKey":"vendor_attributes.data.oneOf.1.number.oneOf.1","typeLabel":"null"}],"uniqueKey":"vendor_attributes.data.oneOf.1.number","typeLabel":"string | null"},"priorityNumeric":{"oneOf":[{"type":"string","title":"Prioritynumeric","uniqueKey":"vendor_attributes.data.oneOf.1.priorityNumeric.oneOf.0","typeLabel":"string"},{"type":"null","title":"Prioritynumeric","uniqueKey":"vendor_attributes.data.oneOf.1.priorityNumeric.oneOf.1","typeLabel":"null"}],"uniqueKey":"vendor_attributes.data.oneOf.1.priorityNumeric","typeLabel":"string | null"},"state":{"oneOf":[{"type":"string","title":"State","uniqueKey":"vendor_attributes.data.oneOf.1.state.oneOf.0","typeLabel":"string"},{"type":"null","title":"State","uniqueKey":"vendor_attributes.data.oneOf.1.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"vendor_attributes.data.oneOf.1.state","typeLabel":"string | null"},"vendor":{"const":"SERVICENOW_ITSM","default":"SERVICENOW_ITSM","title":"Vendor","type":"string","uniqueKey":"vendor_attributes.data.oneOf.1.vendor","typeLabel":"string"}},"uniqueKey":"vendor_attributes.data.oneOf.1","typeLabel":"ServiceNowTicketVendorAttributesData · object"},{"type":"null","title":"Data","description":"Vendor-specific data associated with the Ticket","uniqueKey":"vendor_attributes.data.oneOf.2","typeLabel":"null"}],"uniqueKey":"vendor_attributes.data","typeLabel":"JiraTicketVendorAttributesData · object | ServiceNowTicketVendorAttributesData · object | null"},"priority":{"oneOf":[{"type":"string","title":"Priority","description":"Vendor priority of the Ticket","uniqueKey":"vendor_attributes.priority.oneOf.0","typeLabel":"string"},{"type":"null","title":"Priority","description":"Vendor priority of the Ticket","uniqueKey":"vendor_attributes.priority.oneOf.1","typeLabel":"null"}],"uniqueKey":"vendor_attributes.priority","typeLabel":"string | null"},"status":{"oneOf":[{"type":"string","title":"Status","description":"Vendor status of the Ticket","uniqueKey":"vendor_attributes.status.oneOf.0","typeLabel":"string"},{"type":"null","title":"Status","description":"Vendor status of the Ticket","uniqueKey":"vendor_attributes.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"vendor_attributes.status","typeLabel":"string | null"},"type":{"oneOf":[{"type":"string","title":"Type","description":"Vendor type of the Ticket","uniqueKey":"vendor_attributes.type.oneOf.0","typeLabel":"string"},{"type":"null","title":"Type","description":"Vendor type of the Ticket","uniqueKey":"vendor_attributes.type.oneOf.1","typeLabel":"null"}],"uniqueKey":"vendor_attributes.type","typeLabel":"string | null"},"type_id":{"oneOf":[{"type":"string","title":"Type Id","description":"Vendor type ID of the Ticket","uniqueKey":"vendor_attributes.type_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Type Id","description":"Vendor type ID of the Ticket","uniqueKey":"vendor_attributes.type_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"vendor_attributes.type_id","typeLabel":"string | null"},"updated_at":{"oneOf":[{"type":"string","title":"Updated At","description":"Last update time of the Ticket in Vendor","format":"date-time","uniqueKey":"vendor_attributes.updated_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Updated At","description":"Last update time of the Ticket in Vendor","uniqueKey":"vendor_attributes.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"vendor_attributes.updated_at","typeLabel":"string\u003cdate-time> | null"}},"required":["id","vendor"],"title":"ITSM Ticket Vendor Attributes","type":"object","description":"Vendor-specific attributes of the Ticket","isRequired":true,"uniqueKey":"vendor_attributes","typeLabel":"ITSM Ticket Vendor Attributes · object"},"active":{"oneOf":[{"type":"boolean","title":"Active","description":"Whether the Ticket is active","uniqueKey":"active.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Active","description":"Whether the Ticket is active","uniqueKey":"active.oneOf.1","typeLabel":"null"}],"uniqueKey":"active","typeLabel":"boolean | null"},"assigned_user_id":{"oneOf":[{"type":"string","title":"Assigned User Id","description":"User ID assigned to the Ticket","format":"uuid","uniqueKey":"assigned_user_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","title":"Assigned User Id","description":"User ID assigned to the Ticket","uniqueKey":"assigned_user_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"assigned_user_id","typeLabel":"string\u003cuuid> | null"},"closed_at":{"oneOf":[{"type":"string","title":"Closed At","description":"Closing time of the Ticket","format":"date-time","uniqueKey":"closed_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Closed At","description":"Closing time of the Ticket","uniqueKey":"closed_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"closed_at","typeLabel":"string\u003cdate-time> | null"},"created_by_user_id":{"oneOf":[{"type":"string","title":"Created By User Id","description":"User ID who created the Ticket","format":"uuid","uniqueKey":"created_by_user_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","title":"Created By User Id","description":"User ID who created the Ticket","uniqueKey":"created_by_user_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"created_by_user_id","typeLabel":"string\u003cuuid> | null"},"description":{"oneOf":[{"type":"string","title":"Description","description":"Description of the Ticket","uniqueKey":"description.oneOf.0","typeLabel":"string"},{"type":"null","title":"Description","description":"Description of the Ticket","uniqueKey":"description.oneOf.1","typeLabel":"null"}],"uniqueKey":"description","typeLabel":"string | null"},"due_date":{"oneOf":[{"type":"string","title":"Due Date","description":"Due date of the Ticket","format":"date-time","uniqueKey":"due_date.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Due Date","description":"Due date of the Ticket","uniqueKey":"due_date.oneOf.1","typeLabel":"null"}],"uniqueKey":"due_date","typeLabel":"string\u003cdate-time> | null"},"identifier":{"oneOf":[{"type":"string","title":"Identifier","description":"User-provided tracking identifier for the Ticket","uniqueKey":"identifier.oneOf.0","typeLabel":"string"},{"type":"null","title":"Identifier","description":"User-provided tracking identifier for the Ticket","uniqueKey":"identifier.oneOf.1","typeLabel":"null"}],"uniqueKey":"identifier","typeLabel":"string | null"},"parent_ticket_id":{"oneOf":[{"type":"string","title":"Parent Ticket Id","description":"Parent Ticket ID (for sub-tasks)","format":"uuid","uniqueKey":"parent_ticket_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","title":"Parent Ticket Id","description":"Parent Ticket ID (for sub-tasks)","uniqueKey":"parent_ticket_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"parent_ticket_id","typeLabel":"string\u003cuuid> | null"},"priority":{"oneOf":[{"type":"string","title":"Priority","description":"Priority of the Ticket","uniqueKey":"priority.oneOf.0","typeLabel":"string"},{"type":"null","title":"Priority","description":"Priority of the Ticket","uniqueKey":"priority.oneOf.1","typeLabel":"null"}],"uniqueKey":"priority","typeLabel":"string | null"},"project_id":{"oneOf":[{"type":"string","title":"Project Id","description":"Project ID the Ticket belongs to","format":"uuid","uniqueKey":"project_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","title":"Project Id","description":"Project ID the Ticket belongs to","uniqueKey":"project_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"project_id","typeLabel":"string\u003cuuid> | null"},"status_updated_at":{"oneOf":[{"type":"string","title":"Status Updated At","description":"Last status update time","format":"date-time","uniqueKey":"status_updated_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Status Updated At","description":"Last status update time","uniqueKey":"status_updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"status_updated_at","typeLabel":"string\u003cdate-time> | null"},"tags":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"tags.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Tags","description":"Tags associated with the Ticket","uniqueKey":"tags.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Tags","description":"Tags associated with the Ticket","uniqueKey":"tags.oneOf.1","typeLabel":"null"}],"uniqueKey":"tags","typeLabel":"string[] | null"},"ticket_created_at":{"oneOf":[{"type":"string","title":"Ticket Created At","description":"Creation time of the Ticket in the vendor system","format":"date-time","uniqueKey":"ticket_created_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Ticket Created At","description":"Creation time of the Ticket in the vendor system","uniqueKey":"ticket_created_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"ticket_created_at","typeLabel":"string\u003cdate-time> | null"},"type":{"oneOf":[{"type":"string","title":"Type","description":"Type of the Ticket (e.g., Epic, Story, Task, Bug)","uniqueKey":"type.oneOf.0","typeLabel":"string"},{"type":"null","title":"Type","description":"Type of the Ticket (e.g., Epic, Story, Task, Bug)","uniqueKey":"type.oneOf.1","typeLabel":"null"}],"uniqueKey":"type","typeLabel":"string | null"},"type_id":{"oneOf":[{"type":"string","title":"Type Id","description":"Vendor-specific type ID (e.g., Jira issue type ID)","uniqueKey":"type_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Type Id","description":"Vendor-specific type ID (e.g., Jira issue type ID)","uniqueKey":"type_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"type_id","typeLabel":"string | null"},"url":{"oneOf":[{"type":"string","title":"Url","description":"URL of the Ticket","uniqueKey":"url.oneOf.0","typeLabel":"string"},{"type":"null","title":"Url","description":"URL of the Ticket","uniqueKey":"url.oneOf.1","typeLabel":"null"}],"uniqueKey":"url","typeLabel":"string | null"}},"required":["id","name","status","vendor_attributes"],"title":"ITSM Ticket","type":"object","uniqueKey":"","typeLabel":"ITSM Ticket · object"},"examples":{"Example":{"title":"Example","value":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","name":"\u003cstring>","status":"\u003cstring>","vendor_attributes":{"id":"\u003cstring>","vendor":"\u003cstring>","created_at":"2023-11-07T05:31:56Z","data":{"customFields":{},"id":"\u003cstring>","statusCategory":"\u003cstring>","vendor":"JIRA"},"priority":"\u003cstring>","status":"\u003cstring>","type":"\u003cstring>","type_id":"\u003cstring>","updated_at":"2023-11-07T05:31:56Z"},"active":true,"assigned_user_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","closed_at":"2023-11-07T05:31:56Z","created_by_user_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","description":"\u003cstring>","due_date":"2023-11-07T05:31:56Z","identifier":"\u003cstring>","parent_ticket_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","priority":"\u003cstring>","project_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","status_updated_at":"2023-11-07T05:31:56Z","tags":["\u003cstring>"],"ticket_created_at":"2023-11-07T05:31:56Z","type":"\u003cstring>","type_id":"\u003cstring>","url":"\u003cstring>"}}},"exampleType":"generated"}},"description":"Successful Response","exampleType":"generated"},"f0d73998-3524-4df9-94fe-3c5db3626b0b":{"content":{"application/json":{"schema":{"properties":{"code":{"description":"Error code","title":"Code","type":"string","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"detail":{"description":"List of error dictionaries","items":{"additionalProperties":true,"type":"object","uniqueKey":"detail.items.[INDEX]","typeLabel":"object"},"title":"Detail","type":"array","isRequired":true,"uniqueKey":"detail","typeLabel":"Detail · object[]"},"message":{"description":"Error message","title":"Message","type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"type":{"description":"Type of error","title":"Type","type":"string","isRequired":true,"uniqueKey":"type","typeLabel":"string"}},"required":["type","code","message","detail"],"title":"ErrorResponse","type":"object","uniqueKey":"","typeLabel":"ErrorResponse · object"},"examples":{"Example":{"title":"Example","value":{"code":"\u003cstring>","detail":[{}],"message":"\u003cstring>","type":"\u003cstring>"}}},"exampleType":"generated"}},"description":"Not Found","exampleType":"generated"},"bfc7c268-ad6d-437b-88d0-6b09876ca420":{"content":{"application/json":{"schema":{"properties":{"code":{"description":"Error code","title":"Code","type":"string","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"detail":{"description":"List of error dictionaries","items":{"additionalProperties":true,"type":"object","uniqueKey":"detail.items.[INDEX]","typeLabel":"object"},"title":"Detail","type":"array","isRequired":true,"uniqueKey":"detail","typeLabel":"Detail · object[]"},"message":{"description":"Error message","title":"Message","type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"type":{"description":"Type of error","title":"Type","type":"string","isRequired":true,"uniqueKey":"type","typeLabel":"string"}},"required":["type","code","message","detail"],"title":"ErrorResponse","type":"object","uniqueKey":"","typeLabel":"ErrorResponse · object"},"examples":{"Example":{"title":"Example","value":{"code":"\u003cstring>","detail":[{}],"message":"\u003cstring>","type":"\u003cstring>"}}},"exampleType":"generated"}},"description":"Unprocessable Content","exampleType":"generated"},"d9a93bd0-5976-491a-8c42-7b2e7173a49f":{"content":{"application/json":{"schema":{"properties":{"code":{"description":"Error code","title":"Code","type":"string","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"detail":{"description":"List of error dictionaries","items":{"additionalProperties":true,"type":"object","uniqueKey":"detail.items.[INDEX]","typeLabel":"object"},"title":"Detail","type":"array","isRequired":true,"uniqueKey":"detail","typeLabel":"Detail · object[]"},"message":{"description":"Error message","title":"Message","type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"type":{"description":"Type of error","title":"Type","type":"string","isRequired":true,"uniqueKey":"type","typeLabel":"string"}},"required":["type","code","message","detail"],"title":"ErrorResponse","type":"object","uniqueKey":"","typeLabel":"ErrorResponse · object"},"examples":{"Example":{"title":"Example","value":{"code":"\u003cstring>","detail":[{}],"message":"\u003cstring>","type":"\u003cstring>"}}},"exampleType":"generated"}},"description":"Internal Server Error","exampleType":"generated"},"67253c4a-17d4-4220-8754-0ba0f8dd929a":{"content":{"application/json":{"schema":{"properties":{"code":{"description":"Error code","title":"Code","type":"string","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"detail":{"description":"List of error dictionaries","items":{"additionalProperties":true,"type":"object","uniqueKey":"detail.items.[INDEX]","typeLabel":"object"},"title":"Detail","type":"array","isRequired":true,"uniqueKey":"detail","typeLabel":"Detail · object[]"},"message":{"description":"Error message","title":"Message","type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"type":{"description":"Type of error","title":"Type","type":"string","isRequired":true,"uniqueKey":"type","typeLabel":"string"}},"required":["type","code","message","detail"],"title":"ErrorResponse","type":"object","uniqueKey":"","typeLabel":"ErrorResponse · object"},"examples":{"Example":{"title":"Example","value":{"code":"\u003cstring>","detail":[{}],"message":"\u003cstring>","type":"\u003cstring>"}}},"exampleType":"generated"}},"description":"Not Implemented","exampleType":"generated"}},"security":{"88d68e9d-f995-4418-99b4-9ef804791c7e":{"API-Key":{"in":"header","name":"X-API-KEY","type":"apiKey","scopes":[],"schemeName":"API-Key"},"Connection-ID":{"in":"header","name":"X-CONNECTION-ID","type":"apiKey","scopes":[],"schemeName":"Connection-ID"}}},"servers":{"f90a6b90-72d5-4b55-b234-2914fbc62d65":{"description":"Production API (US)","url":"https://api.leen.dev/v1"},"3361ee71-d73f-428e-a454-e36776673607":{"description":"Production API (EU)","url":"https://api.eu-c1.leen.dev/v1"},"5e7aafd1-736a-4f52-bc35-6f2fa35bc169":{"description":"Production API (APAC)","url":"https://api.ap-se2.leen.dev/v1"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"in":"header","name":"X-API-KEY","type":"apiKey","scopes":[],"schemeName":"API-Key"},"schema":{"title":"X-API-KEY","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"API-Key","name":"X-API-KEY"},{"scheme":{"in":"header","name":"X-CONNECTION-ID","type":"apiKey","scopes":[],"schemeName":"Connection-ID"},"schema":{"title":"X-CONNECTION-ID","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"Connection-ID","name":"X-CONNECTION-ID"}],"title":"API-Key \u0026 Connection-ID"}]},"originalFileLocation":"openapi.json"},"subdomain":"leen","siteName":"Leen.dev Unified API for Security","title":"Update ITSM Ticket by ID - Leen.dev Unified API for Security","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-08-28T18:34:00.001Z","originalFileLocation":"api-reference/itsm/update-ticket-by-id.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Update an ITSM ticket. This endpoint follows a vendor-first pattern: 1. Updates the ticket in the vendor system (e.g., JIRA) 2. If vendor update succeeds, updates the local database 3. Returns the updated ticket Updatable fields: - status: Ticket status (normalized to Leen values) - priority: Ticket priority (normalized to Leen values) - assigned_user_id: UUID of the assigned user - name: Ticket title/summary - description: Ticket description Note: All fields are optional. Only provided fields will be updated.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Leen.dev Unified API for Security\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/leen/a1H8fw6GLH0gddpy/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/leen/a1H8fw6GLH0gddpy/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/leen/a1H8fw6GLH0gddpy/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/leen/a1H8fw6GLH0gddpy/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/leen/a1H8fw6GLH0gddpy/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/leen/a1H8fw6GLH0gddpy/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/leen/a1H8fw6GLH0gddpy/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/leen/a1H8fw6GLH0gddpy/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/leen/a1H8fw6GLH0gddpy/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update ITSM Ticket by ID - Leen.dev Unified API for Security\">\u003cmeta data-mint-head property=\"og:description\" content=\"Update an ITSM ticket. This endpoint follows a vendor-first pattern: 1. Updates the ticket in the vendor system (e.g., JIRA) 2. If vendor update succeeds, updates the local database 3. Returns the updated ticket Updatable fields: - status: Ticket status (normalized to Leen values) - priority: Ticket priority (normalized to Leen values) - assigned_user_id: UUID of the assigned user - name: Ticket title/summary - description: Ticket description Note: All fields are optional. Only provided fields will be updated.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Leen.dev Unified API for Security\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.leen.dev/api-reference/itsm/update-ticket-by-id\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://leen.mintlify.site/_mintlify/api/og/v2?division=Tickets\u0026amp;title=Update+ITSM+Ticket+by+ID\u0026amp;description=Update+an+ITSM+ticket.%0A%0AThis+endpoint+follows+a+vendor-first+pattern%3A%0A1.+Updates+the+ticket+in+the+vendor+system+%28e.g.%2C+JIRA%29%0A2.+If+vendor+update+succeeds%2C+upda\u0026amp;theme=2dc8a6072127c584f0fadcac\u0026amp;signature=aa1094f0d1a20148baf9aa6b221478227d421325e49ba587fc192e03f64e4189\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Update ITSM Ticket by ID - Leen.dev Unified API for Security\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Update an ITSM ticket. This endpoint follows a vendor-first pattern: 1. Updates the ticket in the vendor system (e.g., JIRA) 2. If vendor update succeeds, updates the local database 3. Returns the updated ticket Updatable fields: - status: Ticket status (normalized to Leen values) - priority: Ticket priority (normalized to Leen values) - assigned_user_id: UUID of the assigned user - name: Ticket title/summary - description: Ticket description Note: All fields are optional. Only provided fields will be updated.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://leen.mintlify.site/_mintlify/api/og/v2?division=Tickets\u0026amp;title=Update+ITSM+Ticket+by+ID\u0026amp;description=Update+an+ITSM+ticket.%0A%0AThis+endpoint+follows+a+vendor-first+pattern%3A%0A1.+Updates+the+ticket+in+the+vendor+system+%28e.g.%2C+JIRA%29%0A2.+If+vendor+update+succeeds%2C+upda\u0026amp;theme=2dc8a6072127c584f0fadcac\u0026amp;signature=aa1094f0d1a20148baf9aa6b221478227d421325e49ba587fc192e03f64e4189\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/leen/a1H8fw6GLH0gddpy/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Leen.dev Unified API for Security\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#8C43EA\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.leen.dev/api-reference/itsm/update-ticket-by-id\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/itsm/update-ticket-by-id.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.leen.dev/#organization\",\"name\":\"Leen.dev Unified API for Security\",\"url\":\"https://docs.leen.dev\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/leen/0MpnNXrQ3mRuduqT/logo/light.svg?fit=max\u0026auto=format\u0026n=0MpnNXrQ3mRuduqT\u0026q=85\u0026s=f622048d909cda879d6dc25b3331a9a8\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.leen.dev#website\",\"name\":\"Leen.dev Unified API for Security\",\"url\":\"https://docs.leen.dev\",\"publisher\":{\"@id\":\"https://docs.leen.dev/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.leen.dev/api-reference/itsm/update-ticket-by-id#webpage\",\"url\":\"https://docs.leen.dev/api-reference/itsm/update-ticket-by-id\",\"name\":\"Update ITSM Ticket by ID\",\"description\":\"Update an ITSM ticket. This endpoint follows a vendor-first pattern: 1. Updates the ticket in the vendor system (e.g., JIRA) 2. If vendor update succeeds, updates the local database 3. Returns the updated ticket Updatable fields: - status: Ticket status (normalized to Leen values) - priority: Ticket priority (normalized to Leen values) - assigned_user_id: UUID of the assigned user - name: Ticket title/summary - description: Ticket description Note: All fields are optional. Only provided fields will be updated.\",\"dateModified\":\"2026-08-28T18:34:00.001Z\",\"isPartOf\":{\"@id\":\"https://docs.leen.dev#website\"},\"breadcrumb\":{\"@id\":\"https://docs.leen.dev/api-reference/itsm/update-ticket-by-id#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.leen.dev/api-reference/itsm/update-ticket-by-id#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"ITSM\",\"item\":\"https://docs.leen.dev/api-reference/itsm/supported-connectors\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Tickets\",\"item\":\"https://docs.leen.dev/api-reference/itsm/create-ticket\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Update ITSM Ticket by ID\",\"item\":\"https://docs.leen.dev/api-reference/itsm/update-ticket-by-id\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.leen.dev/api-reference/itsm/update-ticket-by-id#apireference\",\"headline\":\"Update ITSM Ticket by ID\",\"name\":\"Update ITSM Ticket by ID\",\"description\":\"Update an ITSM ticket. This endpoint follows a vendor-first pattern: 1. Updates the ticket in the vendor system (e.g., JIRA) 2. If vendor update succeeds, updates the local database 3. Returns the updated ticket Updatable fields: - status: Ticket status (normalized to Leen values) - priority: Ticket priority (normalized to Leen values) - assigned_user_id: UUID of the assigned user - name: Ticket title/summary - description: Ticket description Note: All fields are optional. Only provided fields will be updated.\",\"url\":\"https://docs.leen.dev/api-reference/itsm/update-ticket-by-id\",\"mainEntityOfPage\":{\"@id\":\"https://docs.leen.dev/api-reference/itsm/update-ticket-by-id#webpage\"},\"dateModified\":\"2026-08-28T18:34:00.001Z\",\"publisher\":{\"@id\":\"https://docs.leen.dev/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.leen.dev#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Leen.dev Unified API for Security\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Leen.dev Unified API for Security\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/itsm/update-ticket-by-id.md","siteName":"Leen.dev Unified API for Security","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/intro/introduction"}]},{"tab":"API Reference","groups":[{"group":"API Documentation","pages":[{"title":"Authentication","href":"/api-reference/authentication"},{"title":"Creating a new connection","href":"/api-reference/creating-a-connection"},{"title":"Cursor Pagination","href":"/api-reference/pagination"},{"title":"Connection Health","href":"/api-reference/connection-health"}]},{"group":"AppSec","pages":[{"title":"AppSec Connectors","icon":"grid-2","href":"/api-reference/appsec/supported-connectors"},{"openapi":"get /appsec/issues","title":"List Issues","href":"/api-reference/appsec/get-issues"},{"openapi":"get /appsec/issues/{issue_id}","title":"Get Issue by ID","href":"/api-reference/appsec/get-issue-by-id"}]},{"group":"EDR","pages":[{"title":"EDR Connectors","icon":"grid-2","href":"/api-reference/edr/supported-connectors"},{"openapi":"get /edr/alerts","title":"List Alerts","href":"/api-reference/edr/get-alerts"},{"openapi":"get /edr/alerts/{alert_id}","title":"Get Alert by ID","href":"/api-reference/edr/get-alert-by-id"},{"openapi":"get /edr/policies","title":"List Policies","href":"/api-reference/edr/get-policies"}]},{"group":"VMS","pages":[{"title":"VMS Connectors","icon":"grid-2","href":"/api-reference/vms/supported-connectors"},{"openapi":"get /vms/vulnerabilities","title":"List Vulnerabilities","href":"/api-reference/vms/get-vulnerabilities"},{"openapi":"get /vms/vulnerabilities/{vuln_id}","title":"Get Vulnerability by ID","href":"/api-reference/vms/get-vulnerability-by-id"},{"openapi":"get /vms/scan-configurations","title":"List VMS Scan Configurations","href":"/api-reference/vms/get-scan-configurations"},{"openapi":"get /vms/scan-configurations/{scan_config_id}","title":"Get VMS Scan Configuration by ID","href":"/api-reference/vms/get-scan-configuration-by-id"}]},{"group":"CSPM","pages":[{"title":"CSPM Connectors","icon":"grid-2","href":"/api-reference/cspm/supported-connectors"},{"openapi":"get /cspm/alerts","title":"List Alerts","href":"/api-reference/cspm/get-alerts"},{"openapi":"get /cspm/compliance_findings","title":"List Compliance Findings","href":"/api-reference/cspm/get-compliance-findings"},{"openapi":"get /cspm/compliance","title":"List Compliance Data with Conditional Findings","href":"/api-reference/cspm/get-compliance-data"}]},{"group":"Identity Provider (IDP)","pages":[{"title":"IDP Connectors","icon":"grid-2","href":"/api-reference/idp/supported-connector"},{"openapi":"get /idp/users","title":"List IDP Users","href":"/api-reference/idp/list-users"},{"openapi":"get /idp/groups","title":"List IDP Groups","href":"/api-reference/idp/list-groups"},{"openapi":"get /idp/applications","title":"List IDP Applications","href":"/api-reference/idp/list-applications"},{"openapi":"get /idp/alerts","title":"List IDP Alerts","href":"/api-reference/idp/list-alerts"},{"openapi":"get /idp/policies","title":"List IDP Policies","href":"/api-reference/idp/list-policies"},{"openapi":"get /idp/policies/{policy_id}/groups","title":"List Groups for IDP Policy","href":"/api-reference/idp/list-policy-groups"},{"openapi":"get /idp/policies/{policy_id}/applications","title":"List Applications for IDP Policy","href":"/api-reference/idp/list-policy-applications"},{"openapi":"get /idp/policies/{policy_id}/users","title":"List Users for IDP Policy","href":"/api-reference/idp/list-policy-users"}]},{"group":"TPRM","pages":[{"title":"TPRM Connectors","icon":"grid-2","href":"/api-reference/tprm/supported-connectors"},{"group":"Companies","pages":[{"openapi":"get /tprm/companies","title":"List TPRM Companies","href":"/api-reference/tprm/companies/get-companies"},{"openapi":"get /tprm/companies/{company_id}","title":"Get TPRM Company by ID","href":"/api-reference/tprm/companies/get-company-by-id"}]},{"group":"Findings","pages":[{"openapi":"get /tprm/findings","title":"List TPRM Findings","href":"/api-reference/tprm/findings/get-findings"},{"openapi":"get /tprm/findings/{finding_id}","title":"Get TPRM Finding by ID","href":"/api-reference/tprm/findings/get-finding-by-id"}]}]},{"group":"GRC","pages":[{"title":"GRC Connectors","icon":"grid-2","href":"/api-reference/grc/supported-connectors"},{"group":"Entities","pages":[{"openapi":"get /grc/entities","title":"List GRC entities","href":"/api-reference/grc/entities/get-entities"},{"openapi":"get /grc/entities/{entity_id}","title":"Get GRC entity by ID","href":"/api-reference/grc/entities/get-entity-by-id"}]},{"group":"Controls","pages":[{"openapi":"get /grc/controls","title":"List GRC Controls","href":"/api-reference/grc/controls/get-controls"},{"openapi":"get /grc/controls/{control_id}","title":"Get GRC Control","href":"/api-reference/grc/controls/get-control-by-id"}]},{"group":"Assessments","pages":[{"openapi":"get /grc/assessments","title":"List GRC Assessments","href":"/api-reference/grc/assessments/get-assessments"},{"openapi":"get /grc/assessments/{assessment_id}","title":"Get GRC Assessment","href":"/api-reference/grc/assessments/get-assessment-by-id"},{"openapi":"post /grc/assessments/response","title":"Submit GRC Assessment","href":"/api-reference/grc/assessments/post-assessment-response"}]},{"group":"Evidences","pages":[{"openapi":"get /grc/evidences","title":"List GRC Evidences","href":"/api-reference/grc/evidences/get-evidences"}]}]},{"group":"ITSM","pages":[{"title":"ITSM Connectors","icon":"grid-2","href":"/api-reference/itsm/supported-connectors"},{"group":"Tickets","pages":[{"openapi":"post /itsm/tickets","title":"Create ITSM Ticket","href":"/api-reference/itsm/create-ticket"},{"openapi":"get /itsm/tickets","title":"List ITSM Tickets","href":"/api-reference/itsm/get-tickets"},{"openapi":"get /itsm/tickets/{ticket_id}","title":"Get ITSM Ticket by ID","description":"Retrieve a single ticket by its Leen ID. Use the by-identifier route to look one up by the vendor's own key instead.","href":"/api-reference/itsm/get-ticket-by-id"},{"openapi":"patch /itsm/tickets/{ticket_id}","title":"Update ITSM Ticket by ID","href":"/api-reference/itsm/update-ticket-by-id"},{"openapi":"get /itsm/tickets/by-identifier/{identifier}","title":"Get ITSM Ticket by Identifier","description":"Get an ITSM ticket by its user-provided identifier.","href":"/api-reference/itsm/get-ticket-by-identifier"},{"openapi":"post /itsm/tickets/bulk","title":"Bulk Create ITSM Tickets (Async)","href":"/api-reference/itsm/create-ticket-bulk"},{"openapi":"post /itsm/tickets/bulk/sync","title":"Bulk Create ITSM Tickets (Sync)","href":"/api-reference/itsm/create-ticket-bulk-sync"},{"openapi":"post /itsm/tickets/bulk/update","title":"Bulk Update ITSM Tickets (Async)","href":"/api-reference/itsm/update-ticket-bulk"}]},{"group":"Projects","pages":[{"openapi":"get /itsm/projects","title":"List ITSM Projects","href":"/api-reference/itsm/get-projects"},{"openapi":"get /itsm/projects/{project_id}","title":"Get ITSM Project by ID","href":"/api-reference/itsm/get-project-by-id"}]},{"group":"Comments","pages":[{"openapi":"get /itsm/comments","title":"List ITSM Comments","href":"/api-reference/itsm/get-comments"},{"openapi":"get /itsm/comments/{comment_id}","title":"Get ITSM Comment by ID","href":"/api-reference/itsm/get-comment-by-id"}]},{"group":"Attachments","pages":[{"openapi":"get /itsm/attachments","title":"List ITSM Attachments","href":"/api-reference/itsm/get-attachments"},{"openapi":"get /itsm/attachments/{attachment_id}","title":"Get ITSM Attachment by ID","href":"/api-reference/itsm/get-attachment-by-id"}]},{"group":"Users","pages":[{"openapi":"get /itsm/users","title":"List ITSM Users","href":"/api-reference/itsm/get-users"},{"openapi":"get /itsm/users/{user_id}","title":"Get ITSM User by ID","href":"/api-reference/itsm/get-user-by-id"}]},{"group":"Groups","pages":[{"openapi":"get /itsm/groups","title":"List ITSM Groups","href":"/api-reference/itsm/get-groups"},{"openapi":"get /itsm/groups/{group_id}","title":"Get ITSM Group by ID","href":"/api-reference/itsm/get-group-by-id"}]},{"group":"Passthrough","pages":[{"openapi":"get /itsm/passthrough/projects","title":"List Projects (Passthrough)","href":"/api-reference/itsm/passthrough-projects"},{"openapi":"get /itsm/passthrough/projects/{project_key}/issue-types","title":"List Issue Types for a Project (Passthrough)","href":"/api-reference/itsm/passthrough-issue-types"},{"openapi":"get /itsm/passthrough/tickets/search","title":"Search Tickets (Passthrough)","href":"/api-reference/itsm/passthrough-tickets-search"},{"openapi":"get /itsm/passthrough/projects/{project_key}/assignable-users","title":"List Assignable Users for a Project (Passthrough)","href":"/api-reference/itsm/passthrough-assignable-users"}]}]},{"group":"Entities","pages":[{"title":"Device Connectors","icon":"grid-2","href":"/api-reference/entities/supported-connectors"},{"openapi":"get /entities/devices","title":"List Devices","href":"/api-reference/entities/get-devices"},{"openapi":"get /entities/devices/{device_id}","title":"Get Device by ID","href":"/api-reference/entities/get-device-by-id"},{"openapi":"get /entities/device-groups","title":"List Device Groups","href":"/api-reference/entities/get-device-groups"}]},{"group":"Configuration","pages":[{"title":"Configuration Connectors","icon":"grid-2","href":"/api-reference/configuration/supported-connectors"},{"openapi":"get /configuration/users","title":"List Configuration Users","href":"/api-reference/configuration/get-configuration-users"},{"openapi":"get /configuration/users/{user_id}","title":"Get Configuration User by ID","href":"/api-reference/configuration/get-configuration-user-by-id"}]},{"group":"Provisioning","pages":[{"openapi":"post /provisioning/organizations","title":"Create Organization","href":"/api-reference/provisioning/add-organization"},{"openapi":"get /provisioning/organizations","title":"List Organizations","href":"/api-reference/provisioning/list-organizations"},{"openapi":"get /provisioning/organizations/{organization_id}","title":"Get Organization by ID","href":"/api-reference/provisioning/get-organization"},{"openapi":"delete /provisioning/organizations/{organization_id}","title":"Delete Organization by ID","href":"/api-reference/provisioning/delete-organization"},{"openapi":"post /provisioning/organizations/{organization_id}/connections","title":"Create Connection","href":"/api-reference/provisioning/add-new-connection"},{"openapi":"get /provisioning/organizations/{organization_id}/connections","title":"List Connections","href":"/api-reference/provisioning/list-connections"},{"openapi":"get /provisioning/organizations/{organization_id}/connections/{connection_id}","title":"Get Connection by ID","href":"/api-reference/provisioning/get-connection"},{"openapi":"get /provisioning/organizations/{organization_id}/connections/{connection_id}/jobs","title":"List Jobs by Connection ID","href":"/api-reference/provisioning/get-connection-jobs"},{"openapi":"get /provisioning/organizations/{organization_id}/connections/{connection_id}/test","title":"Test Connection Credentials by Connection ID","href":"/api-reference/provisioning/test-connection"},{"openapi":"delete /provisioning/organizations/{organization_id}/connections/{connection_id}","title":"Delete Connection","href":"/api-reference/provisioning/delete-connection"},{"openapi":"patch /provisioning/organizations/{organization_id}/connections/{connection_id}","title":"Update Connection by ID and Organization ID","href":"/api-reference/provisioning/update-connection"}]},{"group":"Connectors","pages":[{"openapi":"get /connectors","title":"Get Integrations","href":"/api-reference/connectors"}]},{"group":"Integration Details","pages":[{"title":"List Integration Details","openapi":"get /integrations/","href":"/api-reference/integration-details/list-integration-details"},{"title":"Get Integration Details by ID","openapi":"get /integrations/{id}","href":"/api-reference/integration-details/get-integration-details-by-id"}]},{"group":"OnRamp","pages":[{"openapi":"post /provisioning/organizations/{organization_id}/connection-invite-tokens","title":"Create Connection Invite Token","href":"/api-reference/onramp/create-connection-invite-token"},{"openapi":"get /provisioning/organizations/{organization_id}/connection-invite-tokens","title":"List Connection Invite Tokens","href":"/api-reference/onramp/get-connection-invite-tokens"}]},{"group":"Enrichments","pages":[{"openapi":"get /enrichments/nvd","title":"Get NVD Enrichment Data for CVEs","href":"/api-reference/enrichments/nvd"}]},{"group":"Outbound Jobs","pages":[{"openapi":"get /outbound-jobs/{job_id}","title":"Get Outbound job by id","href":"/api-reference/outbound-job"}]}]},{"tab":"(BETA) API Reference V2","pages":[{"title":"(BETA) API Reference V2","href":"/api-reference-v2/supported-connectors"}]}]},"basePath":"","title":"Update ITSM Ticket by ID - Leen.dev Unified API for Security","buildId":"dpl_596ePT575z4qnAFksq1biRW97aLY","deploymentId":"dpl_596ePT575z4qnAFksq1biRW97aLY","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-C9Wu0MeN.js","utils-jWgu-6Qf.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DBD8f9qn.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-BGuX1ui5.js","snippetPresets-Evy63nQB.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BQHO1lnV.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-B6C8m-t_.js","shallow-BG4cT0fH.js","getApiPlaygroundDisplay-CgEPrE-D.js","CodeSnippet-CU8JyZ9N.js","CodeSnippets-BnxHU32T.js","Page-D6S0Yh6q.js","getPastedJson-CwiYOonh.js","icon-DYDpWmDf.js","MethodPill-C-J-l7_c.js","DuplicateIcon-B6ARwg9w.js","createIcon-Dsv4MtDq.js","DynamicMarkdown-CtasenyM.js","SectionHeading-YNcgYwjB.js","axios-vUo_bRtp.js","Markdown-CwLx6PAg.js","clsx-C3kuh_dz.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CmKHfscc.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-U3mI6Ljh.js"]}