Skip to content

IssueState

State of an Issue like BUG or FEATURE_REQUEST. Part of an IssueTemplate. READ is always granted.

graphql
type IssueState implements BaseNode, Named, NamedNode, Node {
  description: String!
  hasPermission(
    permission: AllPermissionEntry
  ): Boolean!
  id: ID!
  isOpen: Boolean!
  issuesWithState(
    after: String
    before: String
    filter: IssueFilterInput
    first: Int
    last: Int
    orderBy: [IssueOrder!]
    skip: Int
  ): IssueConnection!
  name: String!
  partOf(
    after: String
    before: String
    filter: IssueTemplateFilterInput
    first: Int
    last: Int
    orderBy: [IssueTemplateOrder!]
    skip: Int
  ): IssueTemplateConnection!
}

Fields

IssueState.description ● String! non-null scalar

The description of this entity.

IssueState.hasPermission ● Boolean! non-null scalar

Checks if the current user has a specific permission on this Node

IssueState.hasPermission.permission ● AllPermissionEntry enum

The permission to check for

IssueState.id ● ID! non-null scalar

The unique id of this node

IssueState.isOpen ● Boolean! non-null scalar

If true and the issue has this state, the issue is considered open, otherwise closed

IssueState.issuesWithState ● IssueConnection! non-null object

Issues with this state.

IssueState.issuesWithState.after ● String scalar

Get only items after the cursor

IssueState.issuesWithState.before ● String scalar

Get only items before the cursor

IssueState.issuesWithState.filter ● IssueFilterInput input

Filter for specific items in the connection

IssueState.issuesWithState.first ● Int scalar

Get the first n items. Must not be used if before is specified

IssueState.issuesWithState.last ● Int scalar

Get the last n items. Must not be used if after is specified

IssueState.issuesWithState.orderBy ● [IssueOrder!] list input

Order in which the items are sorted

IssueState.issuesWithState.skip ● Int scalar

Skips n items. First or last MUST be specified, is otherwise ignored

IssueState.name ● String! non-null scalar

The name of this entity.

IssueState.partOf ● IssueTemplateConnection! non-null object

IssueTemplates this is a part of.

IssueState.partOf.after ● String scalar

Get only items after the cursor

IssueState.partOf.before ● String scalar

Get only items before the cursor

IssueState.partOf.filter ● IssueTemplateFilterInput input

Filter for specific items in the connection

IssueState.partOf.first ● Int scalar

Get the first n items. Must not be used if before is specified

IssueState.partOf.last ● Int scalar

Get the last n items. Must not be used if after is specified

IssueState.partOf.orderBy ● [IssueTemplateOrder!] list input

Order in which the items are sorted

IssueState.partOf.skip ● Int scalar

Skips n items. First or last MUST be specified, is otherwise ignored

Interfaces

BaseNode interface

Shared extensions to the node type.

Named interface

Entity with a name and a description.

NamedNode interface

Node with a name and description

Node interface

Base class of all nodes

Returned By

searchIssueStates query

Member Of

Issue object ● IssueStateConnection object ● IssueStateEdge object ● StateChangedEvent object ● UpdateIssueStatePayload object

Released under the MIT License.