Label
Label used to mark Issues with.
A Label consists of a name, a description and a color.
Issues may be synced to all IMSProjects of Trackables they are part of.
READ is granted if READ is granted on any Trackable in trackables
.
type Label implements AuditedNode, BaseNode, Named, NamedAuditedNode, Node {
color: String!
createdAt: DateTime!
createdBy: User!
description: String!
hasPermission(
permission: AllPermissionEntry
): Boolean!
id: ID!
issues(
after: String
before: String
filter: IssueFilterInput
first: Int
last: Int
orderBy: [IssueOrder!]
skip: Int
): IssueConnection!
lastModifiedAt: DateTime!
lastModifiedBy: User!
name: String!
trackables(
after: String
before: String
filter: TrackableFilterInput
first: Int
last: Int
orderBy: [TrackableOrder!]
skip: Int
): TrackableConnection!
}
Fields
Label.color
● String!
non-null scalar
The color of the Label, used to display the Label.
Label.createdAt
● DateTime!
non-null scalar
The DateTime this entity was created at.
Label.createdBy
● User!
non-null interface
The User who created this entity.
Label.description
● String!
non-null scalar
The description of this entity.
Label.hasPermission
● Boolean!
non-null scalar
Checks if the current user has a specific permission on this Node
Label.hasPermission.permission
●AllPermissionEntry
enumThe permission to check for
Label.id
● ID!
non-null scalar
The unique id of this node
Label.issues
● IssueConnection!
non-null object
Issues which currently have this Label.
Label.issues.after
●String
scalarGet only items after the cursor
Label.issues.before
● String
scalar
Get only items before the cursor
Label.issues.filter
● IssueFilterInput
input
Filter for specific items in the connection
Label.issues.first
● Int
scalar
Get the first n items. Must not be used if before is specified
Label.issues.last
● Int
scalar
Get the last n items. Must not be used if after is specified
Label.issues.orderBy
● [IssueOrder!]
list input
Order in which the items are sorted
Label.issues.skip
● Int
scalar
Skips n items. First or last MUST be specified, is otherwise ignored
Label.lastModifiedAt
● DateTime!
non-null scalar
The DateTime this entity was last modified at.
Label.lastModifiedBy
● User!
non-null interface
The User who last modified this entity.
Label.name
● String!
non-null scalar
The name of this entity.
Label.trackables
● TrackableConnection!
non-null object
Trackables this Label is part of.
Label.trackables.after
●String
scalarGet only items after the cursor
Label.trackables.before
● String
scalar
Get only items before the cursor
Label.trackables.filter
● TrackableFilterInput
input
Filter for specific items in the connection
Label.trackables.first
● Int
scalar
Get the first n items. Must not be used if before is specified
Label.trackables.last
● Int
scalar
Get the last n items. Must not be used if after is specified
Label.trackables.orderBy
● [TrackableOrder!]
list input
Order in which the items are sorted
Label.trackables.skip
● Int
scalar
Skips n items. First or last MUST be specified, is otherwise ignored
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.
Named
interface
Entity with a name and a description.
NamedAuditedNode
interface
AuditedNode with a name and description
Node
interface
Base class of all nodes
Returned by
searchLabels
query
Member of
AddedLabelEvent
object ● LabelConnection
object ● LabelEdge
object ● RemovedLabelEvent
object