@knpkv/jira-api-client 1.0.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +22 -0
- package/dist/JiraApiClient.d.ts +4 -4
- package/dist/JiraApiClient.d.ts.map +1 -1
- package/dist/JiraApiClient.js.map +1 -1
- package/dist/JiraApiConfig.d.ts +2 -2
- package/dist/JiraApiConfig.d.ts.map +1 -1
- package/dist/JiraApiConfig.js.map +1 -1
- package/dist/generated/JiraApi.d.ts +9 -3
- package/dist/generated/JiraApi.d.ts.map +1 -1
- package/dist/generated/JiraApi.js +2 -2
- package/dist/generated/JiraApi.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +9 -9
- package/src/JiraApiClient.ts +7 -7
- package/src/JiraApiConfig.ts +2 -2
- package/src/generated/JiraApi.ts +4 -4
- package/src/index.ts +2 -2
- package/test/JiraApiClient.test.ts +3 -3
|
@@ -74,7 +74,7 @@ export const CreatePermissionRequest = Schema.Struct({ "holder": Schema.Struct({
|
|
|
74
74
|
export const CreatePlanOnlyTeamRequest = Schema.Struct({ "capacity": Schema.optionalKey(Schema.Number.annotate({ "description": "The capacity for the plan-only team.", "format": "double" }).check(Schema.isFinite())), "issueSourceId": Schema.optionalKey(Schema.Number.annotate({ "description": "The ID of the issue source for the plan-only team.", "format": "int64" }).check(Schema.isInt())), "memberAccountIds": Schema.optionalKey(Schema.Array(Schema.String).annotate({ "description": "The account IDs of the plan-only team members." }).check(Schema.isUnique())), "name": Schema.String.annotate({ "description": "The plan-only team name." }).check(Schema.isMinLength(1)).check(Schema.isMaxLength(255)), "planningStyle": Schema.Literals(["Scrum", "Kanban"]).annotate({ "description": "The planning style for the plan-only team. This must be \"Scrum\" or \"Kanban\"." }), "sprintLength": Schema.optionalKey(Schema.Number.annotate({ "description": "The sprint length for the plan-only team.", "format": "int64" }).check(Schema.isInt())) });
|
|
75
75
|
export const CreatePriorityDetails = Schema.Struct({ "avatarId": Schema.optionalKey(Schema.Number.annotate({ "description": "The ID for the avatar for the priority. Either the iconUrl or avatarId must be defined, but not both. This parameter is nullable and will become mandatory once the iconUrl parameter is deprecated.", "writeOnly": true, "format": "int64" }).check(Schema.isInt())), "description": Schema.optionalKey(Schema.Union([Schema.String.check(Schema.isMaxLength(255, { "description": "The description of the priority.", "writeOnly": true }))])), "iconUrl": Schema.optionalKey(Schema.Union([Schema.Literals(["/images/icons/priorities/blocker.png", "/images/icons/priorities/critical.png", "/images/icons/priorities/high.png", "/images/icons/priorities/highest.png", "/images/icons/priorities/low.png", "/images/icons/priorities/lowest.png", "/images/icons/priorities/major.png", "/images/icons/priorities/medium.png", "/images/icons/priorities/minor.png", "/images/icons/priorities/trivial.png", "/images/icons/priorities/blocker_new.png", "/images/icons/priorities/critical_new.png", "/images/icons/priorities/high_new.png", "/images/icons/priorities/highest_new.png", "/images/icons/priorities/low_new.png", "/images/icons/priorities/lowest_new.png", "/images/icons/priorities/major_new.png", "/images/icons/priorities/medium_new.png", "/images/icons/priorities/minor_new.png", "/images/icons/priorities/trivial_new.png"]).annotate({ "description": "The URL of an icon for the priority. Accepted protocols are HTTP and HTTPS. Built in icons can also be used. Either the iconUrl or avatarId must be defined, but not both.", "writeOnly": true }), Schema.Union([Schema.Null]).annotate({ "description": "The URL of an icon for the priority. Accepted protocols are HTTP and HTTPS. Built in icons can also be used. Either the iconUrl or avatarId must be defined, but not both.", "writeOnly": true })])), "name": Schema.String.annotate({ "description": "The name of the priority. Must be unique.", "writeOnly": true }).check(Schema.isMaxLength(60)), "statusColor": Schema.String.annotate({ "description": "The status color of the priority in 3-digit or 6-digit hexadecimal format.", "writeOnly": true }) }).annotate({ "description": "Details of an issue priority." });
|
|
76
76
|
export const CreatePrioritySchemeDetails = Schema.Struct({ "defaultPriorityId": Schema.Number.annotate({ "description": "The ID of the default priority for the priority scheme.", "writeOnly": true, "format": "int64" }).check(Schema.isInt()), "description": Schema.optionalKey(Schema.String.annotate({ "description": "The description of the priority scheme.", "writeOnly": true }).check(Schema.isMaxLength(4000))), "mappings": Schema.optionalKey(Schema.Struct({ "in": Schema.optionalKey(Schema.Record(Schema.String, Schema.Number.annotate({ "writeOnly": true, "format": "int64" }).check(Schema.isInt())).annotate({ "description": "The mapping of priorities for issues being migrated **into** this priority scheme. Key is the old priority ID, value is the new priority ID (must exist in this priority scheme).\n\nE.g. The current priority scheme has priority ID `10001`. Issues with priority ID `10000` are being migrated into this priority scheme will need mapping to new priorities. The `in` mapping would be `{\"10000\": 10001}`.", "writeOnly": true })), "out": Schema.optionalKey(Schema.Record(Schema.String, Schema.Number.annotate({ "writeOnly": true, "format": "int64" }).check(Schema.isInt())).annotate({ "description": "The mapping of priorities for issues being migrated **out of** this priority scheme. Key is the old priority ID (must exist in this priority scheme), value is the new priority ID (must exist in the default priority scheme). Required for updating an existing priority scheme. Not used when creating a new priority scheme.\n\nE.g. The current priority scheme has priority ID `10001`. Issues with priority ID `10001` are being migrated out of this priority scheme will need mapping to new priorities. The `out` mapping would be `{\"10001\": 10000}`.", "writeOnly": true })) }).annotate({ "description": "Mapping of issue priorities for changes in priority schemes.", "writeOnly": true })), "name": Schema.String.annotate({ "description": "The name of the priority scheme. Must be unique.", "writeOnly": true }).check(Schema.isMaxLength(255)), "priorityIds": Schema.Array(Schema.Number.annotate({ "writeOnly": true, "format": "int64" }).check(Schema.isInt())).annotate({ "description": "The IDs of priorities in the scheme.", "writeOnly": true }), "projectIds": Schema.optionalKey(Schema.Array(Schema.Number.annotate({ "writeOnly": true, "format": "int64" }).check(Schema.isInt())).annotate({ "description": "The IDs of projects that will use the priority scheme.", "writeOnly": true }).check(Schema.isUnique())) }).annotate({ "description": "Details of a new priority scheme" });
|
|
77
|
-
export const CreateProjectDetails = Schema.Struct({ "assigneeType": Schema.optionalKey(Schema.Literals(["PROJECT_LEAD", "UNASSIGNED"]).annotate({ "description": "The default assignee when creating issues for this project." })), "avatarId": Schema.optionalKey(Schema.Number.annotate({ "description": "An integer value for the project's avatar.", "format": "int64" }).check(Schema.isInt())), "categoryId": Schema.optionalKey(Schema.Number.annotate({ "description": "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.", "format": "int64" }).check(Schema.isInt())), "description": Schema.optionalKey(Schema.String.annotate({ "description": "A brief description of the project." })), "fieldConfigurationScheme": Schema.optionalKey(Schema.Number.annotate({ "description": "Deprecated use [fieldScheme](https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-field-schemes/#api-group-field-schemes) instead. The ID of the field configuration scheme for the project. Use the [Get all field configuration schemes](#api-rest-api-3-fieldconfigurationscheme-get) operation to get a list of field configuration scheme IDs. If you specify the field configuration scheme you cannot specify the project template key.", "format": "int64" }).check(Schema.isInt())), "fieldScheme": Schema.optionalKey(Schema.Number.annotate({ "description": "The ID of the field scheme for the project. Use the [Get field schemes](#api-rest-api-3-config-fieldschemes-get) operation to get a list of field scheme IDs. If you specify the field scheme you cannot specify the project template key.", "format": "int64" }).check(Schema.isInt())), "issueSecurityScheme": Schema.optionalKey(Schema.Number.annotate({ "description": "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.", "format": "int64" }).check(Schema.isInt())), "issueTypeScheme": Schema.optionalKey(Schema.Number.annotate({ "description": "The ID of the issue type scheme for the project. Use the [Get all issue type schemes](#api-rest-api-3-issuetypescheme-get) operation to get a list of issue type scheme IDs. If you specify the issue type scheme you cannot specify the project template key.", "format": "int64" }).check(Schema.isInt())), "issueTypeScreenScheme": Schema.optionalKey(Schema.Number.annotate({ "description": "The ID of the issue type screen scheme for the project. Use the [Get all issue type screen schemes](#api-rest-api-3-issuetypescreenscheme-get) operation to get a list of issue type screen scheme IDs. If you specify the issue type screen scheme you cannot specify the project template key.", "format": "int64" }).check(Schema.isInt())), "key": Schema.String.annotate({ "description": "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." }), "lead": Schema.optionalKey(Schema.String.annotate({ "description": "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. Cannot be provided with `leadAccountId`." })), "leadAccountId": Schema.optionalKey(Schema.String.annotate({ "description": "The account ID of the project lead. Either `lead` or `leadAccountId` must be set when creating a project. Cannot be provided with `lead`." }).check(Schema.isMaxLength(128))), "name": Schema.String.annotate({ "description": "The name of the project." }), "notificationScheme": Schema.optionalKey(Schema.Number.annotate({ "description": "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.", "format": "int64" }).check(Schema.isInt())), "permissionScheme": Schema.optionalKey(Schema.Number.annotate({ "description": "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.", "format": "int64" }).check(Schema.isInt())), "projectTemplateKey": Schema.optionalKey(Schema.Literals(["com.pyxis.greenhopper.jira:gh-simplified-agility-kanban", "com.pyxis.greenhopper.jira:gh-simplified-agility-scrum", "com.pyxis.greenhopper.jira:gh-simplified-basic", "com.pyxis.greenhopper.jira:gh-simplified-kanban-classic", "com.pyxis.greenhopper.jira:gh-simplified-scrum-classic", "com.pyxis.greenhopper.jira:gh-cross-team-template", "com.pyxis.greenhopper.jira:gh-cross-team-planning-template", "com.atlassian.servicedesk:simplified-it-service-management", "com.atlassian.servicedesk:simplified-it-service-management-basic", "com.atlassian.servicedesk:simplified-it-service-management-operations", "com.atlassian.servicedesk:simplified-internal-service-desk", "com.atlassian.servicedesk:simplified-external-service-desk", "com.atlassian.servicedesk:simplified-hr-service-desk", "com.atlassian.servicedesk:simplified-facilities-service-desk", "com.atlassian.servicedesk:simplified-legal-service-desk", "com.atlassian.servicedesk:simplified-marketing-service-desk", "com.atlassian.servicedesk:simplified-finance-service-desk", "com.atlassian.servicedesk:simplified-analytics-service-desk", "com.atlassian.servicedesk:simplified-design-service-desk", "com.atlassian.servicedesk:simplified-sales-service-desk", "com.atlassian.servicedesk:simplified-halp-service-desk", "com.atlassian.servicedesk:next-gen-it-service-desk", "com.atlassian.servicedesk:next-gen-hr-service-desk", "com.atlassian.servicedesk:next-gen-legal-service-desk", "com.atlassian.servicedesk:next-gen-marketing-service-desk", "com.atlassian.servicedesk:next-gen-facilities-service-desk", "com.atlassian.servicedesk:next-gen-
|
|
77
|
+
export const CreateProjectDetails = Schema.Struct({ "assigneeType": Schema.optionalKey(Schema.Literals(["PROJECT_LEAD", "UNASSIGNED"]).annotate({ "description": "The default assignee when creating issues for this project." })), "avatarId": Schema.optionalKey(Schema.Number.annotate({ "description": "An integer value for the project's avatar.", "format": "int64" }).check(Schema.isInt())), "categoryId": Schema.optionalKey(Schema.Number.annotate({ "description": "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.", "format": "int64" }).check(Schema.isInt())), "description": Schema.optionalKey(Schema.String.annotate({ "description": "A brief description of the project." })), "fieldConfigurationScheme": Schema.optionalKey(Schema.Number.annotate({ "description": "Deprecated use [fieldScheme](https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-field-schemes/#api-group-field-schemes) instead. The ID of the field configuration scheme for the project. Use the [Get all field configuration schemes](#api-rest-api-3-fieldconfigurationscheme-get) operation to get a list of field configuration scheme IDs. If you specify the field configuration scheme you cannot specify the project template key.", "format": "int64" }).check(Schema.isInt())), "fieldScheme": Schema.optionalKey(Schema.Number.annotate({ "description": "The ID of the field scheme for the project. Use the [Get field schemes](#api-rest-api-3-config-fieldschemes-get) operation to get a list of field scheme IDs. If you specify the field scheme you cannot specify the project template key.", "format": "int64" }).check(Schema.isInt())), "issueSecurityScheme": Schema.optionalKey(Schema.Number.annotate({ "description": "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.", "format": "int64" }).check(Schema.isInt())), "issueTypeScheme": Schema.optionalKey(Schema.Number.annotate({ "description": "The ID of the issue type scheme for the project. Use the [Get all issue type schemes](#api-rest-api-3-issuetypescheme-get) operation to get a list of issue type scheme IDs. If you specify the issue type scheme you cannot specify the project template key.", "format": "int64" }).check(Schema.isInt())), "issueTypeScreenScheme": Schema.optionalKey(Schema.Number.annotate({ "description": "The ID of the issue type screen scheme for the project. Use the [Get all issue type screen schemes](#api-rest-api-3-issuetypescreenscheme-get) operation to get a list of issue type screen scheme IDs. If you specify the issue type screen scheme you cannot specify the project template key.", "format": "int64" }).check(Schema.isInt())), "key": Schema.String.annotate({ "description": "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." }), "lead": Schema.optionalKey(Schema.String.annotate({ "description": "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. Cannot be provided with `leadAccountId`." })), "leadAccountId": Schema.optionalKey(Schema.String.annotate({ "description": "The account ID of the project lead. Either `lead` or `leadAccountId` must be set when creating a project. Cannot be provided with `lead`." }).check(Schema.isMaxLength(128))), "name": Schema.String.annotate({ "description": "The name of the project." }), "notificationScheme": Schema.optionalKey(Schema.Number.annotate({ "description": "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.", "format": "int64" }).check(Schema.isInt())), "permissionScheme": Schema.optionalKey(Schema.Number.annotate({ "description": "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.", "format": "int64" }).check(Schema.isInt())), "projectTemplateKey": Schema.optionalKey(Schema.Literals(["com.pyxis.greenhopper.jira:gh-simplified-agility-kanban", "com.pyxis.greenhopper.jira:gh-simplified-agility-scrum", "com.pyxis.greenhopper.jira:gh-simplified-basic", "com.pyxis.greenhopper.jira:gh-simplified-kanban-classic", "com.pyxis.greenhopper.jira:gh-simplified-scrum-classic", "com.pyxis.greenhopper.jira:gh-cross-team-template", "com.pyxis.greenhopper.jira:gh-cross-team-planning-template", "com.atlassian.servicedesk:simplified-it-service-management", "com.atlassian.servicedesk:simplified-it-service-management-basic", "com.atlassian.servicedesk:simplified-it-service-management-operations", "com.atlassian.servicedesk:simplified-internal-service-desk", "com.atlassian.servicedesk:simplified-external-service-desk", "com.atlassian.servicedesk:simplified-hr-service-desk", "com.atlassian.servicedesk:simplified-facilities-service-desk", "com.atlassian.servicedesk:simplified-legal-service-desk", "com.atlassian.servicedesk:simplified-marketing-service-desk", "com.atlassian.servicedesk:simplified-finance-service-desk", "com.atlassian.servicedesk:simplified-analytics-service-desk", "com.atlassian.servicedesk:simplified-design-service-desk", "com.atlassian.servicedesk:simplified-sales-service-desk", "com.atlassian.servicedesk:simplified-halp-service-desk", "com.atlassian.servicedesk:next-gen-it-service-desk", "com.atlassian.servicedesk:next-gen-hr-service-desk", "com.atlassian.servicedesk:next-gen-legal-service-desk", "com.atlassian.servicedesk:next-gen-marketing-service-desk", "com.atlassian.servicedesk:next-gen-facilities-service-desk", "com.atlassian.servicedesk:next-gen-analytics-service-desk", "com.atlassian.servicedesk:next-gen-finance-service-desk", "com.atlassian.servicedesk:next-gen-design-service-desk", "com.atlassian.servicedesk:next-gen-sales-service-desk", "com.atlassian.servicedesk:company-managed-blank-service-project", "com.atlassian.servicedesk:company-managed-general-service-project", "com.atlassian.servicedesk:team-managed-general-service-project", "com.atlassian.jira-core-project-templates:jira-core-simplified-content-management", "com.atlassian.jira-core-project-templates:jira-core-simplified-document-approval", "com.atlassian.jira-core-project-templates:jira-core-simplified-lead-tracking", "com.atlassian.jira-core-project-templates:jira-core-simplified-process-control", "com.atlassian.jira-core-project-templates:jira-core-simplified-procurement", "com.atlassian.jira-core-project-templates:jira-core-simplified-project-management", "com.atlassian.jira-core-project-templates:jira-core-simplified-recruitment", "com.atlassian.jira-core-project-templates:jira-core-simplified-task-", "com.atlassian.jcs:customer-service-management"]).annotate({ "description": "A predefined configuration for a project. The type of the `projectTemplateKey` must match with the type of the `projectTypeKey`." })), "projectTypeKey": Schema.optionalKey(Schema.Literals(["software", "service_desk", "business"]).annotate({ "description": "The [project type](https://confluence.atlassian.com/x/GwiiLQ#Jiraapplicationsoverview-Productfeaturesandprojecttypes), which defines the application-specific feature set. If you don't specify the project template you have to specify the project type." })), "url": Schema.optionalKey(Schema.String.annotate({ "description": "A link to information about this project, such as project documentation" })), "workflowScheme": Schema.optionalKey(Schema.Number.annotate({ "description": "The ID of the workflow scheme for the project. Use the [Get all workflow schemes](#api-rest-api-3-workflowscheme-get) operation to get a list of workflow scheme IDs. If you specify the workflow scheme you cannot specify the project template key.", "format": "int64" }).check(Schema.isInt())) }).annotate({ "description": "Details about the project." });
|
|
78
78
|
export const CreateResolutionDetails = Schema.Struct({ "description": Schema.optionalKey(Schema.String.annotate({ "description": "The description of the resolution.", "writeOnly": true }).check(Schema.isMaxLength(255))), "name": Schema.String.annotate({ "description": "The name of the resolution. Must be unique (case-insensitive).", "writeOnly": true }).check(Schema.isMaxLength(60)) }).annotate({ "description": "Details of an issue resolution." });
|
|
79
79
|
export const CreateUpdateRoleRequestBean = Schema.Struct({ "description": Schema.optionalKey(Schema.String.annotate({ "description": "A description of the project role. Required when fully updating a project role. Optional when creating or partially updating a project role." })), "name": Schema.optionalKey(Schema.String.annotate({ "description": "The name of the project role. Must be unique. Cannot begin or end with whitespace. The maximum length is 255 characters. Required when creating a project role. Optional when partially updating a project role." })) });
|
|
80
80
|
export const CustomContextVariable = Schema.Union([Schema.Struct({ "accountId": Schema.String.annotate({ "description": "The account ID of the user." }), "type": Schema.String.annotate({ "description": "Type of custom context variable." }) }).annotate({ "description": "A [user](https://developer.atlassian.com/cloud/jira/platform/jira-expressions-type-reference#user) specified as an Atlassian account ID." }), Schema.Struct({ "id": Schema.optionalKey(Schema.Number.annotate({ "description": "The issue ID.", "format": "int64" }).check(Schema.isInt())), "key": Schema.optionalKey(Schema.String.annotate({ "description": "The issue key." })), "type": Schema.String.annotate({ "description": "Type of custom context variable." }) }).annotate({ "description": "An [issue](https://developer.atlassian.com/cloud/jira/platform/jira-expressions-type-reference#issue) specified by ID or key. All the fields of the issue object are available in the Jira expression." }), Schema.Struct({ "type": Schema.String.annotate({ "description": "Type of custom context variable." }), "value": Schema.optionalKey(Schema.Struct({}).annotate({ "description": "A JSON object containing custom content." })) }).annotate({ "description": "A JSON object with custom content." })], { mode: "oneOf" });
|
|
@@ -741,7 +741,7 @@ export const StatusProjectIssueTypeUsageDTO = Schema.Struct({ "issueTypes": Sche
|
|
|
741
741
|
export const StatusProjectUsageDTO = Schema.Struct({ "projects": Schema.optionalKey(StatusProjectUsagePage), "statusId": Schema.optionalKey(Schema.String.annotate({ "description": "The status ID." })) }).annotate({ "description": "The projects using this status." });
|
|
742
742
|
export const StatusWorkflowUsageDTO = Schema.Struct({ "statusId": Schema.optionalKey(Schema.String.annotate({ "description": "The status ID." })), "workflows": Schema.optionalKey(StatusWorkflowUsagePage) }).annotate({ "description": "Workflows using the status." });
|
|
743
743
|
export const IssuePickerSuggestions = Schema.Struct({ "sections": Schema.optionalKey(Schema.Array(IssuePickerSuggestionsIssueType).annotate({ "description": "A list of issues for an issue type suggested for use in auto-completion.", "readOnly": true })) }).annotate({ "description": "A list of issues suggested for use in auto-completion." });
|
|
744
|
-
export const BoardPayload = Schema.Struct({ "boardFilterJQL": Schema.optionalKey(Schema.String.annotate({ "description": "Takes in a JQL string to create a new filter. If no value is provided, it'll default to a JQL filter for the project creating" })), "cardColorStrategy": Schema.optionalKey(Schema.Literals(["ISSUE_TYPE", "REQUEST_TYPE", "ASSIGNEE", "PRIORITY", "NONE", "CUSTOM"]).annotate({ "description": "Card color settings of the board" })), "cardLayout": Schema.optionalKey(CardLayout), "cardLayouts": Schema.optionalKey(Schema.Array(CardLayoutField).annotate({ "description": "Card layout settings of the board" })), "columns": Schema.optionalKey(Schema.Array(BoardColumnPayload).annotate({ "description": "The columns of the board" })), "features": Schema.optionalKey(Schema.Array(BoardFeaturePayload).annotate({ "description": "Feature settings for the board. Deprecated: use boardFeatures capability instead." })), "name": Schema.optionalKey(Schema.String.annotate({ "description": "The name of the board" })), "pcri": Schema.optionalKey(ProjectCreateResourceIdentifier), "quickFilters": Schema.optionalKey(Schema.Array(QuickFilterPayload).annotate({ "description": "The quick filters for the board." })), "supportsSprint": Schema.optionalKey(Schema.Boolean.annotate({ "description": "Whether sprints are supported on the board" })), "swimlanes": Schema.optionalKey(SwimlanesPayload), "workingDaysConfig": Schema.optionalKey(WorkingDaysConfig) }).annotate({ "description": "The payload for creating a board" });
|
|
744
|
+
export const BoardPayload = Schema.Struct({ "boardFilterJQL": Schema.optionalKey(Schema.String.annotate({ "description": "Takes in a JQL string to create a new filter. If no value is provided, it'll default to a JQL filter for the project creating" })), "cardColorStrategy": Schema.optionalKey(Schema.Literals(["ISSUE_TYPE", "REQUEST_TYPE", "ASSIGNEE", "PRIORITY", "NONE", "CUSTOM"]).annotate({ "description": "Card color settings of the board" })), "cardLayout": Schema.optionalKey(CardLayout), "cardLayouts": Schema.optionalKey(Schema.Array(CardLayoutField).annotate({ "description": "Card layout settings of the board" })), "columns": Schema.optionalKey(Schema.Array(BoardColumnPayload).annotate({ "description": "The columns of the board" })), "enableCardCover": Schema.optionalKey(Schema.Boolean.annotate({ "description": "Whether to enable the card cover option on this board" })), "features": Schema.optionalKey(Schema.Array(BoardFeaturePayload).annotate({ "description": "Feature settings for the board. Deprecated: use boardFeatures capability instead." })), "name": Schema.optionalKey(Schema.String.annotate({ "description": "The name of the board" })), "pcri": Schema.optionalKey(ProjectCreateResourceIdentifier), "quickFilters": Schema.optionalKey(Schema.Array(QuickFilterPayload).annotate({ "description": "The quick filters for the board." })), "supportsSprint": Schema.optionalKey(Schema.Boolean.annotate({ "description": "Whether sprints are supported on the board" })), "swimlanes": Schema.optionalKey(SwimlanesPayload), "workingDaysConfig": Schema.optionalKey(WorkingDaysConfig) }).annotate({ "description": "The payload for creating a board" });
|
|
745
745
|
export const PageBeanUiModificationDetails = Schema.Struct({ "isLast": Schema.optionalKey(Schema.Boolean.annotate({ "description": "Whether this is the last page.", "readOnly": true })), "maxResults": Schema.optionalKey(Schema.Number.annotate({ "description": "The maximum number of items that could be returned.", "readOnly": true, "format": "int32" }).check(Schema.isInt())), "nextPage": Schema.optionalKey(Schema.String.annotate({ "description": "If there is another page of results, the URL of the next page.", "readOnly": true, "format": "uri" })), "self": Schema.optionalKey(Schema.String.annotate({ "description": "The URL of the page.", "readOnly": true, "format": "uri" })), "startAt": Schema.optionalKey(Schema.Number.annotate({ "description": "The index of the first item returned.", "readOnly": true, "format": "int64" }).check(Schema.isInt())), "total": Schema.optionalKey(Schema.Number.annotate({ "description": "The number of items returned.", "readOnly": true, "format": "int64" }).check(Schema.isInt())), "values": Schema.optionalKey(Schema.Array(UiModificationDetails).annotate({ "description": "The list of items.", "readOnly": true })) }).annotate({ "description": "A page of items." });
|
|
746
746
|
export const CustomFieldContextDefaultValueUpdate = Schema.Struct({ "defaultValues": Schema.optionalKey(Schema.Array(CustomFieldContextDefaultValue)) }).annotate({ "description": "Default values to update." });
|
|
747
747
|
export const IssueTypeDefaultValue = Schema.Struct({ "isAnyIssueType": Schema.optionalKey(Schema.Union([Schema.Boolean, Schema.Null]).annotate({ "description": "True when this default value applies to every issue type covered by the context (no specific issue type). Only present when true; omitted otherwise." })), "issueTypeId": Schema.optionalKey(Schema.Union([Schema.String, Schema.Null]).annotate({ "description": "The ID of the issue type this default value applies to. Null when isAnyIssueType is true." })), "value": Schema.optionalKey(CustomFieldContextDefaultValue) }).annotate({ "description": "A default value associated with an issue type within a context." });
|