TemplatedFieldChangedEvent
Event representing that the value of a templated field changed.
READ is granted if READ is granted on issue
.
type TemplatedFieldChangedEvent implements AuditedNode, BaseNode, Node, TimelineItem {
createdAt: DateTime!
createdBy: User!
fieldName: String!
hasPermission(
permission: AllPermissionEntry
): Boolean!
id: ID!
issue: Issue
lastModifiedAt: DateTime!
lastModifiedBy: User!
newValue: JSON
oldValue: JSON
parentItem: ParentTimelineItem
}
Fields
TemplatedFieldChangedEvent.createdAt
● DateTime!
non-null scalar
The DateTime this entity was created at.
TemplatedFieldChangedEvent.createdBy
● User!
non-null interface
The User who created this entity.
TemplatedFieldChangedEvent.fieldName
● String!
non-null scalar
The name of the templated field.
TemplatedFieldChangedEvent.hasPermission
● Boolean!
non-null scalar
Checks if the current user has a specific permission on this Node
TemplatedFieldChangedEvent.hasPermission.permission
●AllPermissionEntry
enumThe permission to check for
TemplatedFieldChangedEvent.id
● ID!
non-null scalar
The unique id of this node
TemplatedFieldChangedEvent.issue
● Issue
object
The Issue this TimelineItem is part of.
TemplatedFieldChangedEvent.lastModifiedAt
● DateTime!
non-null scalar
The DateTime this entity was last modified at.
TemplatedFieldChangedEvent.lastModifiedBy
● User!
non-null interface
The User who last modified this entity.
TemplatedFieldChangedEvent.newValue
● JSON
scalar
The new value of the templated field.
TemplatedFieldChangedEvent.oldValue
● JSON
scalar
The old value of the templated field.
TemplatedFieldChangedEvent.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
TimelineItem
interface
Supertype of all timeline items. Always part of an Issue.
Member of
ChangeIssueTemplatedFieldPayload
object
Implemented by
PublicTimelineItem
union