Skip to main content

OutgoingRelationTypeChangedEvent

Event representing that the type of an incoming IssueRelation changed. READ is granted if READ is granted on issue.

type OutgoingRelationTypeChangedEvent implements AuditedNode, BaseNode, Node, RelationTypeChangedEvent, TimelineItem {
createdAt: DateTime!
createdBy: User!
hasPermission(
permission: AllPermissionEntry
): Boolean!
id: ID!
issue: Issue
issueRelation: IssueRelation!
lastModifiedAt: DateTime!
lastModifiedBy: User!
newType: IssueRelationType
oldType: IssueRelationType
parentItem: ParentTimelineItem
}

Fields

OutgoingRelationTypeChangedEvent.createdAt ● DateTime! non-null scalar

The DateTime this entity was created at.

OutgoingRelationTypeChangedEvent.createdBy ● User! non-null interface

The User who created this entity.

OutgoingRelationTypeChangedEvent.hasPermission ● Boolean! non-null scalar

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

OutgoingRelationTypeChangedEvent.hasPermission.permission ● AllPermissionEntry enum

The permission to check for

OutgoingRelationTypeChangedEvent.id ● ID! non-null scalar

The unique id of this node

OutgoingRelationTypeChangedEvent.issue ● Issue object

The Issue this TimelineItem is part of.

OutgoingRelationTypeChangedEvent.issueRelation ● IssueRelation! non-null object

The IssueRelation of which the type was changed

OutgoingRelationTypeChangedEvent.lastModifiedAt ● DateTime! non-null scalar

The DateTime this entity was last modified at.

OutgoingRelationTypeChangedEvent.lastModifiedBy ● User! non-null interface

The User who last modified this entity.

OutgoingRelationTypeChangedEvent.newType ● IssueRelationType object

The new type.

OutgoingRelationTypeChangedEvent.oldType ● IssueRelationType object

The old type.

OutgoingRelationTypeChangedEvent.parentItem ● ParentTimelineItem interface

If existing, the parent TimelineItem

Interfaces

AuditedNode interface

Node which provides auditing information, which can e.g. be used for the sync. When it was created and last modified, if the it is already deleted, and by who it was created and last modified. A modification is any change of a field on the node itself and a change of a relation (add or removed). A change on a related related node is not a modification.

BaseNode interface

Shared extensions to the node type.

Node interface

Base class of all nodes

RelationTypeChangedEvent interface

Event representing that the type of an IssueRelation changed.

TimelineItem interface

Supertype of all timeline items. Always part of an Issue.

Member of

ChangeIssueRelationTypePayload object

Implemented by

PublicTimelineItem union