@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 (17 loc) • 1.34 kB
text/typescript
export interface GetFavouriteFilters {
/**
* Use [expand](https://developer.atlassian.com/cloud/jira/platform/rest/v2/intro/#expansion) to include additional
* information about filter in the response. This parameter accepts a comma-separated list. Expand options include:
*
* - `sharedUsers` Returns the users that the filter is shared with. This includes users that can browse projects that
* the filter is shared with. If you don't specify `sharedUsers`, then the `sharedUsers` object is returned but it
* doesn't list any users. The list of users returned is limited to 1000, to access additional users append
* `[start-index:end-index]` to the expand request. For example, to access the next 1000 users, use
* `?expand=sharedUsers[1001:2000]`.
* - `subscriptions` Returns the users that are subscribed to the filter. If you don't specify `subscriptions`, the
* `subscriptions` object is returned but it doesn't list any subscriptions. The list of subscriptions returned is
* limited to 1000, to access additional subscriptions append `[start-index:end-index]` to the expand request. For
* example, to access the next 1000 subscriptions, use `?expand=subscriptions[1001:2000]`.
*/
expand?: 'sharedUsers' | 'subscriptions' | ('sharedUsers' | 'subscriptions')[] | string | string[];
}