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>"
]
},
"stageEnd": {
"stage": "<string>"
},
"taskUpdate": {
"tasks": [
"<string>"
],
"fromSheet": "<string>",
"toSheet": "<string>",
"toStatus": "STATUS_UNSPECIFIED"
},
"taskPriorBackup": {
"task": "<string>",
"tables": [
{
"schema": "<string>",
"table": "<string>"
}
],
"originalLine": 123,
"database": "<string>",
"error": "<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>"
]
},
"stageEnd": {
"stage": "<string>"
},
"taskUpdate": {
"tasks": [
"<string>"
],
"fromSheet": "<string>",
"toSheet": "<string>",
"toStatus": "STATUS_UNSPECIFIED"
},
"taskPriorBackup": {
"task": "<string>",
"tables": [
{
"schema": "<string>",
"table": "<string>"
}
],
"originalLine": 123,
"database": "<string>",
"error": "<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>"
]
},
"stageEnd": {
"stage": "<string>"
},
"taskUpdate": {
"tasks": [
"<string>"
],
"fromSheet": "<string>",
"toSheet": "<string>",
"toStatus": "STATUS_UNSPECIFIED"
},
"taskPriorBackup": {
"task": "<string>",
"tables": [
{
"schema": "<string>",
"table": "<string>"
}
],
"originalLine": 123,
"database": "<string>",
"error": "<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>"
]
},
"stageEnd": {
"stage": "<string>"
},
"taskUpdate": {
"tasks": [
"<string>"
],
"fromSheet": "<string>",
"toSheet": "<string>",
"toStatus": "STATUS_UNSPECIFIED"
},
"taskPriorBackup": {
"task": "<string>",
"tables": [
{
"schema": "<string>",
"table": "<string>"
}
],
"originalLine": 123,
"database": "<string>",
"error": "<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
Stage end event.
Show child attributes
Task update event.
Show child attributes
Task prior backup 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
Stage end event.
Show child attributes
Task update event.
Show child attributes
Task prior backup event.
Show child attributes
Was this page helpful?