@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.
18 lines (16 loc) • 647 B
text/typescript
import type { Comment, Document } from '../models';
export interface AddComment extends Omit<Comment, 'body'> {
/** The ID or key of the issue. */
issueIdOrKey: string;
/**
* Use [expand](https://developer.atlassian.com/cloud/jira/platform/rest/v3/intro/#expansion) to include additional
* information about comments in the response. This parameter accepts `renderedBody`, which returns the comment body
* rendered in HTML.
*/
expand?: string;
/**
* The comment text in [Atlassian Document
* Format](https://developer.atlassian.com/cloud/jira/platform/apis/document/structure/).
*/
comment?: string | Document;
}