@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 BulkEditGetFields, type BulkOperationProgress, type IssueBulkEditPayload, type IssueBulkMovePayload, type SubmittedBulkOperation } from "../models/issueBulkOperations";
|
|
3
3
|
/**
|
|
4
4
|
* This resource represents the Issue Bulk Operations. Use it to move multiple
|
|
@@ -40,14 +40,15 @@ export declare class IssueBulkOperationsService extends CommonHttpService {
|
|
|
40
40
|
*
|
|
41
41
|
* @returns Returned if the request is successful.
|
|
42
42
|
*
|
|
43
|
-
* example:
|
|
43
|
+
* example:
|
|
44
|
+
* ```
|
|
45
|
+
* {
|
|
44
46
|
* "fields": [
|
|
45
47
|
* {
|
|
46
48
|
* "id": "assignee",
|
|
47
49
|
* "isRequired": false,
|
|
48
50
|
* "name": "Assignee",
|
|
49
|
-
* "searchUrl":
|
|
50
|
-
* "https://your-domain.atlassian.net/rest/api/3/user/assignable/multiProjectSearch?projectKeys=KAN&query=",
|
|
51
|
+
* "searchUrl": "https://your-domain.atlassian.net/rest/api/3/user/assignable/multiProjectSearch?projectKeys=KAN&query=",
|
|
51
52
|
* "type": "assignee"
|
|
52
53
|
* },
|
|
53
54
|
* {
|
|
@@ -61,8 +62,7 @@ export declare class IssueBulkOperationsService extends CommonHttpService {
|
|
|
61
62
|
* ],
|
|
62
63
|
* "name": "Components",
|
|
63
64
|
* "type": "components",
|
|
64
|
-
* "unavailableMessage": "{0}NOTE{1}: The project of the selected issue(s)
|
|
65
|
-
* does not have any components."
|
|
65
|
+
* "unavailableMessage": "{0}NOTE{1}: The project of the selected issue(s) does not have any components."
|
|
66
66
|
* },
|
|
67
67
|
* {
|
|
68
68
|
* "fieldOptions": [
|
|
@@ -77,8 +77,7 @@ export declare class IssueBulkOperationsService extends CommonHttpService {
|
|
|
77
77
|
* "priority": "Lowest"
|
|
78
78
|
* },
|
|
79
79
|
* {
|
|
80
|
-
* "description": "Trivial problem with little or no impact on
|
|
81
|
-
* progress.",
|
|
80
|
+
* "description": "Trivial problem with little or no impact on progress.",
|
|
82
81
|
* "id": "3",
|
|
83
82
|
* "priority": "Medium"
|
|
84
83
|
* }
|
|
@@ -90,10 +89,12 @@ export declare class IssueBulkOperationsService extends CommonHttpService {
|
|
|
90
89
|
* }
|
|
91
90
|
* ]
|
|
92
91
|
* }
|
|
93
|
-
*
|
|
92
|
+
* ```
|
|
93
|
+
* @path GET `/rest/api/3/bulk/issues/fields`
|
|
94
94
|
* @scopes-current read:jira-work
|
|
95
95
|
* @scopes-beta read:issue:jira
|
|
96
96
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-bulk-operations#api-rest-api-3-bulk-issues-fields-get
|
|
97
|
+
* @param params
|
|
97
98
|
*/
|
|
98
99
|
getBulkEditableFields: ({ issueIdsOrKeys, searchText, endingBefore, startingAfter, }: {
|
|
99
100
|
/** The IDs or keys of the issues to get editable fields from. */
|
|
@@ -117,18 +118,22 @@ export declare class IssueBulkOperationsService extends CommonHttpService {
|
|
|
117
118
|
* or be the creator of the task.
|
|
118
119
|
*
|
|
119
120
|
* If the task is running, this resource will return:
|
|
120
|
-
*
|
|
121
|
-
*
|
|
121
|
+
* ```
|
|
122
|
+
* {"taskId":"10779","status":"RUNNING","progressPercent":65,"submittedBy":{"accountId":"5b10a2844c20165700ede21g"},"created":1690180055963,"started":1690180056206,"updated":169018005829}
|
|
123
|
+
* ```
|
|
122
124
|
*
|
|
123
125
|
* If the task has completed, then this resource will return:
|
|
124
|
-
*
|
|
125
|
-
*
|
|
126
|
+
* ```
|
|
127
|
+
* {"processedAccessibleIssues":[10001,10002],"created":1709189449954,"progressPercent":100,"started":1709189450154,"status":"COMPLETE","submittedBy":{"accountId":"5b10a2844c20165700ede21g"},"invalidOrInaccessibleIssueCount":0,"taskId":"10000","totalIssueCount":2,"updated":1709189450354}
|
|
128
|
+
* ```
|
|
126
129
|
*
|
|
127
130
|
* **Note:** You can view task progress for up to 14 days from creation.
|
|
128
131
|
*
|
|
129
132
|
* @returns Returned if the request is successful.
|
|
130
133
|
*
|
|
131
|
-
* example:
|
|
134
|
+
* example:
|
|
135
|
+
* ```
|
|
136
|
+
* {
|
|
132
137
|
* "created": 1704110400000,
|
|
133
138
|
* "invalidOrInaccessibleIssueCount": 0,
|
|
134
139
|
* "processedAccessibleIssues": [
|
|
@@ -145,10 +150,12 @@ export declare class IssueBulkOperationsService extends CommonHttpService {
|
|
|
145
150
|
* "totalIssueCount": 2,
|
|
146
151
|
* "updated": 1704110520000
|
|
147
152
|
* }
|
|
148
|
-
*
|
|
153
|
+
* ```
|
|
154
|
+
* @path GET `/rest/api/3/bulk/queue/{taskId}`
|
|
149
155
|
* @scopes-current read:jira-work
|
|
150
156
|
* @scopes-beta read:issue:jira
|
|
151
157
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-bulk-operations#api-rest-api-3-bulk-queue-taskid-get
|
|
158
|
+
* @param params
|
|
152
159
|
*/
|
|
153
160
|
getBulkOperationProgress: ({ taskId, }: {
|
|
154
161
|
/** The ID of the task. */
|
|
@@ -170,13 +177,17 @@ export declare class IssueBulkOperationsService extends CommonHttpService {
|
|
|
170
177
|
*
|
|
171
178
|
* @returns Returned if the request is successful.
|
|
172
179
|
*
|
|
173
|
-
* example:
|
|
180
|
+
* example:
|
|
181
|
+
* ```
|
|
182
|
+
* {
|
|
174
183
|
* "taskId": "10641"
|
|
175
184
|
* }
|
|
176
|
-
*
|
|
185
|
+
* ```
|
|
186
|
+
* @path POST `/rest/api/3/bulk/issues/fields`
|
|
177
187
|
* @scopes-current write:jira-work
|
|
178
188
|
* @scopes-beta write:issue:jira, read:issue:jira
|
|
179
189
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-bulk-operations#api-rest-api-3-bulk-issues-fields-post
|
|
190
|
+
* @param params
|
|
180
191
|
*/
|
|
181
192
|
submitBulkEdit: ({ sendBulkNotification, issueBulkEditPayload, }: {
|
|
182
193
|
/**
|
|
@@ -238,17 +249,22 @@ export declare class IssueBulkOperationsService extends CommonHttpService {
|
|
|
238
249
|
*
|
|
239
250
|
* @returns Returned if the request is successful.
|
|
240
251
|
*
|
|
241
|
-
* example:
|
|
252
|
+
* example:
|
|
253
|
+
* ```
|
|
254
|
+
* {
|
|
242
255
|
* "taskId": "10641"
|
|
243
256
|
* }
|
|
244
|
-
*
|
|
257
|
+
* ```
|
|
258
|
+
* @path POST `/rest/api/3/bulk/issues/move`
|
|
245
259
|
* @scopes-current write:jira-work
|
|
246
260
|
* @scopes-beta write:issue:jira, read:issue:jira
|
|
247
261
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-bulk-operations#api-rest-api-3-bulk-issues-move-post
|
|
262
|
+
* @param params
|
|
248
263
|
*/
|
|
249
264
|
submitBulkMove: ({ issueBulkMovePayload, }: {
|
|
250
265
|
/**
|
|
251
|
-
* @example
|
|
266
|
+
* @example
|
|
267
|
+
* {
|
|
252
268
|
* "targetToSourcesMapping": {
|
|
253
269
|
* "PROJECT-KEY,10001": {
|
|
254
270
|
* "inferFieldDefaults": false,
|
|
@@ -5,8 +5,8 @@ exports.IssueBulkOperationsService = 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 issueBulkOperations_1 = require("../models/issueBulkOperations");
|
|
11
11
|
const validationSchemaStorage_1 = require("../validationSchemaStorage");
|
|
12
12
|
/**
|
|
@@ -51,14 +51,15 @@ class IssueBulkOperationsService extends CommonHttpService_1.CommonHttpService {
|
|
|
51
51
|
*
|
|
52
52
|
* @returns Returned if the request is successful.
|
|
53
53
|
*
|
|
54
|
-
* example:
|
|
54
|
+
* example:
|
|
55
|
+
* ```
|
|
56
|
+
* {
|
|
55
57
|
* "fields": [
|
|
56
58
|
* {
|
|
57
59
|
* "id": "assignee",
|
|
58
60
|
* "isRequired": false,
|
|
59
61
|
* "name": "Assignee",
|
|
60
|
-
* "searchUrl":
|
|
61
|
-
* "https://your-domain.atlassian.net/rest/api/3/user/assignable/multiProjectSearch?projectKeys=KAN&query=",
|
|
62
|
+
* "searchUrl": "https://your-domain.atlassian.net/rest/api/3/user/assignable/multiProjectSearch?projectKeys=KAN&query=",
|
|
62
63
|
* "type": "assignee"
|
|
63
64
|
* },
|
|
64
65
|
* {
|
|
@@ -72,8 +73,7 @@ class IssueBulkOperationsService extends CommonHttpService_1.CommonHttpService {
|
|
|
72
73
|
* ],
|
|
73
74
|
* "name": "Components",
|
|
74
75
|
* "type": "components",
|
|
75
|
-
* "unavailableMessage": "{0}NOTE{1}: The project of the selected issue(s)
|
|
76
|
-
* does not have any components."
|
|
76
|
+
* "unavailableMessage": "{0}NOTE{1}: The project of the selected issue(s) does not have any components."
|
|
77
77
|
* },
|
|
78
78
|
* {
|
|
79
79
|
* "fieldOptions": [
|
|
@@ -88,8 +88,7 @@ class IssueBulkOperationsService extends CommonHttpService_1.CommonHttpService {
|
|
|
88
88
|
* "priority": "Lowest"
|
|
89
89
|
* },
|
|
90
90
|
* {
|
|
91
|
-
* "description": "Trivial problem with little or no impact on
|
|
92
|
-
* progress.",
|
|
91
|
+
* "description": "Trivial problem with little or no impact on progress.",
|
|
93
92
|
* "id": "3",
|
|
94
93
|
* "priority": "Medium"
|
|
95
94
|
* }
|
|
@@ -101,10 +100,12 @@ class IssueBulkOperationsService extends CommonHttpService_1.CommonHttpService {
|
|
|
101
100
|
* }
|
|
102
101
|
* ]
|
|
103
102
|
* }
|
|
104
|
-
*
|
|
103
|
+
* ```
|
|
104
|
+
* @path GET `/rest/api/3/bulk/issues/fields`
|
|
105
105
|
* @scopes-current read:jira-work
|
|
106
106
|
* @scopes-beta read:issue:jira
|
|
107
107
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-bulk-operations#api-rest-api-3-bulk-issues-fields-get
|
|
108
|
+
* @param params
|
|
108
109
|
*/
|
|
109
110
|
this.getBulkEditableFields = ({ issueIdsOrKeys, searchText, endingBefore, startingAfter, }) => {
|
|
110
111
|
return this.getClientInstance()
|
|
@@ -139,18 +140,22 @@ class IssueBulkOperationsService extends CommonHttpService_1.CommonHttpService {
|
|
|
139
140
|
* or be the creator of the task.
|
|
140
141
|
*
|
|
141
142
|
* If the task is running, this resource will return:
|
|
142
|
-
*
|
|
143
|
-
*
|
|
143
|
+
* ```
|
|
144
|
+
* {"taskId":"10779","status":"RUNNING","progressPercent":65,"submittedBy":{"accountId":"5b10a2844c20165700ede21g"},"created":1690180055963,"started":1690180056206,"updated":169018005829}
|
|
145
|
+
* ```
|
|
144
146
|
*
|
|
145
147
|
* If the task has completed, then this resource will return:
|
|
146
|
-
*
|
|
147
|
-
*
|
|
148
|
+
* ```
|
|
149
|
+
* {"processedAccessibleIssues":[10001,10002],"created":1709189449954,"progressPercent":100,"started":1709189450154,"status":"COMPLETE","submittedBy":{"accountId":"5b10a2844c20165700ede21g"},"invalidOrInaccessibleIssueCount":0,"taskId":"10000","totalIssueCount":2,"updated":1709189450354}
|
|
150
|
+
* ```
|
|
148
151
|
*
|
|
149
152
|
* **Note:** You can view task progress for up to 14 days from creation.
|
|
150
153
|
*
|
|
151
154
|
* @returns Returned if the request is successful.
|
|
152
155
|
*
|
|
153
|
-
* example:
|
|
156
|
+
* example:
|
|
157
|
+
* ```
|
|
158
|
+
* {
|
|
154
159
|
* "created": 1704110400000,
|
|
155
160
|
* "invalidOrInaccessibleIssueCount": 0,
|
|
156
161
|
* "processedAccessibleIssues": [
|
|
@@ -167,10 +172,12 @@ class IssueBulkOperationsService extends CommonHttpService_1.CommonHttpService {
|
|
|
167
172
|
* "totalIssueCount": 2,
|
|
168
173
|
* "updated": 1704110520000
|
|
169
174
|
* }
|
|
170
|
-
*
|
|
175
|
+
* ```
|
|
176
|
+
* @path GET `/rest/api/3/bulk/queue/{taskId}`
|
|
171
177
|
* @scopes-current read:jira-work
|
|
172
178
|
* @scopes-beta read:issue:jira
|
|
173
179
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-bulk-operations#api-rest-api-3-bulk-queue-taskid-get
|
|
180
|
+
* @param params
|
|
174
181
|
*/
|
|
175
182
|
this.getBulkOperationProgress = ({ taskId, }) => {
|
|
176
183
|
return this.getClientInstance()
|
|
@@ -206,13 +213,17 @@ class IssueBulkOperationsService extends CommonHttpService_1.CommonHttpService {
|
|
|
206
213
|
*
|
|
207
214
|
* @returns Returned if the request is successful.
|
|
208
215
|
*
|
|
209
|
-
* example:
|
|
216
|
+
* example:
|
|
217
|
+
* ```
|
|
218
|
+
* {
|
|
210
219
|
* "taskId": "10641"
|
|
211
220
|
* }
|
|
212
|
-
*
|
|
221
|
+
* ```
|
|
222
|
+
* @path POST `/rest/api/3/bulk/issues/fields`
|
|
213
223
|
* @scopes-current write:jira-work
|
|
214
224
|
* @scopes-beta write:issue:jira, read:issue:jira
|
|
215
225
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-bulk-operations#api-rest-api-3-bulk-issues-fields-post
|
|
226
|
+
* @param params
|
|
216
227
|
*/
|
|
217
228
|
this.submitBulkEdit = ({ sendBulkNotification, issueBulkEditPayload, }) => {
|
|
218
229
|
return this.getClientInstance()
|
|
@@ -287,13 +298,17 @@ class IssueBulkOperationsService extends CommonHttpService_1.CommonHttpService {
|
|
|
287
298
|
*
|
|
288
299
|
* @returns Returned if the request is successful.
|
|
289
300
|
*
|
|
290
|
-
* example:
|
|
301
|
+
* example:
|
|
302
|
+
* ```
|
|
303
|
+
* {
|
|
291
304
|
* "taskId": "10641"
|
|
292
305
|
* }
|
|
293
|
-
*
|
|
306
|
+
* ```
|
|
307
|
+
* @path POST `/rest/api/3/bulk/issues/move`
|
|
294
308
|
* @scopes-current write:jira-work
|
|
295
309
|
* @scopes-beta write:issue:jira, read:issue:jira
|
|
296
310
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-bulk-operations#api-rest-api-3-bulk-issues-move-post
|
|
311
|
+
* @param params
|
|
297
312
|
*/
|
|
298
313
|
this.submitBulkMove = ({ issueBulkMovePayload, }) => {
|
|
299
314
|
return this.getClientInstance()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IssueBulkOperationsService.js","sourceRoot":"","sources":["../../../../src/openapi/platform/services/IssueBulkOperationsService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,
|
|
1
|
+
{"version":3,"file":"IssueBulkOperationsService.js","sourceRoot":"","sources":["../../../../src/openapi/platform/services/IssueBulkOperationsService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,gEAAgE;AAChE,oEAAiE;AACjE,uEAOuC;AACvC,wEAAqE;AACrE;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAa,0BAA2B,SAAQ,qCAAiB;IAAjE;;QACE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAyEG;QACH,0BAAqB,GAAG,CAAC,EACvB,cAAc,EACd,UAAU,EACV,YAAY,EACZ,aAAa,GAUd,EAA8B,EAAE;YAC/B,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,gCAAgC;gBACtC,MAAM,EAAE,KAAK;gBACb,KAAK,EAAE;oBACL,cAAc;oBACd,UAAU;oBACV,YAAY;oBACZ,aAAa;iBACd;aACF,CAAC;iBACD,IAAI,CACH,IAAI,CAAC,iBAAiB,EAAE,CAAC,eAAe,CAAC;gBACvC,GAAG,EAAE;oBACH,kBAAkB,EAAE,MAAM;iBAC3B;aACF,CAAC,CACH;iBACA,IAAI,CACH,gBAAgB,CAAC,YAAY,EAIzB,CACL;iBACA,IAAI,CACH,iDAAuB,CAAC,SAAS,CAC/B,2DAA2D,CAC5D,CACF;iBACA,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;QACpC,CAAC,CAAC;QACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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C7D,CAAC;aACD,QAAQ,CAAC,oDAAoD,CAAC,CAClE,CAAC;QACF,iDAAuB,CAAC,kBAAkB,CACxC,oDAAoD,EACpD,OAAC;aACE,MAAM,CAAC;YACN,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,iDAAuB,CAAC,IAAI,CAAC,wBAAwB,CAAC;SAC7D,CAAC;aACD,QAAQ,CAAC,oDAAoD,CAAC,CAClE,CAAC;QACF,iDAAuB,CAAC,kBAAkB,CACxC,8DAA8D,EAC9D,OAAC;aACE,MAAM,CAAC;YACN,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,iDAAuB,CAAC,IAAI,CAAC,uBAAuB,CAAC;SAC5D,CAAC;aACD,QAAQ,CACP,8DAA8D,CAC/D,CACJ,CAAC;QACF,iDAAuB,CAAC,YAAY,CAAC;YACnC,kEAA4C;SAC7C,CAAC,CAAC;IACL,CAAC;CACF;AAnfD,gEAmfC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CommonHttpService } from "
|
|
1
|
+
import { CommonHttpService } from "../../core/CommonHttpService";
|
|
2
2
|
import { type EntityProperty, type PropertyKeys } from "../models/common";
|
|
3
3
|
/**
|
|
4
4
|
* This resource represents [issue comment](#api-group-Issue-comments) properties,
|
|
@@ -25,10 +25,11 @@ export declare class IssueCommentPropertiesService extends CommonHttpService {
|
|
|
25
25
|
* Also, when the visibility of a comment is restricted to a role or group the
|
|
26
26
|
* user must be a member of that role or group.
|
|
27
27
|
*
|
|
28
|
-
* @path
|
|
28
|
+
* @path DELETE `/rest/api/3/comment/{commentId}/properties/{propertyKey}`
|
|
29
29
|
* @scopes-current write:jira-work
|
|
30
30
|
* @scopes-beta delete:comment.property:jira
|
|
31
31
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-comment-properties#api-rest-api-3-comment-commentid-properties-propertykey-delete
|
|
32
|
+
* @param params
|
|
32
33
|
*/
|
|
33
34
|
deleteCommentProperty: ({ commentId, propertyKey, }: {
|
|
34
35
|
/** The ID of the comment. */
|
|
@@ -52,17 +53,21 @@ export declare class IssueCommentPropertiesService extends CommonHttpService {
|
|
|
52
53
|
*
|
|
53
54
|
* @returns Returned if the request is successful.
|
|
54
55
|
*
|
|
55
|
-
* example:
|
|
56
|
+
* example:
|
|
57
|
+
* ```
|
|
58
|
+
* {
|
|
56
59
|
* "key": "issue.support",
|
|
57
60
|
* "value": {
|
|
58
61
|
* "system.conversation.id": "b1bf38be-5e94-4b40-a3b8-9278735ee1e6",
|
|
59
62
|
* "system.support.time": "1m"
|
|
60
63
|
* }
|
|
61
64
|
* }
|
|
62
|
-
*
|
|
65
|
+
* ```
|
|
66
|
+
* @path GET `/rest/api/3/comment/{commentId}/properties/{propertyKey}`
|
|
63
67
|
* @scopes-current read:jira-work
|
|
64
68
|
* @scopes-beta read:comment.property:jira
|
|
65
69
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-comment-properties#api-rest-api-3-comment-commentid-properties-propertykey-get
|
|
70
|
+
* @param params
|
|
66
71
|
*/
|
|
67
72
|
getCommentProperty: ({ commentId, propertyKey, }: {
|
|
68
73
|
/** The ID of the comment. */
|
|
@@ -86,19 +91,22 @@ export declare class IssueCommentPropertiesService extends CommonHttpService {
|
|
|
86
91
|
*
|
|
87
92
|
* @returns Returned if the request is successful.
|
|
88
93
|
*
|
|
89
|
-
* example:
|
|
94
|
+
* example:
|
|
95
|
+
* ```
|
|
96
|
+
* {
|
|
90
97
|
* "keys": [
|
|
91
98
|
* {
|
|
92
99
|
* "key": "issue.support",
|
|
93
|
-
* "self":
|
|
94
|
-
* "https://your-domain.atlassian.net/rest/api/3/issue/EX-2/properties/issue.support"
|
|
100
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/issue/EX-2/properties/issue.support"
|
|
95
101
|
* }
|
|
96
102
|
* ]
|
|
97
103
|
* }
|
|
98
|
-
*
|
|
104
|
+
* ```
|
|
105
|
+
* @path GET `/rest/api/3/comment/{commentId}/properties`
|
|
99
106
|
* @scopes-current read:jira-work
|
|
100
107
|
* @scopes-beta read:comment.property:jira
|
|
101
108
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-comment-properties#api-rest-api-3-comment-commentid-properties-get
|
|
109
|
+
* @param params
|
|
102
110
|
*/
|
|
103
111
|
getCommentPropertyKeys: ({ commentId, }: {
|
|
104
112
|
/** The ID of the comment. */
|
|
@@ -124,17 +132,19 @@ export declare class IssueCommentPropertiesService extends CommonHttpService {
|
|
|
124
132
|
* Also, when the visibility of a comment is restricted to a role or group the
|
|
125
133
|
* user must be a member of that role or group.
|
|
126
134
|
*
|
|
127
|
-
* @returns
|
|
135
|
+
* @returns
|
|
136
|
+
* * status: 200, mediaType: application/json
|
|
128
137
|
*
|
|
129
138
|
* Returned if the comment property is updated.
|
|
130
139
|
*
|
|
131
140
|
* * status: 201, mediaType: application/json
|
|
132
141
|
*
|
|
133
142
|
* Returned if the comment property is created.
|
|
134
|
-
* @path
|
|
143
|
+
* @path PUT `/rest/api/3/comment/{commentId}/properties/{propertyKey}`
|
|
135
144
|
* @scopes-current write:jira-work
|
|
136
145
|
* @scopes-beta write:comment.property:jira
|
|
137
146
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-comment-properties#api-rest-api-3-comment-commentid-properties-propertykey-put
|
|
147
|
+
* @param params
|
|
138
148
|
*/
|
|
139
149
|
setCommentProperty: ({ commentId, propertyKey, requestBody, }: {
|
|
140
150
|
/** The ID of the comment. */
|
|
@@ -5,8 +5,8 @@ exports.IssueCommentPropertiesService = 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 common_1 = require("../models/common");
|
|
11
11
|
const validationSchemaStorage_1 = require("../validationSchemaStorage");
|
|
12
12
|
/**
|
|
@@ -36,10 +36,11 @@ class IssueCommentPropertiesService extends CommonHttpService_1.CommonHttpServic
|
|
|
36
36
|
* Also, when the visibility of a comment is restricted to a role or group the
|
|
37
37
|
* user must be a member of that role or group.
|
|
38
38
|
*
|
|
39
|
-
* @path
|
|
39
|
+
* @path DELETE `/rest/api/3/comment/{commentId}/properties/{propertyKey}`
|
|
40
40
|
* @scopes-current write:jira-work
|
|
41
41
|
* @scopes-beta delete:comment.property:jira
|
|
42
42
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-comment-properties#api-rest-api-3-comment-commentid-properties-propertykey-delete
|
|
43
|
+
* @param params
|
|
43
44
|
*/
|
|
44
45
|
this.deleteCommentProperty = ({ commentId, propertyKey, }) => {
|
|
45
46
|
return this.getClientInstance()
|
|
@@ -69,17 +70,21 @@ class IssueCommentPropertiesService extends CommonHttpService_1.CommonHttpServic
|
|
|
69
70
|
*
|
|
70
71
|
* @returns Returned if the request is successful.
|
|
71
72
|
*
|
|
72
|
-
* example:
|
|
73
|
+
* example:
|
|
74
|
+
* ```
|
|
75
|
+
* {
|
|
73
76
|
* "key": "issue.support",
|
|
74
77
|
* "value": {
|
|
75
78
|
* "system.conversation.id": "b1bf38be-5e94-4b40-a3b8-9278735ee1e6",
|
|
76
79
|
* "system.support.time": "1m"
|
|
77
80
|
* }
|
|
78
81
|
* }
|
|
79
|
-
*
|
|
82
|
+
* ```
|
|
83
|
+
* @path GET `/rest/api/3/comment/{commentId}/properties/{propertyKey}`
|
|
80
84
|
* @scopes-current read:jira-work
|
|
81
85
|
* @scopes-beta read:comment.property:jira
|
|
82
86
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-comment-properties#api-rest-api-3-comment-commentid-properties-propertykey-get
|
|
87
|
+
* @param params
|
|
83
88
|
*/
|
|
84
89
|
this.getCommentProperty = ({ commentId, propertyKey, }) => {
|
|
85
90
|
return this.getClientInstance()
|
|
@@ -116,19 +121,22 @@ class IssueCommentPropertiesService extends CommonHttpService_1.CommonHttpServic
|
|
|
116
121
|
*
|
|
117
122
|
* @returns Returned if the request is successful.
|
|
118
123
|
*
|
|
119
|
-
* example:
|
|
124
|
+
* example:
|
|
125
|
+
* ```
|
|
126
|
+
* {
|
|
120
127
|
* "keys": [
|
|
121
128
|
* {
|
|
122
129
|
* "key": "issue.support",
|
|
123
|
-
* "self":
|
|
124
|
-
* "https://your-domain.atlassian.net/rest/api/3/issue/EX-2/properties/issue.support"
|
|
130
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/issue/EX-2/properties/issue.support"
|
|
125
131
|
* }
|
|
126
132
|
* ]
|
|
127
133
|
* }
|
|
128
|
-
*
|
|
134
|
+
* ```
|
|
135
|
+
* @path GET `/rest/api/3/comment/{commentId}/properties`
|
|
129
136
|
* @scopes-current read:jira-work
|
|
130
137
|
* @scopes-beta read:comment.property:jira
|
|
131
138
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-comment-properties#api-rest-api-3-comment-commentid-properties-get
|
|
139
|
+
* @param params
|
|
132
140
|
*/
|
|
133
141
|
this.getCommentPropertyKeys = ({ commentId, }) => {
|
|
134
142
|
return this.getClientInstance()
|
|
@@ -168,17 +176,19 @@ class IssueCommentPropertiesService extends CommonHttpService_1.CommonHttpServic
|
|
|
168
176
|
* Also, when the visibility of a comment is restricted to a role or group the
|
|
169
177
|
* user must be a member of that role or group.
|
|
170
178
|
*
|
|
171
|
-
* @returns
|
|
179
|
+
* @returns
|
|
180
|
+
* * status: 200, mediaType: application/json
|
|
172
181
|
*
|
|
173
182
|
* Returned if the comment property is updated.
|
|
174
183
|
*
|
|
175
184
|
* * status: 201, mediaType: application/json
|
|
176
185
|
*
|
|
177
186
|
* Returned if the comment property is created.
|
|
178
|
-
* @path
|
|
187
|
+
* @path PUT `/rest/api/3/comment/{commentId}/properties/{propertyKey}`
|
|
179
188
|
* @scopes-current write:jira-work
|
|
180
189
|
* @scopes-beta write:comment.property:jira
|
|
181
190
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-comment-properties#api-rest-api-3-comment-commentid-properties-propertykey-put
|
|
191
|
+
* @param params
|
|
182
192
|
*/
|
|
183
193
|
this.setCommentProperty = ({ commentId, propertyKey, requestBody, }) => {
|
|
184
194
|
return this.getClientInstance()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IssueCommentPropertiesService.js","sourceRoot":"","sources":["../../../../src/openapi/platform/services/IssueCommentPropertiesService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,
|
|
1
|
+
{"version":3,"file":"IssueCommentPropertiesService.js","sourceRoot":"","sources":["../../../../src/openapi/platform/services/IssueCommentPropertiesService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,gEAAgE;AAChE,oEAAiE;AACjE,6CAI0B;AAC1B,wEAAqE;AACrE;;;;;;;;GAQG;AACH,MAAa,6BAA8B,SAAQ,qCAAiB;IAApE;;QACE;;;;;;;;;;;;;;;;;;;;WAoBG;QACH,0BAAqB,GAAG,CAAC,EACvB,SAAS,EACT,WAAW,GAMZ,EAAiB,EAAE;YAClB,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,0DAA0D;gBAChE,MAAM,EAAE,QAAQ;gBAChB,UAAU,EAAE;oBACV,SAAS;oBACT,WAAW;iBACZ;aACF,CAAC;iBACD,IAAI,CAAC,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