IssueRelation
Event representing that a relation between two Issues has been created.
An IssueRelation is only active if it is still in outgoingRelations
on the issue
,
respectively in incomingRelations on the relatedIssue
.
Caution: This is not a subtype of Relation.
READ is granted if READ is granted on issue
.
type IssueRelation implements AuditedNode, BaseNode, Node, TimelineItem {
aggregatedBy(
after: String
before: String
filter: AggregatedIssueRelationFilterInput
first: Int
last: Int
orderBy: [AggregatedIssueRelationOrder!]
skip: Int
): AggregatedIssueRelationConnection!
createdAt: DateTime!
createdBy: User!
hasPermission(
permission: AllPermissionEntry
): Boolean!
id: ID!
initialType: IssueRelationType
issue: Issue
lastModifiedAt: DateTime!
lastModifiedBy: User!
parentItem: ParentTimelineItem
relatedIssue: Issue
type: IssueRelationType
}
Fields
IssueRelation.aggregatedBy
● AggregatedIssueRelationConnection!
non-null object
The AggregatedIssueRelations this IssueRelation is aggregated by.
IssueRelation.aggregatedBy.after
●String
scalarGet only items after the cursor
IssueRelation.aggregatedBy.before
● String
scalar
Get only items before the cursor
IssueRelation.aggregatedBy.filter
● AggregatedIssueRelationFilterInput
input
Filter for specific items in the connection
IssueRelation.aggregatedBy.first
● Int
scalar
Get the first n items. Must not be used if before is specified
IssueRelation.aggregatedBy.last
● Int
scalar
Get the last n items. Must not be used if after is specified
IssueRelation.aggregatedBy.orderBy
● [AggregatedIssueRelationOrder!]
list input
Order in which the items are sorted
IssueRelation.aggregatedBy.skip
● Int
scalar
Skips n items. First or last MUST be specified, is otherwise ignored
IssueRelation.createdAt
● DateTime!
non-null scalar
The DateTime this entity was created at.
IssueRelation.createdBy
● User!
non-null interface
The User who created this entity.
IssueRelation.hasPermission
● Boolean!
non-null scalar
Checks if the current user has a specific permission on this Node
IssueRelation.hasPermission.permission
●AllPermissionEntry
enumThe permission to check for
IssueRelation.id
● ID!
non-null scalar
The unique id of this node
IssueRelation.initialType
● IssueRelationType
object
The initial type of the relation, e.g. DUPLICATES. Allowed types are defined by the IssueTemplate.
IssueRelation.issue
● Issue
object
The Issue this TimelineItem is part of.
IssueRelation.lastModifiedAt
● DateTime!
non-null scalar
The DateTime this entity was last modified at.
IssueRelation.lastModifiedBy
● User!
non-null interface
The User who last modified this entity.
IssueRelation.parentItem
● ParentTimelineItem
interface
If existing, the parent TimelineItem
IssueRelation.relatedIssue
● Issue
object
The end of the relation, null if deleted.
IssueRelation.type
● IssueRelationType
object
The type of the relation, e.g. DUPLICATES. Allowed types are defined by the IssueTemplate.
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
CreateIssueRelationPayload
object ● IncomingRelationTypeChangedEvent
object ● IssueRelationConnection
object ● IssueRelationEdge
object ● OutgoingRelationTypeChangedEvent
object ● RelatedByIssueEvent
object ● RelationTypeChangedEvent
interface ● RemovedIncomingRelationEvent
object ● RemovedOutgoingRelationEvent
object ● RemovedRelationEvent
interface
Implemented by
PublicTimelineItem
union