Skip to content

Modify Issue



POST /api/v1/issue/{issue_uuid}/modify

Overview

Update the Issue title, level, status, or complete extension information, and associate attachments and asynchronously trigger modification notifications.

Before calling and usage steps

Use site-level External credentials (for authentication, see External API Signature Authentication). Use the Issue UUID to locate the owning workspace site-wide; this is not a Workspace OpenAPI Key-scoped endpoint. Provide External credentials with appropriate data-scope authorization only to trusted integrations. First read Issue Details and the owning workspace. Omitted regular fields are retained; omitted extend is retained, but if present, it replaces the entire object, so read the original object first and then construct a complete target. Channel relationships are appended and merged rather than overwritten/deleted; when attachments are non-empty, they are bound/rebound, and []/null does not delete old attachments. An empty JSON body also updates the time and schedules a modification notification, so do not use it as a side-effect-free probe. Explicitly submitting the same status can still add an operation record; 20/25 refresh resolveAt. Saving, channel rebuilding, attachments, and operation replies involve multiple commit points, after which notifications are scheduled and audits are recorded; a 500 may have partially taken effect, so GET to verify before deciding to retry. Notifications asynchronously consume channel subscriptions, policy schedules, assignees, accounts mentioned with @ in this request, etc.; success does not mean delivery succeeded. Modifying status is not deleting the Issue and cannot withdraw notifications that have already been queued/sent.

Route parameters

Parameter Type Required Description
issue_uuid string Y Required Issue UUID, usually with an issue_ prefix; not an event UUID or channel UUID. This External endpoint does not require workspaceUUID; it obtains the owning workspace from the Issue itself.
Example: issue_example001
How to obtain or fill in: Obtain it from the Issue details URL on the target site, from content.uuid in the creation result, or from an Issue list you have permission to read.

Request headers

Parameter Type Required Description
X-Df-SVersion string Signature version for the original path and request body; it cannot be omitted while continuing to use the algorithm on this page.
Example: v20240417
How to obtain or fill in: The example on this page uses this fixed version, which is paired with the example signature algorithm.
X-Df-Access-Key string Y Read endpoints can use r or w credentials; write endpoints require w credentials.
Example: <external-access-key>
How to obtain or fill in: Assigned by the site administrator as an External API AK; Workspace OpenAPI Keys cannot be used.
X-Df-Signature string Y Join the uppercase method, nonce, original full path, timestamp, and raw UTF-8 request body with spaces, then compute HMAC-SHA256 and take the hex digest.
Example: <hmac-sha256-hex>
How to obtain or fill in: Compute using the matching SK according to External API Signature Authentication; a complete runnable template is provided below.
X-Df-Timestamp string Y Must be within the signature validity window configured for the site; do not reuse the example time.
Example: 1785427200
How to obtain or fill in: At send time, use str(int(time.time())) to generate the current Unix seconds string.
X-Df-Nonce string Y Temporary serial number; if resending after a failure, also generate a new value and recompute the signature.
Example: 97d275ee9f774315a7885ba7347acbd9
How to obtain or fill in: Regenerate uuid.uuid4().hex for each request.

Body request parameters

Parameter Type Required Description
attachmentUuids[*] json A single uploaded attachment UUID.
Example: att_example
How to obtain or fill in: Obtain content.attachmentUuid from Upload Attachment.
extend.text json Optional plain text. Currently only checks that the length does not exceed 3000 Python characters (independent of description); if omitted, it is checked as empty text; null or types with no computable length may return 500.
Example: Locating production API latency.
How to obtain or fill in: Extract from the plain text of the description and keep it within 3000 characters; if omitted, it is checked as empty text.
extend.channels array Optional array of # channel objects in the description. When present, the UUIDs in this request, old bindings, and default channels are merged and deduplicated before relationships are rebuilt; this is not a full replacement. [] does not unbind old bindings, and omitting the field does not adjust relationships; the field itself, as extend content, is still replaced as a whole. null is invalid and the implementation returns 500.
Example: [{"type": "#", "uuid": "chan_example", "name": "Production anomaly"}]
How to obtain or fill in: Obtain real channel UUIDs from Channel List, and reference the # channel in the description. If omitted, no channels are appended.
extend.channels[*] json Channel reference object.
Example: {"type": "#", "uuid": "chan_example", "name": "Production anomaly"}
How to obtain or fill in: Select an actual channel in the same workspace for each item.
extend.channels[*].uuid json Channel UUID. Callers should verify that it belongs to the same workspace and is allowed to be associated; current binding does not fully validate UUID existence/ownership, and success does not prove validity; verify with GET bindChannels.
Example: chan_example
How to obtain or fill in: Obtain content[].uuid from Channel List.
extend.channels[*].name json Client display name.
Example: Production anomaly
How to obtain or fill in: Obtain the corresponding name from Channel List for display; may be omitted.
extend.channels[*].type json Channel reference marker.
Example: #
How to obtain or fill in: Channel references always use #; the server adds this marker when reading results.
extend.channels[*].exists json Optional display marker; does not replace server-side resource validation.
Example: true
How to obtain or fill in: Do not pass it as a validity credential; query responses recalculate it based on current resource existence.
extend.members array Optional array of account objects mentioned with @ in this request; extracts emails of current non-deleted accounts for additional one-time notifications. This is not the assignee array, and direct email/team objects cannot replace account UUIDs. Repeated submissions can notify again; if omitted, no additional @ mentions are made in this request. null or non-object elements may return 500.
Example: [{"type": "@", "uuid": "acnt_example", "name": "On-call engineer"}]
How to obtain or fill in: Obtain account UUIDs from member management in the target workspace; if omitted, no @ members are added for this request.
extend.members[*] json Member reference object.
Example: {"type": "@", "uuid": "acnt_example", "name": "On-call engineer"}
How to obtain or fill in: Fill in an object for each account that needs to be mentioned with @.
extend.members[*].uuid json Member account UUID.
Example: acnt_example
How to obtain or fill in: Obtain the acnt_ account UUID from member management in the target workspace.
extend.members[*].name json Client display name.
Example: On-call engineer
How to obtain or fill in: Use the member display name; may be omitted.
extend.members[*].type json Member reference marker.
Example: @
How to obtain or fill in: Member references use @.
extend.members[*].exists json Optional display marker.
Example: true
How to obtain or fill in: Do not pass it as a validity credential; it is recalculated on query.
extend.extra json Optional external display JSON object; does not change the real SYS identity used for authentication/audit. Omitting it or passing {} during full replacement may clear the old display updater. null or other structures that do not conform to an object may return 500.
Example: {}
How to obtain or fill in: Fill in when a third-party integration needs to display an external operator; otherwise omit it or use {}.
extend.extra.creator json External creator display object. When old extra exists, this request's creator is removed first, and then the old creator is retained (if any); it is not guaranteed that modification can overwrite the creator. Only when old extra is empty may this request's creator be saved.
Example: {"name": "External ticket creator", "email": "xxx@guance.com"}
How to obtain or fill in: Creator from the integrated system; during modification, the server usually retains the original creator.
extend.extra.creator.name json Display name, may be omitted.
Example: External ticket creator
How to obtain or fill in: Use the display name from the external system.
extend.extra.creator.email json Display email, may be omitted.
Example: xxx@guance.com
How to obtain or fill in: Use the external system email; the example is a fictitious address.
extend.extra.updator json Updater display object.
Example: {"name": "External ticket updater", "email": "xxx@guance.com"}
How to obtain or fill in: During modification, use the operator information for this operation from the integrated system.
extend.extra.updator.name json Display name, may be omitted.
Example: External ticket updater
How to obtain or fill in: Use the display name from the external system.
extend.extra.updator.email json Display email, may be omitted.
Example: xxx@guance.com
How to obtain or fill in: Use the external system email.
extend.manager array Optional complete array of assignee targets; replaced only when extend appears; omitting this key or passing [] clears the original assignees during whole-object replacement. When non-empty, filters out unknown accounts/teams/notification targets or invalid emails; dutyPerson is resolved to concrete targets according to the on-call calendar for the current day and saved, and does not automatically change with later shift changes. Even if filtering results in [], the request can still succeed, so verify managerInfos. For regular sites, External uses the SYS identity and does not impersonate an external display updater.
Example: ["acnt_example"]
How to obtain or fill in: Obtain acnt_ account UUIDs from member management in the target workspace and group_ UUIDs from team management; notification target UUIDs are obtained from Notification Target List. You can also enter a real email or dutyPerson.
extend.manager[*] json Account UUID, team UUID, notification target UUID, email, or dutyPerson.
Example: acnt_example
How to obtain or fill in: Obtain acnt_ account UUIDs from member management in the target workspace and group_ UUIDs from team management; notification target UUIDs are obtained from Notification Target List. You can also enter a real email or dutyPerson.
extend.linkList array Array of reference links, saved as needed by the client.
Example: [{"name": "Runbook", "link": "https://example.com/runbook"}]
How to obtain or fill in: Provided by the business side as accessible reference links; if omitted, none are added.
extend.linkList[*] json Link object.
Example: {"name": "Runbook", "link": "https://example.com/runbook"}
How to obtain or fill in: Each item describes one reference link.
extend.linkList[*].name json Link name.
Example: Runbook
How to obtain or fill in: Enter the link display name.
extend.linkList[*].link json Link address.
Example: https://example.com/runbook
How to obtain or fill in: Enter a complete accessible URL; replace the example domain.
extend.sourceLink json Optional source link, consumed by notification templates according to source type; this modification does not recalculate the viewer coverage time window, so regular integrations can retain the original value.
Example: https://example.com/source?doc_time=1785430800000
How to obtain or fill in: Obtain the complete link from the source page in the console; for viewer sources, doc_time uses Unix milliseconds.
extend.extra.managerInfos json Mapping from assignee emails to display profile objects. If this request does not provide a non-empty mapping and an old mapping exists, only email entries still contained in this request's manager array are retained; other old display entries are not retained.
Example: {"xxx@guance.com": {"name": "External on-call person"}}
How to obtain or fill in: Use emails in extend.manager as keys to fill in display information for external assignees.
extend.extra.managerInfos..name json Display name of a single email assignee.
Example: External on-call person
How to obtain or fill in: The email key must match the email in the assignee array; the name comes from the external business system.
extend.extra.managerInfos. json Email display object; passing only a name string is recommended.
Example: {"name": "External on-call person"}
How to obtain or fill in: The key must be the same email as in extend.manager.
name string Optional new title; if omitted, retained; maximum 256 custom length counting units (ASCII counts as 1; Chinese and other non-ASCII characters usually count as 2); for pure Chinese, no more than 128 characters is recommended; null is invalid.
Allows null: False
$maxCustomLength: 256
Example: checkout-api latency anomaly
How to obtain or fill in: Fill in a clear title based on the issue symptoms.
level string Optional valid level UUID; if omitted, retained; an empty string clears the level; null is invalid. System default/workspace custom/backend global levels are taken from the current valid list; do not assume system_level_3 is fixed as P3.
Allows null: False
Allows empty string: True
Example: system_level_1
How to obtain or fill in: First call Valid Level List and use the uuid actually returned; when not specifying a level, pass an empty string.
description string Optional description string; if omitted, retained; an empty string clears it; null is invalid; it is not automatically generated from extend.text.
Allows null: False
Example: Locate production API latency and record the handling process.
How to obtain or fill in: Fill in symptoms, scope, and handling goals; detailed diagnostic materials can be uploaded as attachments.
statusType integer Optional status integer: 10 Open, 15 Working, 20 Resolved, 25 Closed, 30 Pending; if omitted, retained. Each explicit submission records operation history, even if the value does not change. 20/25 refresh resolveAt; reopening does not clear the historical resolveAt. null is invalid.
Allows null: False
Optional values: [10, 15, 20, 25, 30]
Example: 15
How to obtain or fill in: Select 10/15/20/25/30 according to business handling progress.
extend json Optional extension object; if omitted, the originally saved object is retained; submitting a complete object replaces it as a whole, and {} may clear assignees/text/display information, but old extra.creator is conditionally retained. The declaration allows null, but current code accesses .get and returns 500, so an object must be passed or the field omitted. Dynamic subfields are not fully validated, and incorrect types may return 500.
Allows null: True
Example: {}
How to obtain or fill in: Before modification, read content.extend from the details page, copy the complete content, and then adjust it; if only changing the title/status, it can be omitted.
attachmentUuids array Optional array of uploaded attachment UUIDs; omitted, null, or [] neither adds nor removes existing attachments. Non-empty items are bound/rebound to this Issue one by one, and processing has an independent commit, so atomicity with the main update is not guaranteed. Only submit uploaded attachments that you have confirmed belong to this workspace and are allowed to be associated; invalid/deleted UUIDs may currently return 500 instead of a dedicated 404.
Allows null: True
Example: []
How to obtain or fill in: First call Upload Attachment and save content.attachmentUuid; only use attachments actually uploaded in this workspace and available. If omitted or [], no attachments are added.

Additional parameter notes

description is the actual description field; decription in the original description is a historical spelling error and cannot be used as a request key. Default level names follow configuration and language; system_level_3 cannot be fixedly called P3. Attachments must first be uploaded through /api/v1/attachment/upload, which you have permission to call, and content.attachmentUuid must be obtained; this is the corresponding frontend/OpenAPI entry point, not a new upload entry added by this External module.

Complete extension object example (replace with real members/channels; retain other keys needed in the original object):

{
  "extend": {
    "text": "正在定位延迟原因。",
    "channels": [
      {
        "uuid": "chan_example",
        "type": "#",
        "name": "生产异常"
      }
    ],
    "members": [
      {
        "uuid": "acnt_example",
        "type": "@",
        "name": "值班工程师"
      }
    ],
    "manager": [
      "acnt_example"
    ],
    "linkList": [
      {
        "name": "处理手册",
        "link": "https://example.com/runbook"
      }
    ],
    "extra": {
      "updator": {
        "name": "外部系统操作人",
        "email": "xxx@guance.com"
      }
    }
  }
}

Request example

import hashlib
import hmac
import json
import time
import uuid
from urllib.parse import urlencode
from urllib.request import Request, urlopen
from urllib.error import HTTPError, URLError

# Replace with the target site address and the External API AK/SK assigned by the administrator.
server = "https://external-api.guance.com"
access_key = "<external-access-key>"
secret_key = "<external-secret-key>"
method = 'POST'
path = '/api/v1/issue/issue_example001/modify'
query = {}
data = {'name': '生产接口延迟', 'statusType': 15}
full_path = path + ("?" + urlencode(query) if query else "")
body = "" if data is None else json.dumps(data, ensure_ascii=False, separators=(",", ":"))
timestamp = str(int(time.time()))
nonce = uuid.uuid4().hex
string_to_sign = " ".join([method, nonce, full_path, timestamp, body])
signature = hmac.new(secret_key.encode("utf-8"), string_to_sign.encode("utf-8"), hashlib.sha256).hexdigest()
headers = {
    "X-Df-Access-Key": access_key,
    "X-Df-Timestamp": timestamp,
    "X-Df-Nonce": nonce,
    "X-Df-Signature": signature,
    "X-Df-SVersion": "v20240417",
}
if data is not None:
    headers["Content-Type"] = "application/json"
request = Request(server + full_path, data=None if data is None else body.encode("utf-8"), headers=headers, method=method)
try:
    with urlopen(request, timeout=30) as result:
        payload = json.loads(result.read().decode("utf-8"))
except HTTPError as error:
    print("HTTP", error.code, error.read().decode("utf-8"))  # Determine based on errorCode, content, and traceId; do not output AK/SK.
    raise SystemExit(1)
except (URLError, TimeoutError):
    print('请求结果未知,请先查询实际配置及任务状态,再决定是否重试写请求。')
    raise SystemExit(1)
print(json.dumps(payload, ensure_ascii=False, indent=2))

Response

HTTP 200, application/json standard External envelope; content contains the Issue and corresponding additional materials and is not automatically added to the OpenAPI declaration. Fields appear dynamically according to historical source/extension configuration.

Field Type Description
content.id integer Saved Issue record sequence number; operations use uuid.
content.uuid string Resource UUID.
content.workspaceUUID string Owning workspace UUID.
content.status integer Record status; 0 normal, 3 deleted. Distinct from the Issue business status statusType.
content.creator string Real Issue creator identity; does not change with extend.extra display information.
content.updator string Most recent updater identity; External modifications are SYS and may be empty if not updated.
content.createAt integer Creation time, Unix seconds.
content.updateAt integer Most recent update time, Unix seconds; may be -1 if not updated.
content.deleteAt integer Deletion time, Unix seconds; -1 if not deleted.
content.name string Issue title.
content.level string Level UUID; an empty string is allowed to indicate unspecified; not the level name.
content.statusType integer Status: 10 Open, 15 Working, 20 Resolved, 25 Closed, 30 Pending.
content.statusTypeUpdateRecord array<string> Status change history; each item is in the form Unix seconds&&status name.
content.statusTypeUpdateRecord[] string A single status change record.
content.description string Issue description.
content.resourceType string Source type, such as event, dashboard, viewer; automatically created ones may also be checker, keyeventAutoDiscovery, etc.
content.resourceUUID string Associated source identifier; specific meaning varies by source type.
content.resource string Source module or name, for example LOG, TRACING, EVENTS, RUM.
content.repeatType string Repeat type for automatically discovered issues, which can be new, repeat, regression; may be empty for manually created ones.
content.subIdentify string Associated sub-identifier defined by the source; usually empty for manual creation.
content.resolveAt integer Most recent time set to Resolved or Closed, Unix seconds; -1 if never resolved. Reopening does not automatically clear this historical time.
content.eventCount integer Number of associated events recorded.
content.eventCountUpdateAt integer Most recent update time of the associated event count, Unix seconds; -1 if not yet recorded.
content.triggerRecord object Legacy compatibility field; no longer used as a control parameter for notification triggering.
content.extend object Saved extension content; before modification, copy the complete object; omitting it during modification retains it, and {} may clear part of the original content (old creator display information is conditionally retained). For dynamic field descriptions, see the modification page.
content.extend.text string Plain text used for length checking, up to 3000 characters.
content.extend.channels array<object> Channels referenced in the description, containing uuid, name, type, exists; when returned, exists is refreshed according to current resource existence.
content.extend.channels[].uuid string Channel UUID.
content.extend.channels[].name string or null Display name.
content.extend.channels[].type string Channel reference marker #.
content.extend.channels[].exists boolean Checks existence against site-wide non-deleted channel records and does not fully validate owning workspace/active status; this cannot prove a valid reference in this workspace.
content.extend.members array<object> Member references mentioned with @ in the description, containing uuid, name, type, exists.
content.extend.members[].uuid string Member account UUID.
content.extend.members[].name string or null Display name.
content.extend.members[].type string Member reference marker @.
content.extend.members[].exists boolean Checks existence against site-wide non-deleted accounts; disabled accounts may also be true; does not indicate an active member of this workspace.
content.extend.manager array<string> Array of assignee identifiers, used only by Issues; members/teams/notification targets/emails, etc., are normalized by validity.
content.extend.manager[] string A single assignee identifier.
content.extend.linkList array<object> Business reference links.
content.extend.linkList[].name string Link display name.
content.extend.linkList[].link string Business URL.
content.extend.sourceLink string Source link saved by the client; whether it is used for notification redirection depends on the source type and notification template, and it does not change the query scope of this endpoint.
content.extend.extra object Display information for third-party integration; does not change the actual API authentication identity.
content.extend.extra.creator object Third-party creator display information, which may include name and email.
content.extend.extra.creator.name string Creator display name.
content.extend.extra.creator.email string Creator display email.
content.extend.extra.updator object Third-party updater display information, which may include name and email.
content.extend.extra.updator.name string Updater display name.
content.extend.extra.updator.email string Updater display email.
content.extend.extra.managerInfos object Mapping of display information keyed by assignee email, used only by Issues.
content.extend.extra.managerInfos..name string Display name of the assignee for the corresponding email.
content.extend.other fields JSON Other extension information saved by the client; this does not mean all such fields trigger business behavior.
content.creatorInfo object Creator display object; GET preferentially uses extend.extra.creator, which may be client-defined JSON; the modification response uses a digest of the actual creator identity and does not apply this display override.
content.creatorInfo.name string Display name, may be omitted.
content.creatorInfo.email string Email, may be omitted.
content.creatorInfo.uuid string Account UUID, may be omitted.
content.updatorInfo object Updater display object; GET preferentially uses extend.extra.updator; the modification response uses a digest of the actual SYS identity.
content.updatorInfo.name string Display name, may be omitted.
content.updatorInfo.email string Email, may be omitted.
content.updatorInfo.uuid string Account UUID, may be omitted.
content.levelInfo object Historical level display information; may still contain an old level that has been deleted or is not in the current valid list; may be {} when there is no corresponding configuration. Whether it can be used for new writes is subject to the valid level list.
content.levelInfo.uuid string Level UUID; whether it can still be used for Issue.level should be subject to the current valid level list.
content.levelInfo.name string Level name, displayed according to workspace language or level configuration.
content.levelInfo.color string Color string, usually #RRGGBB.
content.levelInfo.description string Level description.
content.managerInfos array<object> Resolved assignee display information. Account information is returned according to actually visible fields; teams/notification targets usually contain uuid and name, and emails contain uuid/email/name.
content.managerInfos[].uuid string Assignee identifier.
content.managerInfos[].name string Display name.
content.managerInfos[].email string Email assignee or account email, provided when a value exists.
content.eventTimeRange array<integer> Start and end times provided when an associated event count exists, Unix milliseconds.
content.eventTimeRange[] integer Unix millisecond timestamp.
content.eventConditions string Event query conditions provided when a valid rule exists for the auto-discovery source.
content.eventConditionsFilters JSON Filter editing data for the auto-discovery source, provided when configured.
content.attachments array<object> List of attachments already bound to the Issue; use Download Attachment to download.
content.attachments[].uuid string Attachment UUID.
content.attachments[].fileName string Original file name.
content.attachments[].fileSuffix string File suffix.
content.creatorInfo.status integer Account record status, may be omitted.
content.creatorInfo.wsAccountStatus integer Optional workspace status; the account digest in the modification response is read without passing workspace context, so it cannot be used to determine the member's valid status in the Issue workspace.
content.creatorInfo.username string Login name, may be omitted.
content.creatorInfo.iconUrl string Account avatar URL, may be omitted.
content.creatorInfo.mobile string Account mobile number, may be empty or omitted.
content.creatorInfo.countryCode string Country/region code for the mobile number, may be omitted.
content.creatorInfo.acntWsNickname string Workspace nickname, may be omitted.
content.updatorInfo.status integer Account record status, may be omitted.
content.updatorInfo.wsAccountStatus integer Optional workspace status; the account digest in the modification response is read without passing workspace context, so it cannot be used to determine the member's valid status in the Issue workspace.
content.updatorInfo.username string Login name, may be omitted.
content.updatorInfo.iconUrl string Account avatar URL, may be omitted.
content.updatorInfo.mobile string Account mobile number, may be empty or omitted.
content.updatorInfo.countryCode string Country/region code for the mobile number, may be omitted.
content.updatorInfo.acntWsNickname string Workspace nickname, may be omitted.
content.managerInfos[].status integer Account record status, may be omitted.
content.managerInfos[].wsAccountStatus integer Account status in the current workspace, may be omitted.
content.managerInfos[].username string Login name, may be omitted.
content.managerInfos[].iconUrl string Account avatar URL, may be omitted.
content.managerInfos[].mobile string Account mobile number, may be empty or omitted.
content.managerInfos[].countryCode string Country/region code for the mobile number, may be omitted.
content.managerInfos[].acntWsNickname string Workspace nickname, may be omitted.
content.levelInfo.id integer or null Level record number; system default levels do not provide this field.
content.levelInfo.workspaceUUID string Optional field in historical level display information. Owning workspace UUID.
content.levelInfo.status integer Optional field in historical level display information. Record status; 0 normal, 3 deleted. Distinct from the Issue business status statusType.
content.levelInfo.creator string Optional field in historical level display information. Identity that made the creation call, which may be an API Key identifier, account, or system identity.
content.levelInfo.updator string Optional field in historical level display information. Most recent updater identity; empty string when not set.
content.levelInfo.createAt integer Optional field in historical level display information. Creation time, Unix seconds.
content.levelInfo.updateAt integer Optional field in historical level display information. Most recent update time, Unix seconds; may be -1 if not updated.
content.levelInfo.deleteAt integer Optional field in historical level display information. Deletion time, Unix seconds; -1 if not deleted.
content.levelInfo.extend object or null Optional field in historical level display information. Additional JSON object saved at creation; the level modification API currently does not modify this field.
content.levelInfo.isManage boolean or number Optional field in historical level display information. Whether it is a platform-managed level; workspace-created levels are usually false.
content.levelInfo.isDefault boolean System default level display marker, may be omitted.
{
  "code": 200,
  "content": {
    "id": 1001,
    "uuid": "issue_example001",
    "status": 0,
    "creator": "acnt_example",
    "updator": "SYS",
    "createAt": 1785427200,
    "updateAt": 1785427260,
    "deleteAt": -1,
    "workspaceUUID": "wksp_example001",
    "name": "生产接口延迟",
    "level": "system_level_1",
    "statusType": 15,
    "statusTypeUpdateRecord": [
      "1785427260&&Working"
    ],
    "description": "正在定位延迟原因。",
    "resourceType": "event",
    "resourceUUID": "",
    "subIdentify": "",
    "resource": "LOG",
    "repeatType": "",
    "extend": {
      "text": "正在定位延迟原因。",
      "manager": [],
      "linkList": []
    },
    "resolveAt": -1,
    "eventCount": 0,
    "eventCountUpdateAt": -1,
    "triggerRecord": {},
    "creatorInfo": {},
    "updatorInfo": {
      "uuid": "",
      "status": 0,
      "wsAccountStatus": 0,
      "name": "SYS",
      "username": "SYS",
      "email": "SYS",
      "mobile": ""
    },
    "managerInfos": [],
    "attachments": [],
    "levelInfo": {
      "uuid": "system_level_1",
      "name": "P1",
      "color": "#FF7931",
      "description": "<当前语言及等级配置中的描述>",
      "isDefault": true
    }
  },
  "errorCode": "",
  "message": "",
  "success": true,
  "traceId": "TRACE-EXAMPLE"
}

Error Responses

For authentication, rate limiting, and common request errors, see Common Error Definitions.

HTTP Status errorCode Trigger Condition Message or Response Description Handling
406 ft.ParameterValidationFailed A request field is missing, or the field value violates the declared validation conditions Parameter parsing failed Check the parameter location, field name, type, and value.
400 ft.RequestJsonFormatError Request JSON syntax is invalid Request JSON format error Correct the JSON according to content.reason, line, and column.
400 ft.JsonFormatError Top level of the request JSON is not an object JSON file format error Submit a JSON object; when only changing regular fields, extend can be omitted.
406 ft.IssueLevelNotExists level is non-empty but is not in the current valid level set for the Issue's workspace Level configuration does not exist Obtain the uuid from the valid level list by content.workspaceUUID; an empty string can clear the level.
406 ft.ExceedMaxLengthLimit extend.text length exceeds 3000 characters Exceeds the maximum text length limit Reduce the plain text length; long diagnostic content can be uploaded as attachments and then associated.
400 ft.UnsupportFreeIssueManager A non-workspace member email is set as assignee in the Free/restricted plan Free Plan workspace; external email addresses are not supported as Incident assignees Select a valid member/team/notification target in the workspace, or first verify the plan and email scope.
500 ft.InternalServerError Target does not exist/is deleted, extend=null/dynamic field type error, invalid attachment UUID, or exception in a stepwise database/reply/channel/notification delivery Internal error First GET to verify the final fields, attachments, and channels; an error does not prove rollback. A failure may still occur after the main commit completes; retries can add status records and notifications, so confirm before retrying.

Feedback

Is this page helpful?