Skip to main content

TemplateChangedEvent

Event representing the template of an Issue changed. READ is granted if READ is granted on issue.

type TemplateChangedEvent implements AuditedNode, BaseNode, Node, ParentTimelineItem, TimelineItem {
childItems(
after: String
before: String
filter: TimelineItemFilterInput
first: Int
last: Int
orderBy: [TimelineItemOrder!]
skip: Int
): TimelineItemConnection!
createdAt: DateTime!
createdBy: User!
hasPermission(
permission: AllPermissionEntry
): Boolean!
id: ID!
issue: Issue
lastModifiedAt: DateTime!
lastModifiedBy: User!
newTemplate: IssueTemplate!
oldTemplate: IssueTemplate!
parentItem: ParentTimelineItem
}

Fields

TemplateChangedEvent.childItems ● TimelineItemConnection! non-null object

Child TimelineItems. These are still part of the main timeline.

TemplateChangedEvent.childItems.after ● String scalar

Get only items after the cursor

TemplateChangedEvent.childItems.before ● String scalar

Get only items before the cursor

TemplateChangedEvent.childItems.filter ● TimelineItemFilterInput input

Filter for specific items in the connection

TemplateChangedEvent.childItems.first ● Int scalar

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

TemplateChangedEvent.childItems.last ● Int scalar

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

TemplateChangedEvent.childItems.orderBy ● [TimelineItemOrder!] list input

Order in which the items are sorted

TemplateChangedEvent.childItems.skip ● Int scalar

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

TemplateChangedEvent.createdAt ● DateTime! non-null scalar

The DateTime this entity was created at.

TemplateChangedEvent.createdBy ● User! non-null interface

The User who created this entity.

TemplateChangedEvent.hasPermission ● Boolean! non-null scalar

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

TemplateChangedEvent.hasPermission.permission ● AllPermissionEntry enum

The permission to check for

TemplateChangedEvent.id ● ID! non-null scalar

The unique id of this node

TemplateChangedEvent.issue ● Issue object

The Issue this TimelineItem is part of.

TemplateChangedEvent.lastModifiedAt ● DateTime! non-null scalar

The DateTime this entity was last modified at.

TemplateChangedEvent.lastModifiedBy ● User! non-null interface

The User who last modified this entity.

TemplateChangedEvent.newTemplate ● IssueTemplate! non-null object

The new template.

TemplateChangedEvent.oldTemplate ● IssueTemplate! non-null object

The old template.

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

ParentTimelineItem interface

TimelineItem which can aggregate other TimelineItems. READ is granted if READ is granted on issue.

TimelineItem interface

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

Member of

ChangeIssueTemplatePayload object