@resolution/jira-api-client 0.5.2 → 0.5.4
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/README.md +51 -19
- package/lib/openapi/{platform/core → core}/CommonHttpClient.d.ts +54 -3
- package/lib/openapi/{serviceManagement/core → core}/CommonHttpClient.js +14 -0
- package/lib/openapi/core/CommonHttpClient.js.map +1 -0
- package/lib/openapi/{software/core → core}/CommonHttpService.d.ts +17 -0
- package/lib/openapi/{platform/core → core}/CommonHttpService.js +11 -0
- package/lib/openapi/core/CommonHttpService.js.map +1 -0
- package/lib/openapi/core/CommonValidationSchemaStorage.js.map +1 -0
- package/lib/openapi/platform/BaseJiraPlatformApiClient.d.ts +5 -5
- package/lib/openapi/platform/BaseJiraPlatformApiClient.js +3 -3
- package/lib/openapi/platform/BaseJiraPlatformApiClient.js.map +1 -1
- package/lib/openapi/platform/models/announcementBanner.d.ts +1 -1
- package/lib/openapi/platform/models/appDataPolicies.d.ts +1 -1
- package/lib/openapi/platform/models/appMigration.d.ts +13 -7
- package/lib/openapi/platform/models/appMigration.js.map +1 -1
- package/lib/openapi/platform/models/appProperties.d.ts +3 -2
- package/lib/openapi/platform/models/appProperties.js.map +1 -1
- package/lib/openapi/platform/models/auditRecords.d.ts +1 -1
- package/lib/openapi/platform/models/avatars.d.ts +1 -1
- package/lib/openapi/platform/models/classificationLevels.d.ts +1 -1
- package/lib/openapi/platform/models/common.d.ts +3 -5
- package/lib/openapi/platform/models/common.js.map +1 -1
- package/lib/openapi/platform/models/dashboards.d.ts +2 -3
- package/lib/openapi/platform/models/dashboards.js.map +1 -1
- package/lib/openapi/platform/models/dynamicModules.d.ts +5 -3
- package/lib/openapi/platform/models/dynamicModules.js.map +1 -1
- package/lib/openapi/platform/models/filterSharing.d.ts +1 -1
- package/lib/openapi/platform/models/filters.d.ts +1 -1
- package/lib/openapi/platform/models/groupAndUserPicker.d.ts +1 -1
- package/lib/openapi/platform/models/groups.d.ts +1 -1
- package/lib/openapi/platform/models/issueAttachments.d.ts +1 -1
- package/lib/openapi/platform/models/issueBulkOperations.d.ts +2 -3
- package/lib/openapi/platform/models/issueBulkOperations.js.map +1 -1
- package/lib/openapi/platform/models/issueCommentProperties.d.ts +1 -1
- package/lib/openapi/platform/models/issueComments.d.ts +1 -1
- package/lib/openapi/platform/models/issueCustomFieldConfigurationApps.d.ts +1 -1
- package/lib/openapi/platform/models/issueCustomFieldContexts.d.ts +1 -1
- package/lib/openapi/platform/models/issueCustomFieldOptions.d.ts +1 -1
- package/lib/openapi/platform/models/issueCustomFieldOptionsApps.d.ts +1 -1
- package/lib/openapi/platform/models/issueCustomFieldValuesApps.d.ts +1 -1
- package/lib/openapi/platform/models/issueFieldConfigurations.d.ts +1 -1
- package/lib/openapi/platform/models/issueFields.d.ts +1 -1
- package/lib/openapi/platform/models/issueLinkTypes.d.ts +1 -1
- package/lib/openapi/platform/models/issueLinks.d.ts +1 -1
- package/lib/openapi/platform/models/issueNotificationSchemes.d.ts +1 -1
- package/lib/openapi/platform/models/issuePriorities.d.ts +1 -1
- package/lib/openapi/platform/models/issueProperties.d.ts +1 -1
- package/lib/openapi/platform/models/issueRemoteLinks.d.ts +1 -1
- package/lib/openapi/platform/models/issueResolutions.d.ts +1 -1
- package/lib/openapi/platform/models/issueSearch.d.ts +2 -3
- package/lib/openapi/platform/models/issueSearch.js.map +1 -1
- package/lib/openapi/platform/models/issueSecurityLevel.d.ts +1 -1
- package/lib/openapi/platform/models/issueSecuritySchemes.d.ts +1 -1
- package/lib/openapi/platform/models/issueTypeSchemes.d.ts +1 -1
- package/lib/openapi/platform/models/issueTypeScreenSchemes.d.ts +1 -1
- package/lib/openapi/platform/models/issueTypes.d.ts +1 -1
- package/lib/openapi/platform/models/issueVotes.d.ts +1 -1
- package/lib/openapi/platform/models/issueWatchers.d.ts +1 -1
- package/lib/openapi/platform/models/issueWorklogs.d.ts +1 -1
- package/lib/openapi/platform/models/issues.d.ts +16 -14
- package/lib/openapi/platform/models/issues.js.map +1 -1
- package/lib/openapi/platform/models/jiraExpressions.d.ts +8 -6
- package/lib/openapi/platform/models/jiraExpressions.js.map +1 -1
- package/lib/openapi/platform/models/jiraSettings.d.ts +1 -1
- package/lib/openapi/platform/models/jql.d.ts +9 -5
- package/lib/openapi/platform/models/jql.js.map +1 -1
- package/lib/openapi/platform/models/jqlFunctionsApps.d.ts +1 -1
- package/lib/openapi/platform/models/labels.d.ts +1 -1
- package/lib/openapi/platform/models/licenseMetrics.d.ts +1 -1
- package/lib/openapi/platform/models/myself.d.ts +1 -1
- package/lib/openapi/platform/models/permissionSchemes.d.ts +1 -1
- package/lib/openapi/platform/models/permissions.d.ts +2 -3
- package/lib/openapi/platform/models/permissions.js.map +1 -1
- package/lib/openapi/platform/models/prioritySchemes.d.ts +1 -1
- package/lib/openapi/platform/models/projectAvatars.d.ts +1 -1
- package/lib/openapi/platform/models/projectClassificationLevels.d.ts +1 -1
- package/lib/openapi/platform/models/projectComponents.d.ts +1 -1
- package/lib/openapi/platform/models/projectEmail.d.ts +1 -1
- package/lib/openapi/platform/models/projectFeatures.d.ts +1 -1
- package/lib/openapi/platform/models/projectPermissionSchemes.d.ts +1 -1
- package/lib/openapi/platform/models/projectRoleActors.d.ts +1 -1
- package/lib/openapi/platform/models/projectRoles.d.ts +1 -1
- package/lib/openapi/platform/models/projectTypes.d.ts +1 -1
- package/lib/openapi/platform/models/projectVersions.d.ts +1 -1
- package/lib/openapi/platform/models/projects.d.ts +1 -1
- package/lib/openapi/platform/models/screenSchemes.d.ts +2 -2
- package/lib/openapi/platform/models/screenSchemes.js +1 -1
- package/lib/openapi/platform/models/screenSchemes.js.map +1 -1
- package/lib/openapi/platform/models/screenTabFields.d.ts +1 -1
- package/lib/openapi/platform/models/screens.d.ts +1 -1
- package/lib/openapi/platform/models/serverInfo.d.ts +1 -1
- package/lib/openapi/platform/models/serviceRegistry.d.ts +3 -2
- package/lib/openapi/platform/models/serviceRegistry.js.map +1 -1
- package/lib/openapi/platform/models/status.d.ts +1 -1
- package/lib/openapi/platform/models/timeTracking.d.ts +1 -1
- package/lib/openapi/platform/models/uiModificationsApps.d.ts +1 -1
- package/lib/openapi/platform/models/userSearch.d.ts +1 -1
- package/lib/openapi/platform/models/users.d.ts +1 -1
- package/lib/openapi/platform/models/webhooks.d.ts +1 -1
- package/lib/openapi/platform/models/workflowSchemeDrafts.d.ts +1 -1
- package/lib/openapi/platform/models/workflowSchemeProjectAssociations.d.ts +1 -1
- package/lib/openapi/platform/models/workflowSchemes.d.ts +1 -1
- package/lib/openapi/platform/models/workflowTransitionProperties.d.ts +1 -1
- package/lib/openapi/platform/models/workflowTransitionRules.d.ts +1 -1
- package/lib/openapi/platform/models/workflows.d.ts +104 -70
- package/lib/openapi/platform/models/workflows.js +12 -0
- package/lib/openapi/platform/models/workflows.js.map +1 -1
- package/lib/openapi/platform/services/AnnouncementBannerService.d.ts +12 -9
- package/lib/openapi/platform/services/AnnouncementBannerService.js +10 -7
- package/lib/openapi/platform/services/AnnouncementBannerService.js.map +1 -1
- package/lib/openapi/platform/services/AppDataPoliciesService.d.ts +12 -5
- package/lib/openapi/platform/services/AppDataPoliciesService.js +13 -6
- package/lib/openapi/platform/services/AppDataPoliciesService.js.map +1 -1
- package/lib/openapi/platform/services/AppMigrationService.d.ts +13 -6
- package/lib/openapi/platform/services/AppMigrationService.js +12 -6
- package/lib/openapi/platform/services/AppMigrationService.js.map +1 -1
- package/lib/openapi/platform/services/AppPropertiesService.d.ts +43 -19
- package/lib/openapi/platform/services/AppPropertiesService.js +44 -20
- package/lib/openapi/platform/services/AppPropertiesService.js.map +1 -1
- package/lib/openapi/platform/services/ApplicationRolesService.d.ts +20 -21
- package/lib/openapi/platform/services/ApplicationRolesService.js +21 -22
- package/lib/openapi/platform/services/ApplicationRolesService.js.map +1 -1
- package/lib/openapi/platform/services/AuditRecordsService.d.ts +7 -3
- package/lib/openapi/platform/services/AuditRecordsService.js +8 -4
- package/lib/openapi/platform/services/AuditRecordsService.js.map +1 -1
- package/lib/openapi/platform/services/AvatarsService.d.ts +45 -38
- package/lib/openapi/platform/services/AvatarsService.js +45 -38
- package/lib/openapi/platform/services/AvatarsService.js.map +1 -1
- package/lib/openapi/platform/services/ClassificationLevelsService.d.ts +16 -22
- package/lib/openapi/platform/services/ClassificationLevelsService.js +17 -23
- package/lib/openapi/platform/services/ClassificationLevelsService.js.map +1 -1
- package/lib/openapi/platform/services/DashboardsService.d.ts +140 -146
- package/lib/openapi/platform/services/DashboardsService.js +122 -130
- package/lib/openapi/platform/services/DashboardsService.js.map +1 -1
- package/lib/openapi/platform/services/DynamicModulesService.d.ts +6 -4
- package/lib/openapi/platform/services/DynamicModulesService.js +7 -5
- package/lib/openapi/platform/services/DynamicModulesService.js.map +1 -1
- package/lib/openapi/platform/services/FilterSharingService.d.ts +73 -96
- package/lib/openapi/platform/services/FilterSharingService.js +70 -95
- package/lib/openapi/platform/services/FilterSharingService.js.map +1 -1
- package/lib/openapi/platform/services/FiltersService.d.ts +179 -258
- package/lib/openapi/platform/services/FiltersService.js +174 -256
- package/lib/openapi/platform/services/FiltersService.js.map +1 -1
- package/lib/openapi/platform/services/GroupAndUserPickerService.d.ts +9 -7
- package/lib/openapi/platform/services/GroupAndUserPickerService.js +10 -8
- package/lib/openapi/platform/services/GroupAndUserPickerService.js.map +1 -1
- package/lib/openapi/platform/services/GroupsService.d.ts +43 -27
- package/lib/openapi/platform/services/GroupsService.js +40 -26
- package/lib/openapi/platform/services/GroupsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueAttachmentsService.d.ts +174 -170
- package/lib/openapi/platform/services/IssueAttachmentsService.js +175 -171
- package/lib/openapi/platform/services/IssueAttachmentsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueBulkOperationsService.d.ts +36 -20
- package/lib/openapi/platform/services/IssueBulkOperationsService.js +35 -20
- package/lib/openapi/platform/services/IssueBulkOperationsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueCommentPropertiesService.d.ts +20 -10
- package/lib/openapi/platform/services/IssueCommentPropertiesService.js +21 -11
- package/lib/openapi/platform/services/IssueCommentPropertiesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueCommentsService.d.ts +66 -81
- package/lib/openapi/platform/services/IssueCommentsService.js +59 -71
- package/lib/openapi/platform/services/IssueCommentsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueCustomFieldConfigurationAppsService.d.ts +11 -5
- package/lib/openapi/platform/services/IssueCustomFieldConfigurationAppsService.js +10 -5
- package/lib/openapi/platform/services/IssueCustomFieldConfigurationAppsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueCustomFieldContextsService.d.ts +72 -38
- package/lib/openapi/platform/services/IssueCustomFieldContextsService.js +55 -27
- package/lib/openapi/platform/services/IssueCustomFieldContextsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueCustomFieldOptionsAppsService.d.ts +51 -29
- package/lib/openapi/platform/services/IssueCustomFieldOptionsAppsService.js +48 -28
- package/lib/openapi/platform/services/IssueCustomFieldOptionsAppsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueCustomFieldOptionsService.d.ts +38 -17
- package/lib/openapi/platform/services/IssueCustomFieldOptionsService.js +33 -15
- package/lib/openapi/platform/services/IssueCustomFieldOptionsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueCustomFieldValuesAppsService.d.ts +9 -5
- package/lib/openapi/platform/services/IssueCustomFieldValuesAppsService.js +6 -4
- package/lib/openapi/platform/services/IssueCustomFieldValuesAppsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueFieldConfigurationsService.d.ts +78 -35
- package/lib/openapi/platform/services/IssueFieldConfigurationsService.js +63 -28
- package/lib/openapi/platform/services/IssueFieldConfigurationsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueFieldsService.d.ts +57 -47
- package/lib/openapi/platform/services/IssueFieldsService.js +52 -42
- package/lib/openapi/platform/services/IssueFieldsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueLinkTypesService.d.ts +30 -12
- package/lib/openapi/platform/services/IssueLinkTypesService.js +27 -11
- package/lib/openapi/platform/services/IssueLinkTypesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueLinksService.d.ts +21 -24
- package/lib/openapi/platform/services/IssueLinksService.js +20 -24
- package/lib/openapi/platform/services/IssueLinksService.js.map +1 -1
- package/lib/openapi/platform/services/IssueNavigatorSettingsService.d.ts +8 -4
- package/lib/openapi/platform/services/IssueNavigatorSettingsService.js +9 -5
- package/lib/openapi/platform/services/IssueNavigatorSettingsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueNotificationSchemesService.d.ts +64 -70
- package/lib/openapi/platform/services/IssueNotificationSchemesService.js +59 -68
- package/lib/openapi/platform/services/IssueNotificationSchemesService.js.map +1 -1
- package/lib/openapi/platform/services/IssuePrioritiesService.d.ts +45 -27
- package/lib/openapi/platform/services/IssuePrioritiesService.js +38 -24
- package/lib/openapi/platform/services/IssuePrioritiesService.js.map +1 -1
- package/lib/openapi/platform/services/IssuePropertiesService.d.ts +34 -17
- package/lib/openapi/platform/services/IssuePropertiesService.js +29 -15
- package/lib/openapi/platform/services/IssuePropertiesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueRemoteLinksService.d.ts +42 -28
- package/lib/openapi/platform/services/IssueRemoteLinksService.js +39 -27
- package/lib/openapi/platform/services/IssueRemoteLinksService.js.map +1 -1
- package/lib/openapi/platform/services/IssueResolutionsService.d.ts +40 -17
- package/lib/openapi/platform/services/IssueResolutionsService.js +33 -14
- package/lib/openapi/platform/services/IssueResolutionsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueSearchService.d.ts +86 -139
- package/lib/openapi/platform/services/IssueSearchService.js +81 -137
- package/lib/openapi/platform/services/IssueSearchService.js.map +1 -1
- package/lib/openapi/platform/services/IssueSecurityLevelService.d.ts +20 -19
- package/lib/openapi/platform/services/IssueSecurityLevelService.js +21 -20
- package/lib/openapi/platform/services/IssueSecurityLevelService.js.map +1 -1
- package/lib/openapi/platform/services/IssueSecuritySchemesService.d.ts +78 -40
- package/lib/openapi/platform/services/IssueSecuritySchemesService.js +65 -34
- package/lib/openapi/platform/services/IssueSecuritySchemesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueTypePropertiesService.d.ts +22 -11
- package/lib/openapi/platform/services/IssueTypePropertiesService.js +21 -11
- package/lib/openapi/platform/services/IssueTypePropertiesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueTypeSchemesService.d.ts +53 -34
- package/lib/openapi/platform/services/IssueTypeSchemesService.js +42 -26
- package/lib/openapi/platform/services/IssueTypeSchemesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueTypeScreenSchemesService.d.ts +56 -27
- package/lib/openapi/platform/services/IssueTypeScreenSchemesService.js +45 -22
- package/lib/openapi/platform/services/IssueTypeScreenSchemesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueTypesService.d.ts +53 -42
- package/lib/openapi/platform/services/IssueTypesService.js +50 -41
- package/lib/openapi/platform/services/IssueTypesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueVotesService.d.ts +17 -17
- package/lib/openapi/platform/services/IssueVotesService.js +18 -18
- package/lib/openapi/platform/services/IssueVotesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueWatchersService.d.ts +20 -10
- package/lib/openapi/platform/services/IssueWatchersService.js +19 -10
- package/lib/openapi/platform/services/IssueWatchersService.js.map +1 -1
- package/lib/openapi/platform/services/IssueWorklogPropertiesService.d.ts +20 -13
- package/lib/openapi/platform/services/IssueWorklogPropertiesService.js +21 -14
- package/lib/openapi/platform/services/IssueWorklogPropertiesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueWorklogsService.d.ts +69 -67
- package/lib/openapi/platform/services/IssueWorklogsService.js +64 -65
- package/lib/openapi/platform/services/IssueWorklogsService.js.map +1 -1
- package/lib/openapi/platform/services/IssuesService.d.ts +226 -228
- package/lib/openapi/platform/services/IssuesService.js +197 -209
- package/lib/openapi/platform/services/IssuesService.js.map +1 -1
- package/lib/openapi/platform/services/JiraExpressionsService.d.ts +25 -24
- package/lib/openapi/platform/services/JiraExpressionsService.js +21 -20
- package/lib/openapi/platform/services/JiraExpressionsService.js.map +1 -1
- package/lib/openapi/platform/services/JiraSettingsService.d.ts +21 -9
- package/lib/openapi/platform/services/JiraSettingsService.js +20 -9
- package/lib/openapi/platform/services/JiraSettingsService.js.map +1 -1
- package/lib/openapi/platform/services/JqlFunctionsAppsService.d.ts +13 -9
- package/lib/openapi/platform/services/JqlFunctionsAppsService.js +12 -9
- package/lib/openapi/platform/services/JqlFunctionsAppsService.js.map +1 -1
- package/lib/openapi/platform/services/JqlService.d.ts +55 -43
- package/lib/openapi/platform/services/JqlService.js +45 -33
- package/lib/openapi/platform/services/JqlService.js.map +1 -1
- package/lib/openapi/platform/services/LabelsService.d.ts +7 -3
- package/lib/openapi/platform/services/LabelsService.js +8 -4
- package/lib/openapi/platform/services/LabelsService.js.map +1 -1
- package/lib/openapi/platform/services/LicenseMetricsService.d.ts +17 -7
- package/lib/openapi/platform/services/LicenseMetricsService.js +18 -8
- package/lib/openapi/platform/services/LicenseMetricsService.js.map +1 -1
- package/lib/openapi/platform/services/MyselfService.d.ts +28 -21
- package/lib/openapi/platform/services/MyselfService.js +27 -21
- package/lib/openapi/platform/services/MyselfService.js.map +1 -1
- package/lib/openapi/platform/services/PermissionSchemesService.d.ts +67 -55
- package/lib/openapi/platform/services/PermissionSchemesService.js +62 -53
- package/lib/openapi/platform/services/PermissionSchemesService.js.map +1 -1
- package/lib/openapi/platform/services/PermissionsService.d.ts +23 -11
- package/lib/openapi/platform/services/PermissionsService.js +22 -11
- package/lib/openapi/platform/services/PermissionsService.js.map +1 -1
- package/lib/openapi/platform/services/PrioritySchemesService.d.ts +60 -26
- package/lib/openapi/platform/services/PrioritySchemesService.js +54 -23
- package/lib/openapi/platform/services/PrioritySchemesService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectAvatarsService.d.ts +27 -24
- package/lib/openapi/platform/services/ProjectAvatarsService.js +26 -24
- package/lib/openapi/platform/services/ProjectAvatarsService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectCategoriesService.d.ts +30 -12
- package/lib/openapi/platform/services/ProjectCategoriesService.js +27 -11
- package/lib/openapi/platform/services/ProjectCategoriesService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectClassificationLevelsService.d.ts +17 -14
- package/lib/openapi/platform/services/ProjectClassificationLevelsService.js +15 -12
- package/lib/openapi/platform/services/ProjectClassificationLevelsService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectComponentsService.d.ts +198 -321
- package/lib/openapi/platform/services/ProjectComponentsService.js +195 -320
- package/lib/openapi/platform/services/ProjectComponentsService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectEmailService.d.ts +11 -5
- package/lib/openapi/platform/services/ProjectEmailService.js +10 -5
- package/lib/openapi/platform/services/ProjectEmailService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectFeaturesService.d.ts +23 -22
- package/lib/openapi/platform/services/ProjectFeaturesService.js +22 -22
- package/lib/openapi/platform/services/ProjectFeaturesService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectKeyAndNameValidationService.d.ts +19 -7
- package/lib/openapi/platform/services/ProjectKeyAndNameValidationService.js +20 -8
- package/lib/openapi/platform/services/ProjectKeyAndNameValidationService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectPermissionSchemesService.d.ts +32 -23
- package/lib/openapi/platform/services/ProjectPermissionSchemesService.js +31 -23
- package/lib/openapi/platform/services/ProjectPermissionSchemesService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectPropertiesService.d.ts +22 -11
- package/lib/openapi/platform/services/ProjectPropertiesService.js +21 -11
- package/lib/openapi/platform/services/ProjectPropertiesService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectRoleActorsService.d.ts +47 -33
- package/lib/openapi/platform/services/ProjectRoleActorsService.js +42 -31
- package/lib/openapi/platform/services/ProjectRoleActorsService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectRolesService.d.ts +67 -43
- package/lib/openapi/platform/services/ProjectRolesService.js +62 -41
- package/lib/openapi/platform/services/ProjectRolesService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectTypesService.d.ts +29 -21
- package/lib/openapi/platform/services/ProjectTypesService.js +30 -22
- package/lib/openapi/platform/services/ProjectTypesService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectVersionsService.d.ts +87 -36
- package/lib/openapi/platform/services/ProjectVersionsService.js +78 -32
- package/lib/openapi/platform/services/ProjectVersionsService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectsService.d.ts +207 -313
- package/lib/openapi/platform/services/ProjectsService.js +203 -310
- package/lib/openapi/platform/services/ProjectsService.js.map +1 -1
- package/lib/openapi/platform/services/ScreenSchemesService.d.ts +22 -11
- package/lib/openapi/platform/services/ScreenSchemesService.js +19 -10
- package/lib/openapi/platform/services/ScreenSchemesService.js.map +1 -1
- package/lib/openapi/platform/services/ScreenTabFieldsService.d.ts +15 -7
- package/lib/openapi/platform/services/ScreenTabFieldsService.js +14 -7
- package/lib/openapi/platform/services/ScreenTabFieldsService.js.map +1 -1
- package/lib/openapi/platform/services/ScreenTabsService.d.ts +27 -11
- package/lib/openapi/platform/services/ScreenTabsService.js +26 -11
- package/lib/openapi/platform/services/ScreenTabsService.js.map +1 -1
- package/lib/openapi/platform/services/ScreensService.d.ts +42 -28
- package/lib/openapi/platform/services/ScreensService.js +38 -25
- package/lib/openapi/platform/services/ScreensService.js.map +1 -1
- package/lib/openapi/platform/services/ServerInfoService.d.ts +6 -3
- package/lib/openapi/platform/services/ServerInfoService.js +7 -4
- package/lib/openapi/platform/services/ServerInfoService.js.map +1 -1
- package/lib/openapi/platform/services/ServiceRegistryService.d.ts +5 -3
- package/lib/openapi/platform/services/ServiceRegistryService.js +4 -3
- package/lib/openapi/platform/services/ServiceRegistryService.js.map +1 -1
- package/lib/openapi/platform/services/StatusService.d.ts +29 -15
- package/lib/openapi/platform/services/StatusService.js +26 -14
- package/lib/openapi/platform/services/StatusService.js.map +1 -1
- package/lib/openapi/platform/services/TasksService.d.ts +9 -4
- package/lib/openapi/platform/services/TasksService.js +10 -5
- package/lib/openapi/platform/services/TasksService.js.map +1 -1
- package/lib/openapi/platform/services/TimeTrackingService.d.ts +31 -14
- package/lib/openapi/platform/services/TimeTrackingService.js +27 -12
- package/lib/openapi/platform/services/TimeTrackingService.js.map +1 -1
- package/lib/openapi/platform/services/UiModificationsAppsService.d.ts +26 -19
- package/lib/openapi/platform/services/UiModificationsAppsService.js +23 -18
- package/lib/openapi/platform/services/UiModificationsAppsService.js.map +1 -1
- package/lib/openapi/platform/services/UserPropertiesService.d.ts +20 -10
- package/lib/openapi/platform/services/UserPropertiesService.js +21 -11
- package/lib/openapi/platform/services/UserPropertiesService.js.map +1 -1
- package/lib/openapi/platform/services/UserSearchService.d.ts +95 -126
- package/lib/openapi/platform/services/UserSearchService.js +96 -127
- package/lib/openapi/platform/services/UserSearchService.js.map +1 -1
- package/lib/openapi/platform/services/UsersService.d.ts +97 -95
- package/lib/openapi/platform/services/UsersService.js +96 -95
- package/lib/openapi/platform/services/UsersService.js.map +1 -1
- package/lib/openapi/platform/services/WebhooksService.d.ts +35 -18
- package/lib/openapi/platform/services/WebhooksService.js +30 -16
- package/lib/openapi/platform/services/WebhooksService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowSchemeDraftsService.d.ts +133 -147
- package/lib/openapi/platform/services/WorkflowSchemeDraftsService.js +124 -143
- package/lib/openapi/platform/services/WorkflowSchemeDraftsService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowSchemeProjectAssociationsService.d.ts +13 -10
- package/lib/openapi/platform/services/WorkflowSchemeProjectAssociationsService.js +12 -10
- package/lib/openapi/platform/services/WorkflowSchemeProjectAssociationsService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowSchemesService.d.ts +121 -82
- package/lib/openapi/platform/services/WorkflowSchemesService.js +106 -75
- package/lib/openapi/platform/services/WorkflowSchemesService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowStatusCategoriesService.d.ts +12 -5
- package/lib/openapi/platform/services/WorkflowStatusCategoriesService.js +13 -6
- package/lib/openapi/platform/services/WorkflowStatusCategoriesService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowStatusesService.d.ts +12 -5
- package/lib/openapi/platform/services/WorkflowStatusesService.js +13 -6
- package/lib/openapi/platform/services/WorkflowStatusesService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowTransitionPropertiesService.d.ts +25 -10
- package/lib/openapi/platform/services/WorkflowTransitionPropertiesService.js +22 -9
- package/lib/openapi/platform/services/WorkflowTransitionPropertiesService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowTransitionRulesService.d.ts +25 -13
- package/lib/openapi/platform/services/WorkflowTransitionRulesService.js +22 -12
- package/lib/openapi/platform/services/WorkflowTransitionRulesService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowsService.d.ts +791 -693
- package/lib/openapi/platform/services/WorkflowsService.js +754 -644
- package/lib/openapi/platform/services/WorkflowsService.js.map +1 -1
- package/lib/openapi/platform/validationSchemaStorage.d.ts +1 -1
- package/lib/openapi/platform/validationSchemaStorage.js +1 -1
- package/lib/openapi/platform/validationSchemaStorage.js.map +1 -1
- package/lib/openapi/serviceManagement/BaseJiraServiceManagementApiClient.d.ts +3 -3
- package/lib/openapi/serviceManagement/BaseJiraServiceManagementApiClient.js +3 -3
- package/lib/openapi/serviceManagement/BaseJiraServiceManagementApiClient.js.map +1 -1
- package/lib/openapi/serviceManagement/models/assets.d.ts +1 -1
- package/lib/openapi/serviceManagement/models/common.d.ts +1 -1
- package/lib/openapi/serviceManagement/models/customer.d.ts +1 -1
- package/lib/openapi/serviceManagement/models/info.d.ts +1 -1
- package/lib/openapi/serviceManagement/models/knowledgebase.d.ts +1 -1
- package/lib/openapi/serviceManagement/models/organization.d.ts +1 -1
- package/lib/openapi/serviceManagement/models/request.d.ts +1 -1
- package/lib/openapi/serviceManagement/models/servicedesk.d.ts +4 -7
- package/lib/openapi/serviceManagement/models/servicedesk.js.map +1 -1
- package/lib/openapi/serviceManagement/services/AssetsService.d.ts +11 -8
- package/lib/openapi/serviceManagement/services/AssetsService.js +12 -9
- package/lib/openapi/serviceManagement/services/AssetsService.js.map +1 -1
- package/lib/openapi/serviceManagement/services/CustomerService.d.ts +17 -20
- package/lib/openapi/serviceManagement/services/CustomerService.js +16 -20
- package/lib/openapi/serviceManagement/services/CustomerService.js.map +1 -1
- package/lib/openapi/serviceManagement/services/InfoService.d.ts +6 -3
- package/lib/openapi/serviceManagement/services/InfoService.js +7 -4
- package/lib/openapi/serviceManagement/services/InfoService.js.map +1 -1
- package/lib/openapi/serviceManagement/services/KnowledgebaseService.d.ts +11 -11
- package/lib/openapi/serviceManagement/services/KnowledgebaseService.js +12 -12
- package/lib/openapi/serviceManagement/services/KnowledgebaseService.js.map +1 -1
- package/lib/openapi/serviceManagement/services/OrganizationService.d.ts +108 -104
- package/lib/openapi/serviceManagement/services/OrganizationService.js +97 -99
- package/lib/openapi/serviceManagement/services/OrganizationService.js.map +1 -1
- package/lib/openapi/serviceManagement/services/RequestService.d.ts +420 -578
- package/lib/openapi/serviceManagement/services/RequestService.js +405 -571
- package/lib/openapi/serviceManagement/services/RequestService.js.map +1 -1
- package/lib/openapi/serviceManagement/services/RequesttypeService.d.ts +25 -39
- package/lib/openapi/serviceManagement/services/RequesttypeService.js +26 -40
- package/lib/openapi/serviceManagement/services/RequesttypeService.js.map +1 -1
- package/lib/openapi/serviceManagement/services/ServicedeskService.d.ts +195 -215
- package/lib/openapi/serviceManagement/services/ServicedeskService.js +190 -213
- package/lib/openapi/serviceManagement/services/ServicedeskService.js.map +1 -1
- package/lib/openapi/serviceManagement/validationSchemaStorage.d.ts +1 -1
- package/lib/openapi/serviceManagement/validationSchemaStorage.js +1 -1
- package/lib/openapi/serviceManagement/validationSchemaStorage.js.map +1 -1
- package/lib/openapi/software/BaseJiraSoftwareApiClient.d.ts +2 -2
- package/lib/openapi/software/BaseJiraSoftwareApiClient.js +2 -2
- package/lib/openapi/software/BaseJiraSoftwareApiClient.js.map +1 -1
- package/lib/openapi/software/models/board.d.ts +4 -7
- package/lib/openapi/software/models/board.js.map +1 -1
- package/lib/openapi/software/models/builds.d.ts +39 -20
- package/lib/openapi/software/models/builds.js.map +1 -1
- package/lib/openapi/software/models/common.d.ts +8 -6
- package/lib/openapi/software/models/common.js.map +1 -1
- package/lib/openapi/software/models/deployments.d.ts +37 -18
- package/lib/openapi/software/models/deployments.js.map +1 -1
- package/lib/openapi/software/models/devOpsComponents.d.ts +7 -4
- package/lib/openapi/software/models/devOpsComponents.js.map +1 -1
- package/lib/openapi/software/models/developmentInformation.d.ts +107 -55
- package/lib/openapi/software/models/developmentInformation.js.map +1 -1
- package/lib/openapi/software/models/epic.d.ts +1 -1
- package/lib/openapi/software/models/featureFlags.d.ts +17 -9
- package/lib/openapi/software/models/featureFlags.js.map +1 -1
- package/lib/openapi/software/models/issue.d.ts +1 -1
- package/lib/openapi/software/models/operations.d.ts +61 -31
- package/lib/openapi/software/models/operations.js.map +1 -1
- package/lib/openapi/software/models/remoteLinks.d.ts +37 -19
- package/lib/openapi/software/models/remoteLinks.js.map +1 -1
- package/lib/openapi/software/models/securityInformation.d.ts +53 -27
- package/lib/openapi/software/models/securityInformation.js.map +1 -1
- package/lib/openapi/software/models/sprint.d.ts +1 -1
- package/lib/openapi/software/services/BacklogService.d.ts +14 -8
- package/lib/openapi/software/services/BacklogService.js +11 -7
- package/lib/openapi/software/services/BacklogService.js.map +1 -1
- package/lib/openapi/software/services/BoardService.d.ts +200 -204
- package/lib/openapi/software/services/BoardService.js +197 -203
- package/lib/openapi/software/services/BoardService.js.map +1 -1
- package/lib/openapi/software/services/BuildsService.d.ts +11 -9
- package/lib/openapi/software/services/BuildsService.js +12 -10
- package/lib/openapi/software/services/BuildsService.js.map +1 -1
- package/lib/openapi/software/services/DeploymentsService.d.ts +13 -13
- package/lib/openapi/software/services/DeploymentsService.js +14 -14
- package/lib/openapi/software/services/DeploymentsService.js.map +1 -1
- package/lib/openapi/software/services/DevOpsComponentsService.d.ts +33 -20
- package/lib/openapi/software/services/DevOpsComponentsService.js +12 -10
- package/lib/openapi/software/services/DevOpsComponentsService.js.map +1 -1
- package/lib/openapi/software/services/DevelopmentInformationService.d.ts +14 -9
- package/lib/openapi/software/services/DevelopmentInformationService.js +15 -10
- package/lib/openapi/software/services/DevelopmentInformationService.js.map +1 -1
- package/lib/openapi/software/services/EpicService.d.ts +67 -76
- package/lib/openapi/software/services/EpicService.js +60 -73
- package/lib/openapi/software/services/EpicService.js.map +1 -1
- package/lib/openapi/software/services/FeatureFlagsService.d.ts +11 -9
- package/lib/openapi/software/services/FeatureFlagsService.js +12 -10
- package/lib/openapi/software/services/FeatureFlagsService.js.map +1 -1
- package/lib/openapi/software/services/IssueService.d.ts +45 -44
- package/lib/openapi/software/services/IssueService.js +42 -43
- package/lib/openapi/software/services/IssueService.js.map +1 -1
- package/lib/openapi/software/services/OperationsService.d.ts +66 -38
- package/lib/openapi/software/services/OperationsService.js +23 -17
- package/lib/openapi/software/services/OperationsService.js.map +1 -1
- package/lib/openapi/software/services/RemoteLinksService.d.ts +18 -13
- package/lib/openapi/software/services/RemoteLinksService.js +12 -10
- package/lib/openapi/software/services/RemoteLinksService.js.map +1 -1
- package/lib/openapi/software/services/SecurityInformationService.d.ts +19 -13
- package/lib/openapi/software/services/SecurityInformationService.js +20 -14
- package/lib/openapi/software/services/SecurityInformationService.js.map +1 -1
- package/lib/openapi/software/services/SprintService.d.ts +79 -55
- package/lib/openapi/software/services/SprintService.js +70 -51
- package/lib/openapi/software/services/SprintService.js.map +1 -1
- package/lib/openapi/software/validationSchemaStorage.d.ts +1 -1
- package/lib/openapi/software/validationSchemaStorage.js +1 -1
- package/lib/openapi/software/validationSchemaStorage.js.map +1 -1
- package/package.json +3 -3
- package/lib/openapi/platform/core/CommonHttpClient.js +0 -390
- package/lib/openapi/platform/core/CommonHttpClient.js.map +0 -1
- package/lib/openapi/platform/core/CommonHttpService.d.ts +0 -9
- package/lib/openapi/platform/core/CommonHttpService.js.map +0 -1
- package/lib/openapi/platform/core/CommonValidationSchemaStorage.js.map +0 -1
- package/lib/openapi/serviceManagement/core/CommonHttpClient.d.ts +0 -196
- package/lib/openapi/serviceManagement/core/CommonHttpClient.js.map +0 -1
- package/lib/openapi/serviceManagement/core/CommonHttpService.d.ts +0 -9
- package/lib/openapi/serviceManagement/core/CommonHttpService.js +0 -29
- package/lib/openapi/serviceManagement/core/CommonHttpService.js.map +0 -1
- package/lib/openapi/serviceManagement/core/CommonValidationSchemaStorage.d.ts +0 -35
- package/lib/openapi/serviceManagement/core/CommonValidationSchemaStorage.js +0 -65
- package/lib/openapi/serviceManagement/core/CommonValidationSchemaStorage.js.map +0 -1
- package/lib/openapi/software/core/CommonHttpClient.d.ts +0 -196
- package/lib/openapi/software/core/CommonHttpClient.js +0 -390
- package/lib/openapi/software/core/CommonHttpClient.js.map +0 -1
- package/lib/openapi/software/core/CommonHttpService.js +0 -29
- package/lib/openapi/software/core/CommonHttpService.js.map +0 -1
- package/lib/openapi/software/core/CommonValidationSchemaStorage.d.ts +0 -35
- package/lib/openapi/software/core/CommonValidationSchemaStorage.js +0 -65
- package/lib/openapi/software/core/CommonValidationSchemaStorage.js.map +0 -1
- /package/lib/openapi/{platform/core → core}/CommonValidationSchemaStorage.d.ts +0 -0
- /package/lib/openapi/{platform/core → core}/CommonValidationSchemaStorage.js +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CommonHttpService } from "
|
|
1
|
+
import { CommonHttpService } from "../../core/CommonHttpService";
|
|
2
2
|
import type { IssueTypeIds } from "../models/common";
|
|
3
3
|
import { type CreateCustomFieldContext, type CustomFieldContextDefaultValueUpdate, type CustomFieldContextUpdateDetails, type PageBeanContextForProjectAndIssueType, type PageBeanCustomFieldContext, type PageBeanCustomFieldContextDefaultValue, type PageBeanCustomFieldContextProjectMapping, type PageBeanIssueTypeToContextMapping, type ProjectIds, type ProjectIssueTypeMappings } from "../models/issueCustomFieldContexts";
|
|
4
4
|
/**
|
|
@@ -29,10 +29,11 @@ export declare class IssueCustomFieldContextsService extends CommonHttpService {
|
|
|
29
29
|
* permission](https://confluence.atlassian.com/x/x4dKLg).
|
|
30
30
|
*
|
|
31
31
|
* @returns Returned if operation is successful.
|
|
32
|
-
* @path
|
|
32
|
+
* @path PUT `/rest/api/3/field/{fieldId}/context/{contextId}/issuetype`
|
|
33
33
|
* @scopes-current manage:jira-configuration
|
|
34
34
|
* @scopes-beta write:field:jira
|
|
35
35
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-custom-field-contexts#api-rest-api-3-field-fieldid-context-contextid-issuetype-put
|
|
36
|
+
* @param params
|
|
36
37
|
*/
|
|
37
38
|
addIssueTypesToContext: ({ fieldId, contextId, issueTypeIds, }: {
|
|
38
39
|
/** The ID of the custom field. */
|
|
@@ -40,7 +41,8 @@ export declare class IssueCustomFieldContextsService extends CommonHttpService {
|
|
|
40
41
|
/** The ID of the context. */
|
|
41
42
|
contextId: number;
|
|
42
43
|
/**
|
|
43
|
-
* @example
|
|
44
|
+
* @example
|
|
45
|
+
* {
|
|
44
46
|
* "issueTypeIds": [
|
|
45
47
|
* "10001",
|
|
46
48
|
* "10005",
|
|
@@ -60,10 +62,11 @@ export declare class IssueCustomFieldContextsService extends CommonHttpService {
|
|
|
60
62
|
* permission](https://confluence.atlassian.com/x/x4dKLg).
|
|
61
63
|
*
|
|
62
64
|
* @returns Returned if operation is successful.
|
|
63
|
-
* @path
|
|
65
|
+
* @path PUT `/rest/api/3/field/{fieldId}/context/{contextId}/project`
|
|
64
66
|
* @scopes-current manage:jira-configuration
|
|
65
67
|
* @scopes-beta write:field:jira
|
|
66
68
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-custom-field-contexts#api-rest-api-3-field-fieldid-context-contextid-project-put
|
|
69
|
+
* @param params
|
|
67
70
|
*/
|
|
68
71
|
assignProjectsToCustomFieldContext: ({ fieldId, contextId, projectIds, }: {
|
|
69
72
|
/** The ID of the custom field. */
|
|
@@ -71,7 +74,8 @@ export declare class IssueCustomFieldContextsService extends CommonHttpService {
|
|
|
71
74
|
/** The ID of the context. */
|
|
72
75
|
contextId: number;
|
|
73
76
|
/**
|
|
74
|
-
* @example
|
|
77
|
+
* @example
|
|
78
|
+
* {
|
|
75
79
|
* "projectIds": [
|
|
76
80
|
* "10001",
|
|
77
81
|
* "10005",
|
|
@@ -93,7 +97,9 @@ export declare class IssueCustomFieldContextsService extends CommonHttpService {
|
|
|
93
97
|
*
|
|
94
98
|
* @returns Returned if the custom field context is created.
|
|
95
99
|
*
|
|
96
|
-
* example:
|
|
100
|
+
* example:
|
|
101
|
+
* ```
|
|
102
|
+
* {
|
|
97
103
|
* "id": "10025",
|
|
98
104
|
* "name": "Bug fields context",
|
|
99
105
|
* "description": "A context used to define the custom field options for bugs.",
|
|
@@ -102,19 +108,20 @@ export declare class IssueCustomFieldContextsService extends CommonHttpService {
|
|
|
102
108
|
* "10010"
|
|
103
109
|
* ]
|
|
104
110
|
* }
|
|
105
|
-
*
|
|
111
|
+
* ```
|
|
112
|
+
* @path POST `/rest/api/3/field/{fieldId}/context`
|
|
106
113
|
* @scopes-current manage:jira-configuration
|
|
107
|
-
* @scopes-beta read:field:jira, write:field:jira,
|
|
108
|
-
* read:custom-field-contextual-configuration:jira
|
|
114
|
+
* @scopes-beta read:field:jira, write:field:jira, read:custom-field-contextual-configuration:jira
|
|
109
115
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-custom-field-contexts#api-rest-api-3-field-fieldid-context-post
|
|
116
|
+
* @param params
|
|
110
117
|
*/
|
|
111
118
|
createCustomFieldContext: ({ fieldId, createCustomFieldContext, }: {
|
|
112
119
|
/** The ID of the custom field. */
|
|
113
120
|
fieldId: string;
|
|
114
121
|
/**
|
|
115
|
-
* @example
|
|
116
|
-
*
|
|
117
|
-
* bugs.",
|
|
122
|
+
* @example
|
|
123
|
+
* {
|
|
124
|
+
* "description": "A context used to define the custom field options for bugs.",
|
|
118
125
|
* "issueTypeIds": [
|
|
119
126
|
* "10010"
|
|
120
127
|
* ],
|
|
@@ -132,10 +139,11 @@ export declare class IssueCustomFieldContextsService extends CommonHttpService {
|
|
|
132
139
|
* permission](https://confluence.atlassian.com/x/x4dKLg).
|
|
133
140
|
*
|
|
134
141
|
* @returns Returned if the context is deleted.
|
|
135
|
-
* @path
|
|
142
|
+
* @path DELETE `/rest/api/3/field/{fieldId}/context/{contextId}`
|
|
136
143
|
* @scopes-current manage:jira-configuration
|
|
137
144
|
* @scopes-beta delete:field:jira
|
|
138
145
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-custom-field-contexts#api-rest-api-3-field-fieldid-context-contextid-delete
|
|
146
|
+
* @param params
|
|
139
147
|
*/
|
|
140
148
|
deleteCustomFieldContext: ({ fieldId, contextId, }: {
|
|
141
149
|
/** The ID of the custom field. */
|
|
@@ -162,7 +170,9 @@ export declare class IssueCustomFieldContextsService extends CommonHttpService {
|
|
|
162
170
|
*
|
|
163
171
|
* @returns Returned if the request is successful.
|
|
164
172
|
*
|
|
165
|
-
* example:
|
|
173
|
+
* example:
|
|
174
|
+
* ```
|
|
175
|
+
* {
|
|
166
176
|
* "isLast": true,
|
|
167
177
|
* "maxResults": 100,
|
|
168
178
|
* "startAt": 0,
|
|
@@ -171,25 +181,25 @@ export declare class IssueCustomFieldContextsService extends CommonHttpService {
|
|
|
171
181
|
* {
|
|
172
182
|
* "id": "10025",
|
|
173
183
|
* "name": "Bug fields context",
|
|
174
|
-
* "description": "A context used to define the custom field options for
|
|
175
|
-
* bugs.",
|
|
184
|
+
* "description": "A context used to define the custom field options for bugs.",
|
|
176
185
|
* "isGlobalContext": true,
|
|
177
186
|
* "isAnyIssueType": false
|
|
178
187
|
* },
|
|
179
188
|
* {
|
|
180
189
|
* "id": "10026",
|
|
181
190
|
* "name": "Task fields context",
|
|
182
|
-
* "description": "A context used to define the custom field options for
|
|
183
|
-
* tasks.",
|
|
191
|
+
* "description": "A context used to define the custom field options for tasks.",
|
|
184
192
|
* "isGlobalContext": false,
|
|
185
193
|
* "isAnyIssueType": false
|
|
186
194
|
* }
|
|
187
195
|
* ]
|
|
188
196
|
* }
|
|
189
|
-
*
|
|
197
|
+
* ```
|
|
198
|
+
* @path GET `/rest/api/3/field/{fieldId}/context`
|
|
190
199
|
* @scopes-current manage:jira-configuration
|
|
191
200
|
* @scopes-beta read:field:jira, read:custom-field-contextual-configuration:jira
|
|
192
201
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-custom-field-contexts#api-rest-api-3-field-fieldid-context-get
|
|
202
|
+
* @param params
|
|
193
203
|
*/
|
|
194
204
|
getContextsForField: ({ fieldId, isAnyIssueType, isGlobalContext, contextId, startAt, maxResults, }: {
|
|
195
205
|
/** The ID of the custom field. */
|
|
@@ -228,7 +238,9 @@ export declare class IssueCustomFieldContextsService extends CommonHttpService {
|
|
|
228
238
|
*
|
|
229
239
|
* @returns Returned if the request is successful.
|
|
230
240
|
*
|
|
231
|
-
* example:
|
|
241
|
+
* example:
|
|
242
|
+
* ```
|
|
243
|
+
* {
|
|
232
244
|
* "isLast": true,
|
|
233
245
|
* "maxResults": 50,
|
|
234
246
|
* "startAt": 0,
|
|
@@ -251,10 +263,12 @@ export declare class IssueCustomFieldContextsService extends CommonHttpService {
|
|
|
251
263
|
* }
|
|
252
264
|
* ]
|
|
253
265
|
* }
|
|
254
|
-
*
|
|
266
|
+
* ```
|
|
267
|
+
* @path POST `/rest/api/3/field/{fieldId}/context/mapping`
|
|
255
268
|
* @scopes-current manage:jira-configuration
|
|
256
269
|
* @scopes-beta read:field:jira
|
|
257
270
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-custom-field-contexts#api-rest-api-3-field-fieldid-context-mapping-post
|
|
271
|
+
* @param params
|
|
258
272
|
*/
|
|
259
273
|
getCustomFieldContextsForProjectsAndIssueTypes: ({ fieldId, startAt, maxResults, projectIssueTypeMappings, }: {
|
|
260
274
|
/** The ID of the custom field. */
|
|
@@ -266,7 +280,8 @@ export declare class IssueCustomFieldContextsService extends CommonHttpService {
|
|
|
266
280
|
/**
|
|
267
281
|
* The list of project and issue type mappings.
|
|
268
282
|
*
|
|
269
|
-
* @example
|
|
283
|
+
* @example
|
|
284
|
+
* {
|
|
270
285
|
* "mappings": [
|
|
271
286
|
* {
|
|
272
287
|
* "issueTypeId": "10000",
|
|
@@ -353,7 +368,9 @@ export declare class IssueCustomFieldContextsService extends CommonHttpService {
|
|
|
353
368
|
*
|
|
354
369
|
* @returns Returned if the request is successful.
|
|
355
370
|
*
|
|
356
|
-
* example:
|
|
371
|
+
* example:
|
|
372
|
+
* ```
|
|
373
|
+
* {
|
|
357
374
|
* "isLast": true,
|
|
358
375
|
* "maxResults": 50,
|
|
359
376
|
* "startAt": 0,
|
|
@@ -372,10 +389,12 @@ export declare class IssueCustomFieldContextsService extends CommonHttpService {
|
|
|
372
389
|
* }
|
|
373
390
|
* ]
|
|
374
391
|
* }
|
|
375
|
-
*
|
|
392
|
+
* ```
|
|
393
|
+
* @path GET `/rest/api/3/field/{fieldId}/context/defaultValue`
|
|
376
394
|
* @scopes-current manage:jira-configuration
|
|
377
395
|
* @scopes-beta read:field.default-value:jira
|
|
378
396
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-custom-field-contexts#api-rest-api-3-field-fieldid-context-defaultvalue-get
|
|
397
|
+
* @param params
|
|
379
398
|
*/
|
|
380
399
|
getDefaultValues: ({ fieldId, contextId, startAt, maxResults, }: {
|
|
381
400
|
/** The ID of the custom field, for example `customfield\_10000`. */
|
|
@@ -397,7 +416,9 @@ export declare class IssueCustomFieldContextsService extends CommonHttpService {
|
|
|
397
416
|
*
|
|
398
417
|
* @returns Returned if operation is successful.
|
|
399
418
|
*
|
|
400
|
-
* example:
|
|
419
|
+
* example:
|
|
420
|
+
* ```
|
|
421
|
+
* {
|
|
401
422
|
* "isLast": true,
|
|
402
423
|
* "maxResults": 100,
|
|
403
424
|
* "startAt": 0,
|
|
@@ -417,10 +438,12 @@ export declare class IssueCustomFieldContextsService extends CommonHttpService {
|
|
|
417
438
|
* }
|
|
418
439
|
* ]
|
|
419
440
|
* }
|
|
420
|
-
*
|
|
441
|
+
* ```
|
|
442
|
+
* @path GET `/rest/api/3/field/{fieldId}/context/issuetypemapping`
|
|
421
443
|
* @scopes-current manage:jira-configuration
|
|
422
444
|
* @scopes-beta read:field:jira
|
|
423
445
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-custom-field-contexts#api-rest-api-3-field-fieldid-context-issuetypemapping-get
|
|
446
|
+
* @param params
|
|
424
447
|
*/
|
|
425
448
|
getIssueTypeMappingsForContexts: ({ fieldId, contextId, startAt, maxResults, }: {
|
|
426
449
|
/** The ID of the custom field. */
|
|
@@ -445,7 +468,9 @@ export declare class IssueCustomFieldContextsService extends CommonHttpService {
|
|
|
445
468
|
*
|
|
446
469
|
* @returns Returned if the request is successful.
|
|
447
470
|
*
|
|
448
|
-
* example:
|
|
471
|
+
* example:
|
|
472
|
+
* ```
|
|
473
|
+
* {
|
|
449
474
|
* "isLast": true,
|
|
450
475
|
* "maxResults": 100,
|
|
451
476
|
* "startAt": 0,
|
|
@@ -461,10 +486,12 @@ export declare class IssueCustomFieldContextsService extends CommonHttpService {
|
|
|
461
486
|
* }
|
|
462
487
|
* ]
|
|
463
488
|
* }
|
|
464
|
-
*
|
|
489
|
+
* ```
|
|
490
|
+
* @path GET `/rest/api/3/field/{fieldId}/context/projectmapping`
|
|
465
491
|
* @scopes-current manage:jira-configuration
|
|
466
492
|
* @scopes-beta read:field:jira
|
|
467
493
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-custom-field-contexts#api-rest-api-3-field-fieldid-context-projectmapping-get
|
|
494
|
+
* @param params
|
|
468
495
|
*/
|
|
469
496
|
getProjectContextMapping: ({ fieldId, contextId, startAt, maxResults, }: {
|
|
470
497
|
/** The ID of the custom field, for example `customfield\_10000`. */
|
|
@@ -493,10 +520,11 @@ export declare class IssueCustomFieldContextsService extends CommonHttpService {
|
|
|
493
520
|
* permission](https://confluence.atlassian.com/x/x4dKLg).
|
|
494
521
|
*
|
|
495
522
|
* @returns Returned if the custom field context is removed from the projects.
|
|
496
|
-
* @path
|
|
523
|
+
* @path POST `/rest/api/3/field/{fieldId}/context/{contextId}/project/remove`
|
|
497
524
|
* @scopes-current manage:jira-configuration
|
|
498
525
|
* @scopes-beta write:field:jira
|
|
499
526
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-custom-field-contexts#api-rest-api-3-field-fieldid-context-contextid-project-remove-post
|
|
527
|
+
* @param params
|
|
500
528
|
*/
|
|
501
529
|
removeCustomFieldContextFromProjects: ({ fieldId, contextId, projectIds, }: {
|
|
502
530
|
/** The ID of the custom field. */
|
|
@@ -504,7 +532,8 @@ export declare class IssueCustomFieldContextsService extends CommonHttpService {
|
|
|
504
532
|
/** The ID of the context. */
|
|
505
533
|
contextId: number;
|
|
506
534
|
/**
|
|
507
|
-
* @example
|
|
535
|
+
* @example
|
|
536
|
+
* {
|
|
508
537
|
* "projectIds": [
|
|
509
538
|
* "10001",
|
|
510
539
|
* "10005",
|
|
@@ -523,10 +552,11 @@ export declare class IssueCustomFieldContextsService extends CommonHttpService {
|
|
|
523
552
|
* permission](https://confluence.atlassian.com/x/x4dKLg).
|
|
524
553
|
*
|
|
525
554
|
* @returns Returned if operation is successful.
|
|
526
|
-
* @path
|
|
555
|
+
* @path POST `/rest/api/3/field/{fieldId}/context/{contextId}/issuetype/remove`
|
|
527
556
|
* @scopes-current manage:jira-configuration
|
|
528
557
|
* @scopes-beta write:field:jira
|
|
529
558
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-custom-field-contexts#api-rest-api-3-field-fieldid-context-contextid-issuetype-remove-post
|
|
559
|
+
* @param params
|
|
530
560
|
*/
|
|
531
561
|
removeIssueTypesFromContext: ({ fieldId, contextId, issueTypeIds, }: {
|
|
532
562
|
/** The ID of the custom field. */
|
|
@@ -534,7 +564,8 @@ export declare class IssueCustomFieldContextsService extends CommonHttpService {
|
|
|
534
564
|
/** The ID of the context. */
|
|
535
565
|
contextId: number;
|
|
536
566
|
/**
|
|
537
|
-
* @example
|
|
567
|
+
* @example
|
|
568
|
+
* {
|
|
538
569
|
* "issueTypeIds": [
|
|
539
570
|
* "10001",
|
|
540
571
|
* "10005",
|
|
@@ -612,16 +643,18 @@ export declare class IssueCustomFieldContextsService extends CommonHttpService {
|
|
|
612
643
|
* permission](https://confluence.atlassian.com/x/x4dKLg).
|
|
613
644
|
*
|
|
614
645
|
* @returns Returned if operation is successful.
|
|
615
|
-
* @path
|
|
646
|
+
* @path PUT `/rest/api/3/field/{fieldId}/context/defaultValue`
|
|
616
647
|
* @scopes-current manage:jira-configuration
|
|
617
648
|
* @scopes-beta write:field.default-value:jira
|
|
618
649
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-custom-field-contexts#api-rest-api-3-field-fieldid-context-defaultvalue-put
|
|
650
|
+
* @param params
|
|
619
651
|
*/
|
|
620
652
|
setDefaultValues: ({ fieldId, customFieldContextDefaultValueUpdate, }: {
|
|
621
653
|
/** The ID of the custom field. */
|
|
622
654
|
fieldId: string;
|
|
623
655
|
/**
|
|
624
|
-
* @example
|
|
656
|
+
* @example
|
|
657
|
+
* {
|
|
625
658
|
* "defaultValues": [
|
|
626
659
|
* {
|
|
627
660
|
* "contextId": "10100",
|
|
@@ -651,10 +684,11 @@ export declare class IssueCustomFieldContextsService extends CommonHttpService {
|
|
|
651
684
|
* permission](https://confluence.atlassian.com/x/x4dKLg).
|
|
652
685
|
*
|
|
653
686
|
* @returns Returned if the context is updated.
|
|
654
|
-
* @path
|
|
687
|
+
* @path PUT `/rest/api/3/field/{fieldId}/context/{contextId}`
|
|
655
688
|
* @scopes-current manage:jira-configuration
|
|
656
689
|
* @scopes-beta write:field:jira
|
|
657
690
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-custom-field-contexts#api-rest-api-3-field-fieldid-context-contextid-put
|
|
691
|
+
* @param params
|
|
658
692
|
*/
|
|
659
693
|
updateCustomFieldContext: ({ fieldId, contextId, customFieldContextUpdateDetails, }: {
|
|
660
694
|
/** The ID of the custom field. */
|
|
@@ -662,9 +696,9 @@ export declare class IssueCustomFieldContextsService extends CommonHttpService {
|
|
|
662
696
|
/** The ID of the context. */
|
|
663
697
|
contextId: number;
|
|
664
698
|
/**
|
|
665
|
-
* @example
|
|
666
|
-
*
|
|
667
|
-
* bugs.",
|
|
699
|
+
* @example
|
|
700
|
+
* {
|
|
701
|
+
* "description": "A context used to define the custom field options for bugs.",
|
|
668
702
|
* "name": "Bug fields context"
|
|
669
703
|
* }
|
|
670
704
|
*/
|
|
@@ -5,8 +5,8 @@ exports.IssueCustomFieldContextsService = void 0;
|
|
|
5
5
|
// This file is generated by "api-typescript-generator".
|
|
6
6
|
// To update this file run "yarn build:openapi".
|
|
7
7
|
const zod_1 = require("zod");
|
|
8
|
-
const commonHttpClient = require("
|
|
9
|
-
const CommonHttpService_1 = require("
|
|
8
|
+
const commonHttpClient = require("../../core/CommonHttpClient");
|
|
9
|
+
const CommonHttpService_1 = require("../../core/CommonHttpService");
|
|
10
10
|
const issueCustomFieldContexts_1 = require("../models/issueCustomFieldContexts");
|
|
11
11
|
const validationSchemaStorage_1 = require("../validationSchemaStorage");
|
|
12
12
|
/**
|
|
@@ -39,10 +39,11 @@ class IssueCustomFieldContextsService extends CommonHttpService_1.CommonHttpServ
|
|
|
39
39
|
* permission](https://confluence.atlassian.com/x/x4dKLg).
|
|
40
40
|
*
|
|
41
41
|
* @returns Returned if operation is successful.
|
|
42
|
-
* @path
|
|
42
|
+
* @path PUT `/rest/api/3/field/{fieldId}/context/{contextId}/issuetype`
|
|
43
43
|
* @scopes-current manage:jira-configuration
|
|
44
44
|
* @scopes-beta write:field:jira
|
|
45
45
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-custom-field-contexts#api-rest-api-3-field-fieldid-context-contextid-issuetype-put
|
|
46
|
+
* @param params
|
|
46
47
|
*/
|
|
47
48
|
this.addIssueTypesToContext = ({ fieldId, contextId, issueTypeIds, }) => {
|
|
48
49
|
return this.getClientInstance()
|
|
@@ -77,10 +78,11 @@ class IssueCustomFieldContextsService extends CommonHttpService_1.CommonHttpServ
|
|
|
77
78
|
* permission](https://confluence.atlassian.com/x/x4dKLg).
|
|
78
79
|
*
|
|
79
80
|
* @returns Returned if operation is successful.
|
|
80
|
-
* @path
|
|
81
|
+
* @path PUT `/rest/api/3/field/{fieldId}/context/{contextId}/project`
|
|
81
82
|
* @scopes-current manage:jira-configuration
|
|
82
83
|
* @scopes-beta write:field:jira
|
|
83
84
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-custom-field-contexts#api-rest-api-3-field-fieldid-context-contextid-project-put
|
|
85
|
+
* @param params
|
|
84
86
|
*/
|
|
85
87
|
this.assignProjectsToCustomFieldContext = ({ fieldId, contextId, projectIds, }) => {
|
|
86
88
|
return this.getClientInstance()
|
|
@@ -117,7 +119,9 @@ class IssueCustomFieldContextsService extends CommonHttpService_1.CommonHttpServ
|
|
|
117
119
|
*
|
|
118
120
|
* @returns Returned if the custom field context is created.
|
|
119
121
|
*
|
|
120
|
-
* example:
|
|
122
|
+
* example:
|
|
123
|
+
* ```
|
|
124
|
+
* {
|
|
121
125
|
* "id": "10025",
|
|
122
126
|
* "name": "Bug fields context",
|
|
123
127
|
* "description": "A context used to define the custom field options for bugs.",
|
|
@@ -126,11 +130,12 @@ class IssueCustomFieldContextsService extends CommonHttpService_1.CommonHttpServ
|
|
|
126
130
|
* "10010"
|
|
127
131
|
* ]
|
|
128
132
|
* }
|
|
129
|
-
*
|
|
133
|
+
* ```
|
|
134
|
+
* @path POST `/rest/api/3/field/{fieldId}/context`
|
|
130
135
|
* @scopes-current manage:jira-configuration
|
|
131
|
-
* @scopes-beta read:field:jira, write:field:jira,
|
|
132
|
-
* read:custom-field-contextual-configuration:jira
|
|
136
|
+
* @scopes-beta read:field:jira, write:field:jira, read:custom-field-contextual-configuration:jira
|
|
133
137
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-custom-field-contexts#api-rest-api-3-field-fieldid-context-post
|
|
138
|
+
* @param params
|
|
134
139
|
*/
|
|
135
140
|
this.createCustomFieldContext = ({ fieldId, createCustomFieldContext, }) => {
|
|
136
141
|
return this.getClientInstance()
|
|
@@ -162,10 +167,11 @@ class IssueCustomFieldContextsService extends CommonHttpService_1.CommonHttpServ
|
|
|
162
167
|
* permission](https://confluence.atlassian.com/x/x4dKLg).
|
|
163
168
|
*
|
|
164
169
|
* @returns Returned if the context is deleted.
|
|
165
|
-
* @path
|
|
170
|
+
* @path DELETE `/rest/api/3/field/{fieldId}/context/{contextId}`
|
|
166
171
|
* @scopes-current manage:jira-configuration
|
|
167
172
|
* @scopes-beta delete:field:jira
|
|
168
173
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-custom-field-contexts#api-rest-api-3-field-fieldid-context-contextid-delete
|
|
174
|
+
* @param params
|
|
169
175
|
*/
|
|
170
176
|
this.deleteCustomFieldContext = ({ fieldId, contextId, }) => {
|
|
171
177
|
return this.getClientInstance()
|
|
@@ -205,7 +211,9 @@ class IssueCustomFieldContextsService extends CommonHttpService_1.CommonHttpServ
|
|
|
205
211
|
*
|
|
206
212
|
* @returns Returned if the request is successful.
|
|
207
213
|
*
|
|
208
|
-
* example:
|
|
214
|
+
* example:
|
|
215
|
+
* ```
|
|
216
|
+
* {
|
|
209
217
|
* "isLast": true,
|
|
210
218
|
* "maxResults": 100,
|
|
211
219
|
* "startAt": 0,
|
|
@@ -214,25 +222,25 @@ class IssueCustomFieldContextsService extends CommonHttpService_1.CommonHttpServ
|
|
|
214
222
|
* {
|
|
215
223
|
* "id": "10025",
|
|
216
224
|
* "name": "Bug fields context",
|
|
217
|
-
* "description": "A context used to define the custom field options for
|
|
218
|
-
* bugs.",
|
|
225
|
+
* "description": "A context used to define the custom field options for bugs.",
|
|
219
226
|
* "isGlobalContext": true,
|
|
220
227
|
* "isAnyIssueType": false
|
|
221
228
|
* },
|
|
222
229
|
* {
|
|
223
230
|
* "id": "10026",
|
|
224
231
|
* "name": "Task fields context",
|
|
225
|
-
* "description": "A context used to define the custom field options for
|
|
226
|
-
* tasks.",
|
|
232
|
+
* "description": "A context used to define the custom field options for tasks.",
|
|
227
233
|
* "isGlobalContext": false,
|
|
228
234
|
* "isAnyIssueType": false
|
|
229
235
|
* }
|
|
230
236
|
* ]
|
|
231
237
|
* }
|
|
232
|
-
*
|
|
238
|
+
* ```
|
|
239
|
+
* @path GET `/rest/api/3/field/{fieldId}/context`
|
|
233
240
|
* @scopes-current manage:jira-configuration
|
|
234
241
|
* @scopes-beta read:field:jira, read:custom-field-contextual-configuration:jira
|
|
235
242
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-custom-field-contexts#api-rest-api-3-field-fieldid-context-get
|
|
243
|
+
* @param params
|
|
236
244
|
*/
|
|
237
245
|
this.getContextsForField = ({ fieldId, isAnyIssueType, isGlobalContext, contextId, startAt, maxResults, }) => {
|
|
238
246
|
return this.getClientInstance()
|
|
@@ -279,7 +287,9 @@ class IssueCustomFieldContextsService extends CommonHttpService_1.CommonHttpServ
|
|
|
279
287
|
*
|
|
280
288
|
* @returns Returned if the request is successful.
|
|
281
289
|
*
|
|
282
|
-
* example:
|
|
290
|
+
* example:
|
|
291
|
+
* ```
|
|
292
|
+
* {
|
|
283
293
|
* "isLast": true,
|
|
284
294
|
* "maxResults": 50,
|
|
285
295
|
* "startAt": 0,
|
|
@@ -302,10 +312,12 @@ class IssueCustomFieldContextsService extends CommonHttpService_1.CommonHttpServ
|
|
|
302
312
|
* }
|
|
303
313
|
* ]
|
|
304
314
|
* }
|
|
305
|
-
*
|
|
315
|
+
* ```
|
|
316
|
+
* @path POST `/rest/api/3/field/{fieldId}/context/mapping`
|
|
306
317
|
* @scopes-current manage:jira-configuration
|
|
307
318
|
* @scopes-beta read:field:jira
|
|
308
319
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-custom-field-contexts#api-rest-api-3-field-fieldid-context-mapping-post
|
|
320
|
+
* @param params
|
|
309
321
|
*/
|
|
310
322
|
this.getCustomFieldContextsForProjectsAndIssueTypes = ({ fieldId, startAt, maxResults, projectIssueTypeMappings, }) => {
|
|
311
323
|
return this.getClientInstance()
|
|
@@ -401,7 +413,9 @@ class IssueCustomFieldContextsService extends CommonHttpService_1.CommonHttpServ
|
|
|
401
413
|
*
|
|
402
414
|
* @returns Returned if the request is successful.
|
|
403
415
|
*
|
|
404
|
-
* example:
|
|
416
|
+
* example:
|
|
417
|
+
* ```
|
|
418
|
+
* {
|
|
405
419
|
* "isLast": true,
|
|
406
420
|
* "maxResults": 50,
|
|
407
421
|
* "startAt": 0,
|
|
@@ -420,10 +434,12 @@ class IssueCustomFieldContextsService extends CommonHttpService_1.CommonHttpServ
|
|
|
420
434
|
* }
|
|
421
435
|
* ]
|
|
422
436
|
* }
|
|
423
|
-
*
|
|
437
|
+
* ```
|
|
438
|
+
* @path GET `/rest/api/3/field/{fieldId}/context/defaultValue`
|
|
424
439
|
* @scopes-current manage:jira-configuration
|
|
425
440
|
* @scopes-beta read:field.default-value:jira
|
|
426
441
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-custom-field-contexts#api-rest-api-3-field-fieldid-context-defaultvalue-get
|
|
442
|
+
* @param params
|
|
427
443
|
*/
|
|
428
444
|
this.getDefaultValues = ({ fieldId, contextId, startAt, maxResults, }) => {
|
|
429
445
|
return this.getClientInstance()
|
|
@@ -458,7 +474,9 @@ class IssueCustomFieldContextsService extends CommonHttpService_1.CommonHttpServ
|
|
|
458
474
|
*
|
|
459
475
|
* @returns Returned if operation is successful.
|
|
460
476
|
*
|
|
461
|
-
* example:
|
|
477
|
+
* example:
|
|
478
|
+
* ```
|
|
479
|
+
* {
|
|
462
480
|
* "isLast": true,
|
|
463
481
|
* "maxResults": 100,
|
|
464
482
|
* "startAt": 0,
|
|
@@ -478,10 +496,12 @@ class IssueCustomFieldContextsService extends CommonHttpService_1.CommonHttpServ
|
|
|
478
496
|
* }
|
|
479
497
|
* ]
|
|
480
498
|
* }
|
|
481
|
-
*
|
|
499
|
+
* ```
|
|
500
|
+
* @path GET `/rest/api/3/field/{fieldId}/context/issuetypemapping`
|
|
482
501
|
* @scopes-current manage:jira-configuration
|
|
483
502
|
* @scopes-beta read:field:jira
|
|
484
503
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-custom-field-contexts#api-rest-api-3-field-fieldid-context-issuetypemapping-get
|
|
504
|
+
* @param params
|
|
485
505
|
*/
|
|
486
506
|
this.getIssueTypeMappingsForContexts = ({ fieldId, contextId, startAt, maxResults, }) => {
|
|
487
507
|
return this.getClientInstance()
|
|
@@ -516,7 +536,9 @@ class IssueCustomFieldContextsService extends CommonHttpService_1.CommonHttpServ
|
|
|
516
536
|
*
|
|
517
537
|
* @returns Returned if the request is successful.
|
|
518
538
|
*
|
|
519
|
-
* example:
|
|
539
|
+
* example:
|
|
540
|
+
* ```
|
|
541
|
+
* {
|
|
520
542
|
* "isLast": true,
|
|
521
543
|
* "maxResults": 100,
|
|
522
544
|
* "startAt": 0,
|
|
@@ -532,10 +554,12 @@ class IssueCustomFieldContextsService extends CommonHttpService_1.CommonHttpServ
|
|
|
532
554
|
* }
|
|
533
555
|
* ]
|
|
534
556
|
* }
|
|
535
|
-
*
|
|
557
|
+
* ```
|
|
558
|
+
* @path GET `/rest/api/3/field/{fieldId}/context/projectmapping`
|
|
536
559
|
* @scopes-current manage:jira-configuration
|
|
537
560
|
* @scopes-beta read:field:jira
|
|
538
561
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-custom-field-contexts#api-rest-api-3-field-fieldid-context-projectmapping-get
|
|
562
|
+
* @param params
|
|
539
563
|
*/
|
|
540
564
|
this.getProjectContextMapping = ({ fieldId, contextId, startAt, maxResults, }) => {
|
|
541
565
|
return this.getClientInstance()
|
|
@@ -574,10 +598,11 @@ class IssueCustomFieldContextsService extends CommonHttpService_1.CommonHttpServ
|
|
|
574
598
|
* permission](https://confluence.atlassian.com/x/x4dKLg).
|
|
575
599
|
*
|
|
576
600
|
* @returns Returned if the custom field context is removed from the projects.
|
|
577
|
-
* @path
|
|
601
|
+
* @path POST `/rest/api/3/field/{fieldId}/context/{contextId}/project/remove`
|
|
578
602
|
* @scopes-current manage:jira-configuration
|
|
579
603
|
* @scopes-beta write:field:jira
|
|
580
604
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-custom-field-contexts#api-rest-api-3-field-fieldid-context-contextid-project-remove-post
|
|
605
|
+
* @param params
|
|
581
606
|
*/
|
|
582
607
|
this.removeCustomFieldContextFromProjects = ({ fieldId, contextId, projectIds, }) => {
|
|
583
608
|
return this.getClientInstance()
|
|
@@ -611,10 +636,11 @@ class IssueCustomFieldContextsService extends CommonHttpService_1.CommonHttpServ
|
|
|
611
636
|
* permission](https://confluence.atlassian.com/x/x4dKLg).
|
|
612
637
|
*
|
|
613
638
|
* @returns Returned if operation is successful.
|
|
614
|
-
* @path
|
|
639
|
+
* @path POST `/rest/api/3/field/{fieldId}/context/{contextId}/issuetype/remove`
|
|
615
640
|
* @scopes-current manage:jira-configuration
|
|
616
641
|
* @scopes-beta write:field:jira
|
|
617
642
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-custom-field-contexts#api-rest-api-3-field-fieldid-context-contextid-issuetype-remove-post
|
|
643
|
+
* @param params
|
|
618
644
|
*/
|
|
619
645
|
this.removeIssueTypesFromContext = ({ fieldId, contextId, issueTypeIds, }) => {
|
|
620
646
|
return this.getClientInstance()
|
|
@@ -707,10 +733,11 @@ class IssueCustomFieldContextsService extends CommonHttpService_1.CommonHttpServ
|
|
|
707
733
|
* permission](https://confluence.atlassian.com/x/x4dKLg).
|
|
708
734
|
*
|
|
709
735
|
* @returns Returned if operation is successful.
|
|
710
|
-
* @path
|
|
736
|
+
* @path PUT `/rest/api/3/field/{fieldId}/context/defaultValue`
|
|
711
737
|
* @scopes-current manage:jira-configuration
|
|
712
738
|
* @scopes-beta write:field.default-value:jira
|
|
713
739
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-custom-field-contexts#api-rest-api-3-field-fieldid-context-defaultvalue-put
|
|
740
|
+
* @param params
|
|
714
741
|
*/
|
|
715
742
|
this.setDefaultValues = ({ fieldId, customFieldContextDefaultValueUpdate, }) => {
|
|
716
743
|
return this.getClientInstance()
|
|
@@ -742,10 +769,11 @@ class IssueCustomFieldContextsService extends CommonHttpService_1.CommonHttpServ
|
|
|
742
769
|
* permission](https://confluence.atlassian.com/x/x4dKLg).
|
|
743
770
|
*
|
|
744
771
|
* @returns Returned if the context is updated.
|
|
745
|
-
* @path
|
|
772
|
+
* @path PUT `/rest/api/3/field/{fieldId}/context/{contextId}`
|
|
746
773
|
* @scopes-current manage:jira-configuration
|
|
747
774
|
* @scopes-beta write:field:jira
|
|
748
775
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-custom-field-contexts#api-rest-api-3-field-fieldid-context-contextid-put
|
|
776
|
+
* @param params
|
|
749
777
|
*/
|
|
750
778
|
this.updateCustomFieldContext = ({ fieldId, contextId, customFieldContextUpdateDetails, }) => {
|
|
751
779
|
return this.getClientInstance()
|