UNPKG

@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.

42 lines (40 loc) 1.27 kB
import type { AvatarUrls } from './avatarUrls'; /** * The projects the item is associated with. Indicated for items associated with [next-gen * projects](https://confluence.atlassian.com/x/loMyO). */ export interface Scope { /** Details about a project. */ project?: { avatarUrls?: AvatarUrls; /** The ID of the project. */ id?: string; /** The key of the project. */ key?: string; /** The name of the project. */ name?: string; /** A project category. */ projectCategory?: { /** The name of the project category. */ description?: string; /** The ID of the project category. */ id?: string; /** The description of the project category. */ name?: string; /** The URL of the project category. */ self?: string; }; /** * The [project * type](https://confluence.atlassian.com/x/GwiiLQ#Jiraapplicationsoverview-Productfeaturesandprojecttypes) of the * project. */ projectTypeKey?: 'software' | 'service_desk' | 'business' | string; /** The URL of the project details. */ self?: string; /** Whether or not the project is simplified. */ simplified?: boolean; }; /** The type of scope. */ type?: 'PROJECT' | 'TEMPLATE' | string; }