curl --request PATCH \
--url https://api.example.com/v1/projects/{project}/issues/{issue}:comment \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"comment": "<string>",
"payload": "<string>",
"approval": {
"status": "STATUS_UNSPECIFIED"
},
"issueUpdate": {
"fromTitle": "<string>",
"toTitle": "<string>",
"fromDescription": "<string>",
"toDescription": "<string>",
"fromStatus": "ISSUE_STATUS_UNSPECIFIED",
"toStatus": "ISSUE_STATUS_UNSPECIFIED",
"fromLabels": [
"<string>"
],
"toLabels": [
"<string>"
]
},
"planSpecUpdate": {
"spec": "<string>",
"fromSheet": "<string>",
"toSheet": "<string>"
}
}
'{
"name": "<string>",
"comment": "<string>",
"payload": "<string>",
"createTime": "2023-11-07T05:31:56Z",
"updateTime": "2023-11-07T05:31:56Z",
"creator": "<string>",
"approval": {
"status": "STATUS_UNSPECIFIED"
},
"issueUpdate": {
"fromTitle": "<string>",
"toTitle": "<string>",
"fromDescription": "<string>",
"toDescription": "<string>",
"fromStatus": "ISSUE_STATUS_UNSPECIFIED",
"toStatus": "ISSUE_STATUS_UNSPECIFIED",
"fromLabels": [
"<string>"
],
"toLabels": [
"<string>"
]
},
"planSpecUpdate": {
"spec": "<string>",
"fromSheet": "<string>",
"toSheet": "<string>"
}
}Updates an existing issue comment. Permissions required: bb.issueComments.update
curl --request PATCH \
--url https://api.example.com/v1/projects/{project}/issues/{issue}:comment \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"comment": "<string>",
"payload": "<string>",
"approval": {
"status": "STATUS_UNSPECIFIED"
},
"issueUpdate": {
"fromTitle": "<string>",
"toTitle": "<string>",
"fromDescription": "<string>",
"toDescription": "<string>",
"fromStatus": "ISSUE_STATUS_UNSPECIFIED",
"toStatus": "ISSUE_STATUS_UNSPECIFIED",
"fromLabels": [
"<string>"
],
"toLabels": [
"<string>"
]
},
"planSpecUpdate": {
"spec": "<string>",
"fromSheet": "<string>",
"toSheet": "<string>"
}
}
'{
"name": "<string>",
"comment": "<string>",
"payload": "<string>",
"createTime": "2023-11-07T05:31:56Z",
"updateTime": "2023-11-07T05:31:56Z",
"creator": "<string>",
"approval": {
"status": "STATUS_UNSPECIFIED"
},
"issueUpdate": {
"fromTitle": "<string>",
"toTitle": "<string>",
"fromDescription": "<string>",
"toDescription": "<string>",
"fromStatus": "ISSUE_STATUS_UNSPECIFIED",
"toStatus": "ISSUE_STATUS_UNSPECIFIED",
"fromLabels": [
"<string>"
],
"toLabels": [
"<string>"
]
},
"planSpecUpdate": {
"spec": "<string>",
"fromSheet": "<string>",
"toSheet": "<string>"
}
}The list of fields to update.
If set to true, and the issue comment is not found, a new issue comment will be created.
In this situation, update_mask is ignored.
A comment on an issue.
Format: projects/{project}/issues/{issue}/issueComments/{issueComment-uid}
The text content of the comment.
TODO: use struct message instead.
Approval event.
Show child attributes
Issue update event.
Show child attributes
Plan spec update event.
Show child attributes
OK
A comment on an issue.
Format: projects/{project}/issues/{issue}/issueComments/{issueComment-uid}
The text content of the comment.
TODO: use struct message instead.
Format: users/{email}
Approval event.
Show child attributes
Issue update event.
Show child attributes
Plan spec update event.
Show child attributes
Was this page helpful?