@esm-js/jira.js
Version:
A comprehensive JavaScript/TypeScript library designed for both Node.JS and browsers, facilitating seamless interaction with the Atlassian Jira API.
23 lines (21 loc) • 1.02 kB
text/typescript
import type { Comment } from '../models';
export interface UpdateComment extends Comment {
/** The ID or key of the issue. */
issueIdOrKey: string;
/** The ID of the comment. */
id: string;
/** Whether users are notified when a comment is updated. */
notifyUsers?: boolean;
/**
* Whether screen security is overridden to enable uneditable fields to be edited. Available to Connect app users with
* the _Administer Jira_ [global permission](https://confluence.atlassian.com/x/x4dKLg) and Forge apps acting on
* behalf of users with _Administer Jira_ [global permission](https://confluence.atlassian.com/x/x4dKLg).
*/
overrideEditableFlag?: boolean;
/**
* Use [expand](https://developer.atlassian.com/cloud/jira/platform/rest/v2/intro/#expansion) to include additional
* information about comments in the response. This parameter accepts `renderedBody`, which returns the comment body
* rendered in HTML.
*/
expand?: 'renderedBody' | ['renderedBody'] | string | string[];
}