@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.
20 lines (19 loc) • 815 B
text/typescript
export interface GetComments {
/** The ID or key of the issue. */
issueIdOrKey: string;
/** The index of the first item to return in a page of results (page offset). */
startAt?: number;
/** The maximum number of items to return per page. */
maxResults?: number;
/**
* [Order](https://developer.atlassian.com/cloud/jira/platform/rest/v2/intro/#ordering) the results by a field.
* Accepts _created_ to sort comments by their created date.
*/
orderBy?: 'created' | '-created' | '+created' | string;
/**
* 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?: string;
}