Skip to content

AssignmentType

Type for an Assignment, like REVIEWER. Part of an IssueTemplate. READ is always granted.

graphql
type AssignmentType implements BaseNode, Named, NamedNode, Node {
  assignmentsWithType(
    after: String
    before: String
    filter: AssignmentFilterInput
    first: Int
    last: Int
    orderBy: [AssignmentOrder!]
    skip: Int
  ): AssignmentConnection!
  description: String!
  hasPermission(
    permission: AllPermissionEntry
  ): Boolean!
  id: ID!
  name: String!
  partOf(
    after: String
    before: String
    filter: IssueTemplateFilterInput
    first: Int
    last: Int
    orderBy: [IssueTemplateOrder!]
    skip: Int
  ): IssueTemplateConnection!
}

Fields

AssignmentType.assignmentsWithType ● AssignmentConnection! non-null object

Assignments which use this type.

AssignmentType.assignmentsWithType.after ● String scalar

Get only items after the cursor

AssignmentType.assignmentsWithType.before ● String scalar

Get only items before the cursor

AssignmentType.assignmentsWithType.filter ● AssignmentFilterInput input

Filter for specific items in the connection

AssignmentType.assignmentsWithType.first ● Int scalar

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

AssignmentType.assignmentsWithType.last ● Int scalar

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

AssignmentType.assignmentsWithType.orderBy ● [AssignmentOrder!] list input

Order in which the items are sorted

AssignmentType.assignmentsWithType.skip ● Int scalar

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

AssignmentType.description ● String! non-null scalar

The description of this entity.

AssignmentType.hasPermission ● Boolean! non-null scalar

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

AssignmentType.hasPermission.permission ● AllPermissionEntry enum

The permission to check for

AssignmentType.id ● ID! non-null scalar

The unique id of this node

AssignmentType.name ● String! non-null scalar

The name of this entity.

AssignmentType.partOf ● IssueTemplateConnection! non-null object

IssueTemplates this is part of.

AssignmentType.partOf.after ● String scalar

Get only items after the cursor

AssignmentType.partOf.before ● String scalar

Get only items before the cursor

AssignmentType.partOf.filter ● IssueTemplateFilterInput input

Filter for specific items in the connection

AssignmentType.partOf.first ● Int scalar

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

AssignmentType.partOf.last ● Int scalar

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

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

Order in which the items are sorted

AssignmentType.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

searchAssignmentTypes query

Member Of

Assignment object ● AssignmentTypeChangedEvent object ● AssignmentTypeConnection object ● AssignmentTypeEdge object ● UpdateAssignmentTypePayload object

Released under the MIT License.