Label

A label for categorizing Issues or Milestones with a given Repository.

Implements

Connections

issues (IssueConnection)
A list of issues associated with this label.
Argument Type Description
first Int

Returns the first n elements from the list.

after String

Returns the elements in the list that come after the specified global ID.

last Int

Returns the last n elements from the list.

before String

Returns the elements in the list that come before the specified global ID.

labels [String!]

A list of label names to filter the pull requests by.

orderBy IssueOrder

Ordering options for issues returned from the connection.

states [IssueState!]

A list of states to filter the issues by.

pullRequests (PullRequestConnection)
A list of pull requests associated with this label.
Argument Type Description
first Int

Returns the first n elements from the list.

after String

Returns the elements in the list that come after the specified global ID.

last Int

Returns the last n elements from the list.

before String

Returns the elements in the list that come before the specified global ID.

states [PullRequestState!]

A list of states to filter the pull requests by.

labels [String!]

A list of label names to filter the pull requests by.

headRefName String

The head ref name to filter the pull requests by.

baseRefName String

The base ref name to filter the pull requests by.

orderBy IssueOrder

Ordering options for pull requests returned from the connection.

Fields

color (String!)

Identifies the label color.

name (String!)

Identifies the label name.

repository (Repository!)

The repository associated with this label.