REST Resource: projects.locations.repositories.issues

Resource: Issue

Metadata of an Issue.

JSON representation
{
  "name": string,
  "title": string,
  "body": string,
  "state": enum (State),
  "createTime": string,
  "updateTime": string,
  "closeTime": string,
  "etag": string
}
Fields
name

string

Identifier. Unique identifier for an issue. The issue id is generated by the server. Format: projects/{project}/locations/{location}/repositories/{repository}/issues/{issue_id}

title

string

Required. Issue title.

body

string

Optional. Issue body. Provides a detailed description of the issue.

state

enum (State)

Output only. State of the issue.

createTime

string (Timestamp format)

Output only. Creation timestamp.

Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

updateTime

string (Timestamp format)

Output only. Last updated timestamp.

Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

closeTime

string (Timestamp format)

Output only. Close timestamp (if closed). Cleared when is re-opened.

Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

etag

string

Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.

State

Possible states of an issue.

Enums
STATE_UNSPECIFIED Unspecified.
OPEN An open issue.
CLOSED A closed issue.

Methods

close

Closes an issue.

create

Creates an issue.

delete

Deletes an issue.

get

Gets an issue.

list

Lists issues in a repository.

open

Opens an issue.

patch

Updates a issue.