Skip to main content

Assignment

Event representing that a User is assigned to an Issue. An Assignment is only active if it is still in assignments on Issue. READ is granted if READ is granted on issue.

type Assignment implements AuditedNode, BaseNode, Node, TimelineItem {
createdAt: DateTime!
createdBy: User!
hasPermission(
permission: AllPermissionEntry
): Boolean!
id: ID!
initialType: AssignmentType
issue: Issue
lastModifiedAt: DateTime!
lastModifiedBy: User!
parentItem: ParentTimelineItem
type: AssignmentType
user: User!
}

Fields

Assignment.createdAt ● DateTime! non-null scalar

The DateTime this entity was created at.

Assignment.createdBy ● User! non-null interface

The User who created this entity.

Assignment.hasPermission ● Boolean! non-null scalar

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

Assignment.hasPermission.permission ● AllPermissionEntry enum

The permission to check for

Assignment.id ● ID! non-null scalar

The unique id of this node

Assignment.initialType ● AssignmentType object

The initial type of Assignment, e.g. REVIEWER. Allowed types are defined by the IssueTemplate.

Assignment.issue ● Issue object

The Issue this TimelineItem is part of.

Assignment.lastModifiedAt ● DateTime! non-null scalar

The DateTime this entity was last modified at.

Assignment.lastModifiedBy ● User! non-null interface

The User who last modified this entity.

Assignment.parentItem ● ParentTimelineItem interface

If existing, the parent TimelineItem

Assignment.type ● AssignmentType object

The type of Assignment, e.g. REVIEWER. Allowed types are defined by the IssueTemplate.

Assignment.user ● User! non-null interface

The User assigned to the Issue.

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

AssignmentConnection object ● AssignmentEdge object ● AssignmentTypeChangedEvent object ● CreateAssignmentPayload object ● RemovedAssignmentEvent object

Implemented by

PublicTimelineItem union