/** * The Jira Cloud platform REST API * Jira Cloud platform REST API documentation * * The version of the OpenAPI document: 1001.0.0-SNAPSHOT * Contact: ecosystem@atlassian.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface ProjectInputBean */ export interface ProjectInputBean { /** * The [project type](https://confluence.atlassian.com/x/GwiiLQ#Jiraapplicationsoverview-Productfeaturesandprojecttypes), which dictates the application-specific feature set. Required when creating a project. Not applicable for the Update project resource. * @type {string} * @memberof ProjectInputBean */ projectTypeKey?: ProjectInputBeanProjectTypeKeyEnum; /** * The ID of the project\'s category. A complete list of category IDs is found using the [Get all project categories](#api-rest-api-3-projectCategory-get) operation. * @type {number} * @memberof ProjectInputBean */ categoryId?: number; /** * A link to information about this project, such as project documentation * @type {string} * @memberof ProjectInputBean */ url?: string; /** * Project keys must be unique and start with an uppercase letter followed by one or more uppercase alphanumeric characters. The maximum length is 10 characters. Required when creating a project. Optional when updating a project. * @type {string} * @memberof ProjectInputBean */ key?: string; /** * A brief description of the project. * @type {string} * @memberof ProjectInputBean */ description?: string; /** * The name of the project. Required when creating a project. Optional when updating a project. * @type {string} * @memberof ProjectInputBean */ name?: string; /** * The ID of the permission scheme for the project. Use the [Get all permission schemes](#api-rest-api-3-permissionscheme-get) resource to see a list of all permission scheme IDs. * @type {number} * @memberof ProjectInputBean */ permissionScheme?: number; /** * The ID of the notification scheme for the project. Use the [Get notification schemes](#api-rest-api-3-notificationscheme-get) resource to get a list of notification scheme IDs. * @type {number} * @memberof ProjectInputBean */ notificationScheme?: number; /** * The default assignee when creating issues for this project. * @type {string} * @memberof ProjectInputBean */ assigneeType?: ProjectInputBeanAssigneeTypeEnum; /** * A prebuilt configuration for a project. The type of the `projectTemplateKey` must match with the type of the `projectTypeKey`. Required when creating a project. Not applicable for the Update project resource. * @type {string} * @memberof ProjectInputBean */ projectTemplateKey?: string; /** * The ID of the issue security scheme for the project, which enables you to control who can and cannot view issues. Use the [Get issue security schemes](#api-rest-api-3-issuesecurityschemes-get) resource to get all issue security scheme IDs. * @type {number} * @memberof ProjectInputBean */ issueSecurityScheme?: number; /** * An integer value for the project\'s avatar. * @type {number} * @memberof ProjectInputBean */ avatarId?: number; /** * The account id of the project lead. Either `lead` or `leadAccountId` must be set when creating a project. Optional when updating a project. Cannot be provided with `lead`. * @type {string} * @memberof ProjectInputBean */ leadAccountId?: string; /** * This parameter is deprecated because of privacy changes. Use `leadAccountId` instead. See the [migration guide](https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/) for details. The user name of the project lead. Either `lead` or `leadAccountId` must be set when creating a project. Optional when updating a project. Cannot be provided with `leadAccountId`. * @type {string} * @memberof ProjectInputBean */ lead?: string; } export declare function ProjectInputBeanFromJSON(json: any): ProjectInputBean; export declare function ProjectInputBeanFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectInputBean; export declare function ProjectInputBeanToJSON(value?: ProjectInputBean): any; /** * @export * @enum {string} */ export declare enum ProjectInputBeanProjectTypeKeyEnum { Software = "software", ServiceDesk = "service_desk", Business = "business" } /** * @export * @enum {string} */ export declare enum ProjectInputBeanAssigneeTypeEnum { PROJECTLEAD = "PROJECT_LEAD", UNASSIGNED = "UNASSIGNED" }