Skip to main content

IssueComment

Comment on an Issue. Can reference Artefacts. Can be deleted, if deleted, the body is set to an empty String and the referencedComments are cleared. Keeps track when it was last edited and by who, but does not keep track of the change history. READ is granted if READ is granted on issue.

type IssueComment implements AuditedNode, BaseNode, Comment, Node, TimelineItem {
answeredBy(
after: String
before: String
filter: IssueCommentFilterInput
first: Int
last: Int
orderBy: [IssueCommentOrder!]
skip: Int
): IssueCommentConnection!
answers: Comment
body: String!
bodyLastEditedAt: DateTime!
bodyLastEditedBy: User!
createdAt: DateTime!
createdBy: User!
hasPermission(
permission: AllPermissionEntry
): Boolean!
id: ID!
isDeleted: Boolean!
issue: Issue
lastModifiedAt: DateTime!
lastModifiedBy: User!
parentItem: ParentTimelineItem
referencedArtefacts(
after: String
before: String
filter: ArtefactFilterInput
first: Int
last: Int
orderBy: [ArtefactOrder!]
skip: Int
): ArtefactConnection!
}

Fields

IssueComment.answeredBy ● IssueCommentConnection! non-null object

IssueComments which answer this Comment.

IssueComment.answeredBy.after ● String scalar

Get only items after the cursor

IssueComment.answeredBy.before ● String scalar

Get only items before the cursor

IssueComment.answeredBy.filter ● IssueCommentFilterInput input

Filter for specific items in the connection

IssueComment.answeredBy.first ● Int scalar

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

IssueComment.answeredBy.last ● Int scalar

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

IssueComment.answeredBy.orderBy ● [IssueCommentOrder!] list input

Order in which the items are sorted

IssueComment.answeredBy.skip ● Int scalar

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

IssueComment.answers ● Comment interface

The Comment this IssueComment is an answers to.

IssueComment.body ● String! non-null scalar

The text of the Comment. Supports GFM (GitHub Flavored Markdown). Updates cause lastEditedAt and lastEditedBy to change. Empty String if IssueComment is deleted.

IssueComment.bodyLastEditedAt ● DateTime! non-null scalar

Keep track when the body of the Comment was last updated. If not updated yet, the DateTime of creation.

IssueComment.bodyLastEditedBy ● User! non-null interface

The User who last edited the body of this Comment. If not edited yet, the creator of the Comment.

IssueComment.createdAt ● DateTime! non-null scalar

The DateTime this entity was created at.

IssueComment.createdBy ● User! non-null interface

The User who created this entity.

IssueComment.hasPermission ● Boolean! non-null scalar

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

IssueComment.hasPermission.permission ● AllPermissionEntry enum

The permission to check for

IssueComment.id ● ID! non-null scalar

The unique id of this node

IssueComment.isDeleted ● Boolean! non-null scalar

If true, the IssueComment was deleted and the body is no longer visible.

IssueComment.issue ● Issue object

The Issue this TimelineItem is part of.

IssueComment.lastModifiedAt ● DateTime! non-null scalar

The DateTime this entity was last modified at.

IssueComment.lastModifiedBy ● User! non-null interface

The User who last modified this entity.

IssueComment.parentItem ● ParentTimelineItem interface

If existing, the parent TimelineItem

IssueComment.referencedArtefacts ● ArtefactConnection! non-null object

Referenced Artefacts. Changes to not cause lastEditedAt/lastEditedBy to change.

IssueComment.referencedArtefacts.after ● String scalar

Get only items after the cursor

IssueComment.referencedArtefacts.before ● String scalar

Get only items before the cursor

IssueComment.referencedArtefacts.filter ● ArtefactFilterInput input

Filter for specific items in the connection

IssueComment.referencedArtefacts.first ● Int scalar

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

IssueComment.referencedArtefacts.last ● Int scalar

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

IssueComment.referencedArtefacts.orderBy ● [ArtefactOrder!] list input

Order in which the items are sorted

IssueComment.referencedArtefacts.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.

Comment interface

Supertype for IssueComment and Body. Represents a text block in the Timeline. Keeps track when it was last edited and by who, but does not keep track of the change history. READ is granted if READ is granted on issue.

Node interface

Base class of all nodes

TimelineItem interface

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

Member of

CreateIssueCommentPayload object ● DeleteIssueCommentPayload object ● IssueCommentConnection object ● IssueCommentEdge object ● UpdateIssueCommentPayload object

Implemented by

PublicTimelineItem union