Skip to main content

IssueRelationType

Type for an IssueRelation, like DUPLICATES or DEPENDS_ON. Part of an IssueTemplate. READ is always granted.

type IssueRelationType implements BaseNode, Named, NamedNode, Node {
description: String!
hasPermission(
permission: AllPermissionEntry
): Boolean!
id: ID!
inverseName: String!
name: String!
partOf(
after: String
before: String
filter: IssueTemplateFilterInput
first: Int
last: Int
orderBy: [IssueTemplateOrder!]
skip: Int
): IssueTemplateConnection!
relationsWithType(
after: String
before: String
filter: IssueRelationFilterInput
first: Int
last: Int
orderBy: [IssueRelationOrder!]
skip: Int
): IssueRelationConnection!
}

Fields

IssueRelationType.description ● String! non-null scalar

The description of this entity.

IssueRelationType.hasPermission ● Boolean! non-null scalar

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

IssueRelationType.hasPermission.permission ● AllPermissionEntry enum

The permission to check for

IssueRelationType.id ● ID! non-null scalar

The unique id of this node

IssueRelationType.inverseName ● String! non-null scalar

The name of the relation from the inverse (incoming) perspective

IssueRelationType.name ● String! non-null scalar

The name of this entity.

IssueRelationType.partOf ● IssueTemplateConnection! non-null object

IssueTemplates this is part of.

IssueRelationType.partOf.after ● String scalar

Get only items after the cursor

IssueRelationType.partOf.before ● String scalar

Get only items before the cursor

IssueRelationType.partOf.filter ● IssueTemplateFilterInput input

Filter for specific items in the connection

IssueRelationType.partOf.first ● Int scalar

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

IssueRelationType.partOf.last ● Int scalar

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

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

Order in which the items are sorted

IssueRelationType.partOf.skip ● Int scalar

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

IssueRelationType.relationsWithType ● IssueRelationConnection! non-null object

Relations which use this type.

IssueRelationType.relationsWithType.after ● String scalar

Get only items after the cursor

IssueRelationType.relationsWithType.before ● String scalar

Get only items before the cursor

IssueRelationType.relationsWithType.filter ● IssueRelationFilterInput input

Filter for specific items in the connection

IssueRelationType.relationsWithType.first ● Int scalar

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

IssueRelationType.relationsWithType.last ● Int scalar

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

IssueRelationType.relationsWithType.orderBy ● [IssueRelationOrder!] list input

Order in which the items are sorted

IssueRelationType.relationsWithType.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

searchIssueRelationTypes query

Member of

AggregatedIssueRelation object ● IncomingRelationTypeChangedEvent object ● IssueRelation object ● IssueRelationTypeConnection object ● IssueRelationTypeEdge object ● OutgoingRelationTypeChangedEvent object ● RelationTypeChangedEvent interface