linear.createcommentprops
Home > @runlightyear/linear > CreateCommentProps
CreateCommentProps interface
Signature:interface CreateCommentProps
Required Properties
Property | Modifiers | Type | Description |
---|---|---|---|
issueId | string | The issue to associate the comment with. |
Optional Properties
Property | Modifiers | Type | Description |
---|---|---|---|
body? | string | The comment content in markdown format. | |
createAsUser? | string | Create comment as a user with the provided name. This option is only available to OAuth applications creating comments in actor=application mode. | |
createdAt? | string | The 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? | string | Provide 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? | boolean | Flag to prevent auto subscription to the issue the comment is created on. | |
id? | string | The identifier in UUID v4 format. If none is provided, the backend will generate one. | |
parentId? | string | The parent comment under which to nest a current comment. |