課題コメントの取得

課題に登録されているコメントの一覧を取得します。

実行可能な権限

すべての権限

メソッド

GET 

URL

/api/v2/issues/:issueIdOrKey/comments 

URL パラメーター

パラメーター名 内容
issueIdOrKey 文字列 課題のID または 課題キー

クエリパラメーター

パラメーター名 内容
minId 数値 最小ID
maxId 数値 最大ID
count 数値 取得上限(1-100) 指定が無い場合は20
order 文字列 “asc"または"desc” 指定が無い場合は"desc"

レスポンス例

ステータスライン / レスポンスヘッダ

HTTP/1.1 200 OK 
Content-Type:application/json;charset=utf-8 

レスポンスボディ

[ 
    { 
        "id": 6586, 
        "projectId": 5,
        "issueId": 50,
        "content": "テスト", 
        "changeLog": null, 
        "createdUser": { 
            "id": 1, 
            "userId": "admin", 
            "name": "admin", 
            "roleType": 1, 
            "lang": "ja", 
            "nulabAccount": {
                "nulabId": "Prm9ZD9DQD5snNWcSYSwZiQoA9WFBUEa2ySznrSnSQRhdC2X8G",
                "name": "admin",
                "uniqueId": "admin"
            },
            "mailAddress": "eguchi@nulab.example",
            "lastLoginTime": "2022-09-01T06:35:39Z"
        }, 
        "created": "2013-08-05T06:15:06Z", 
        "updated": "2013-08-05T06:15:06Z", 
        "stars": [], 
        "notifications": [] 
    }, 
    ... 
]