Skip to main content
POST
/
v1
/
projects
/
{project}
/
issues
/
{issue}
:request
{  "approval": {  "approvalTemplates": [  {  "flow": {  "steps": [  {  "type": "TYPE_UNSPECIFIED",  "nodes": [  {  "type": "TYPE_UNSPECIFIED",  "role": "<string>"  }  ]  }  ]  },  "title": "<string>",  "description": "<string>"  }  ],  "approvers": [  {  "status": "STATUS_UNSPECIFIED",  "principalId": 123  }  ],  "approvalFindingDone": true,  "approvalFindingError": "<string>",  "riskLevel": "RISK_LEVEL_UNSPECIFIED"  },  "grantRequest": {  "role": "<string>",  "user": "<string>",  "condition": {  "id": "<string>",  "constExpr": {  "nullValue": "NULL_VALUE",  "boolValue": true,  "int64Value": "<string>",  "uint64Value": "<string>",  "doubleValue": 123,  "stringValue": "<string>",  "bytesValue": "<string>",  "durationValue": "<string>",  "timestampValue": "2023-11-07T05:31:56Z"  },  "identExpr": {  "name": "<string>"  },  "selectExpr": {  "operand": {},  "field": "<string>",  "testOnly": true  },  "callExpr": {  "target": {},  "function": "<string>",  "args": [  {}  ]  },  "listExpr": {  "elements": [  {}  ],  "optionalIndices": [  123  ]  },  "structExpr": {  "messageName": "<string>",  "entries": [  {  "id": "<string>",  "fieldKey": "<string>",  "mapKey": {},  "value": {},  "optionalEntry": true  }  ]  },  "comprehensionExpr": {  "iterVar": "<string>",  "iterVar2": "<string>",  "iterRange": {},  "accuVar": "<string>",  "accuInit": {},  "loopCondition": {},  "loopStep": {},  "result": {}  }  },  "expiration": "<string>"  },  "labels": [  "<string>"  ] }

Path Parameters

project
string
required

The project id.

issue
string
required

The issue id.

Body

application/json
name
string
required

The name of the issue to request a issue. Format: projects/{project}/issues/{issue}

comment
string

Response

OK

approval
object

IssuePayloadApproval is a part of the payload of an issue. IssuePayloadApproval records the approval template used and the approval history.

grantRequest
object
labels
string[]