コンテンツにスキップ

ISSUE を編集



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

概要

ロールリストを取得する

ルートパラメータ

パラメータ名 タイプ 必須 説明
issue_uuid string Y issueUUID

ボディリクエストパラメータ

パラメータ名 タイプ 必須 説明
name string タイトル名
例: name
空の許可: False
$maxCustomLength: 256
level string レベル、対応するレベル設定の uuid
例: level
空の許可: False
空文字列の許可: True
description string 説明
例: description
空の許可: False
statusType integer issue のステータス
例: 10
空の許可: False
選択可能な値: [10, 15, 20, 25, 30]
extend json 追加の拡張情報、内容がない場合はデフォルトで {}
例: {}
空の許可: True
attachmentUuids array 添付ファイルアップロードリストの uuid
例: []
空の許可: True

パラメータ補足説明

基本パラメータ説明

パラメータ名 パラメータタイプ 必須 パラメータ説明
name string N issue のタイトル名
level string N issue のレベル、対応する設定レベルの uuid
statusType integer N issue のステータス, 10: Open, 15: Working, 20: Resolved, 25: Closed, 30: Pending
description string N issue の説明情報
attachmentUuids array N 添付ファイルアップロードリストの uuid、事前に /api/v1/attachment/upload エンドポイントでアップロードする必要があります
extend json N 拡張フィールド、デフォルトで {} を渡します

level レベルフィールドの説明 level はシステムレベル / カスタムレベルに分かれます(設定管理で設定可能)

level value パラメータ説明
P0 system_level_0 引数 level: system_level_0 を渡すと、システムレベル P0 を表します
P1 system_level_1 引数 level: system_level_1 を渡すと、システムレベル P1 を表します
P2 system_level_2 引数 level: system_level_2 を渡すと、システムレベル P2 を表します
P3 system_level_3 引数 level: system_level_3 を渡すと、システムレベル P3 を表します
xxx issl_yyyyy 引数 level: issl_yyyyy を渡すと、カスタムレベル xxx を表します

拡張フィールド extend の説明

パラメータ名 パラメータタイプ 必須 パラメータ説明
channels array N 説明内の # : issue を配信するリソースリスト
linkList array N issue リンクを追加
members array N 説明内の @ : issue 通知の通知対象メンバー
manager array N 担当者情報(ユーザーアカウント uuid、メール、チーム uuid)
extra json N issue 更新者 / 担当者のメールに対応する名前などの情報、フロントエンドの表示用

extend フィールドの例:

{
    "members": [
        {
            "type": "@",
            "uuid": "acnt_xxxx32",
            "exists": true
        }
    ],
    "channels": [
        {
            "type": "#",
            "uuid": "chan_xxxx32",
            "exists": true
        }
    ],
    "manager": [
        "acnt_xxxxx",
        "xxx@guance.com",
        "group_xxx",
        "xxx@guance.com"
    ],
    "linkList": [
        {
            "name": "解決",
            "link": "https://sd.com",
        }
    ],
    "extra":{
              "updator": {
                  "name": "xxx",
                  "email": "xxx@guance.com",
              },
              "managerInfos": {
                  "xxx@guance.com": {"name": "111"},
                  "xxx@guance.com": {"name": "222"}
              }
            }
}

レスポンス


フィードバック

このページは役に立ちましたか?