Method: projects.locations.repositories.issues.open

Opens an issue.

HTTP request


The URLs use gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. Name of the issue to open. The format is projects/{project_number}/locations/{locationId}/repositories/{repositoryId}/issues/{issue_id}.

Request body

The request body contains data with the following structure:

JSON representation
{
  "etag": string
}
Fields
etag

string

Optional. The current etag of the issue. If the etag is provided and does not match the current etag of the issue, opening will be blocked and an ABORTED error will be returned.

Response body

If successful, the response body contains an instance of Operation.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • securesourcemanager.issues.open

For more information, see the IAM documentation.