Skip to main content

linear.createcommentprops

Home > @runlightyear/linear > CreateCommentProps

CreateCommentProps interface

Signature:
interface CreateCommentProps 

Required Properties

PropertyModifiersTypeDescription
issueIdstringThe issue to associate the comment with.

Optional Properties

PropertyModifiersTypeDescription
body?stringThe comment content in markdown format.
createAsUser?stringCreate comment as a user with the provided name. This option is only available to OAuth applications creating comments in actor=application mode.
createdAt?stringThe date when the comment was created (e.g. if importing from another system). Must be a date in the past. If none is provided, the backend will generate the time as now.
displayIconUrl?stringProvide an external user avatar URL. Can only be used in conjunction with the createAsUser options. This option is only available to OAuth applications creating comments in actor=application mode.
doNotSubscribeToIssue?booleanFlag to prevent auto subscription to the issue the comment is created on.
id?stringThe identifier in UUID v4 format. If none is provided, the backend will generate one.
parentId?stringThe parent comment under which to nest a current comment.