@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
|
@@ -5,8 +5,8 @@ exports.IssuesService = 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 issues_1 = require("../models/issues");
|
|
12
12
|
const validationSchemaStorage_1 = require("../validationSchemaStorage");
|
|
@@ -48,11 +48,11 @@ class IssuesService extends CommonHttpService_1.CommonHttpService {
|
|
|
48
48
|
*
|
|
49
49
|
* **Signed-in users only:** This API can't be accessed anonymously.
|
|
50
50
|
*
|
|
51
|
-
* @returns Returned if there is at least one valid issue to archive in the request. The
|
|
52
|
-
* return message will include the count of archived issues and subtasks, as well
|
|
53
|
-
* as error details for issues which failed to get archived.
|
|
51
|
+
* @returns Returned if there is at least one valid issue to archive in the request. The return message will include the count of archived issues and subtasks, as well as error details for issues which failed to get archived.
|
|
54
52
|
*
|
|
55
|
-
* example:
|
|
53
|
+
* example:
|
|
54
|
+
* ```
|
|
55
|
+
* {
|
|
56
56
|
* "errors": {
|
|
57
57
|
* "issueIsSubtask": {
|
|
58
58
|
* "count": 3,
|
|
@@ -92,10 +92,12 @@ class IssuesService extends CommonHttpService_1.CommonHttpService {
|
|
|
92
92
|
* },
|
|
93
93
|
* "numberOfIssuesUpdated": 10
|
|
94
94
|
* }
|
|
95
|
-
*
|
|
95
|
+
* ```
|
|
96
|
+
* @path PUT `/rest/api/3/issue/archive`
|
|
96
97
|
* @scopes-current write:jira-work
|
|
97
98
|
* @scopes-beta write:issue:jira
|
|
98
99
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues#api-rest-api-3-issue-archive-put
|
|
100
|
+
* @param params
|
|
99
101
|
*/
|
|
100
102
|
this.archiveIssues = ({ issueArchivalSyncRequest, }) => {
|
|
101
103
|
return this.getClientInstance()
|
|
@@ -144,11 +146,15 @@ class IssuesService extends CommonHttpService_1.CommonHttpService {
|
|
|
144
146
|
*
|
|
145
147
|
* @returns Returns the URL to check the status of the submitted request.
|
|
146
148
|
*
|
|
147
|
-
* example:
|
|
148
|
-
*
|
|
149
|
+
* example:
|
|
150
|
+
* ```
|
|
151
|
+
* "https://your-domain.atlassian.net/rest/api/3/task/1010"
|
|
152
|
+
* ```
|
|
153
|
+
* @path POST `/rest/api/3/issue/archive`
|
|
149
154
|
* @scopes-current write:jira-work
|
|
150
155
|
* @scopes-beta write:issue:jira
|
|
151
156
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues#api-rest-api-3-issue-archive-post
|
|
157
|
+
* @param params
|
|
152
158
|
*/
|
|
153
159
|
this.archiveIssuesAsync = ({ archiveIssueAsyncRequest, }) => {
|
|
154
160
|
return this.getClientInstance()
|
|
@@ -190,10 +196,11 @@ class IssuesService extends CommonHttpService_1.CommonHttpService {
|
|
|
190
196
|
* configured, issue-level security permission to view the issue.
|
|
191
197
|
*
|
|
192
198
|
* @returns Returned if the request is successful.
|
|
193
|
-
* @path
|
|
199
|
+
* @path PUT `/rest/api/3/issue/{issueIdOrKey}/assignee`
|
|
194
200
|
* @scopes-current write:jira-work
|
|
195
201
|
* @scopes-beta write:issue:jira
|
|
196
202
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues#api-rest-api-3-issue-issueidorkey-assignee-put
|
|
203
|
+
* @param params
|
|
197
204
|
*/
|
|
198
205
|
this.assignIssue = ({ issueIdOrKey, user, }) => {
|
|
199
206
|
return this.getClientInstance()
|
|
@@ -246,7 +253,9 @@ class IssuesService extends CommonHttpService_1.CommonHttpService {
|
|
|
246
253
|
*
|
|
247
254
|
* @returns Returned if the request is successful.
|
|
248
255
|
*
|
|
249
|
-
* example:
|
|
256
|
+
* example:
|
|
257
|
+
* ```
|
|
258
|
+
* {
|
|
250
259
|
* "id": "10000",
|
|
251
260
|
* "key": "ED-24",
|
|
252
261
|
* "self": "https://your-domain.atlassian.net/rest/api/3/issue/10000",
|
|
@@ -258,11 +267,12 @@ class IssuesService extends CommonHttpService_1.CommonHttpService {
|
|
|
258
267
|
* }
|
|
259
268
|
* }
|
|
260
269
|
* }
|
|
261
|
-
*
|
|
270
|
+
* ```
|
|
271
|
+
* @path POST `/rest/api/3/issue`
|
|
262
272
|
* @scopes-current write:jira-work
|
|
263
|
-
* @scopes-beta write:issue:jira, write:comment:jira, write:comment.property:jira,
|
|
264
|
-
* write:attachment:jira, read:issue:jira
|
|
273
|
+
* @scopes-beta write:issue:jira, write:comment:jira, write:comment.property:jira, write:attachment:jira, read:issue:jira
|
|
265
274
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues#api-rest-api-3-issue-post
|
|
275
|
+
* @param params
|
|
266
276
|
*/
|
|
267
277
|
this.createIssue = ({ updateHistory, issueUpdateDetails, }) => {
|
|
268
278
|
return this.getClientInstance()
|
|
@@ -310,8 +320,7 @@ class IssuesService extends CommonHttpService_1.CommonHttpService {
|
|
|
310
320
|
* [project permissions](https://confluence.atlassian.com/x/yodKLg) for the
|
|
311
321
|
* project in which each issue or subtask is created.
|
|
312
322
|
*
|
|
313
|
-
* @returns Returned if any of the issue or subtask creation requests were successful. A
|
|
314
|
-
* request may be unsuccessful when it:
|
|
323
|
+
* @returns Returned if any of the issue or subtask creation requests were successful. A request may be unsuccessful when it:
|
|
315
324
|
*
|
|
316
325
|
* * is missing required fields.
|
|
317
326
|
* * contains invalid field values.
|
|
@@ -321,7 +330,9 @@ class IssuesService extends CommonHttpService_1.CommonHttpService {
|
|
|
321
330
|
* * is for a subtask when the option to create subtasks is disabled.
|
|
322
331
|
* * is invalid for any other reason.
|
|
323
332
|
*
|
|
324
|
-
* example:
|
|
333
|
+
* example:
|
|
334
|
+
* ```
|
|
335
|
+
* {
|
|
325
336
|
* "issues": [
|
|
326
337
|
* {
|
|
327
338
|
* "id": "10000",
|
|
@@ -343,11 +354,12 @@ class IssuesService extends CommonHttpService_1.CommonHttpService {
|
|
|
343
354
|
* ],
|
|
344
355
|
* "errors": []
|
|
345
356
|
* }
|
|
346
|
-
*
|
|
357
|
+
* ```
|
|
358
|
+
* @path POST `/rest/api/3/issue/bulk`
|
|
347
359
|
* @scopes-current write:jira-work
|
|
348
|
-
* @scopes-beta write:issue:jira, write:comment:jira, write:comment.property:jira,
|
|
349
|
-
* write:attachment:jira, read:issue:jira
|
|
360
|
+
* @scopes-beta write:issue:jira, write:comment:jira, write:comment.property:jira, write:attachment:jira, read:issue:jira
|
|
350
361
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues#api-rest-api-3-issue-bulk-post
|
|
362
|
+
* @param params
|
|
351
363
|
*/
|
|
352
364
|
this.createIssues = ({ issuesUpdateBean, }) => {
|
|
353
365
|
return this.getClientInstance()
|
|
@@ -385,10 +397,11 @@ class IssuesService extends CommonHttpService_1.CommonHttpService {
|
|
|
385
397
|
* * If [issue-level security](https://confluence.atlassian.com/x/J4lKLg) is
|
|
386
398
|
* configured, issue-level security permission to view the issue.
|
|
387
399
|
*
|
|
388
|
-
* @path
|
|
400
|
+
* @path DELETE `/rest/api/3/issue/{issueIdOrKey}`
|
|
389
401
|
* @scopes-current write:jira-work
|
|
390
402
|
* @scopes-beta delete:issue:jira
|
|
391
403
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues#api-rest-api-3-issue-issueidorkey-delete
|
|
404
|
+
* @param params
|
|
392
405
|
*/
|
|
393
406
|
this.deleteIssue = ({ issueIdOrKey, deleteSubtasks, }) => {
|
|
394
407
|
return this.getClientInstance()
|
|
@@ -425,10 +438,11 @@ class IssuesService extends CommonHttpService_1.CommonHttpService {
|
|
|
425
438
|
* configured, issue-level security permission to view the issue.
|
|
426
439
|
*
|
|
427
440
|
* @returns Returned if the request is successful.
|
|
428
|
-
* @path
|
|
441
|
+
* @path POST `/rest/api/3/issue/{issueIdOrKey}/transitions`
|
|
429
442
|
* @scopes-current write:jira-work
|
|
430
443
|
* @scopes-beta write:issue:jira, write:issue.property:jira
|
|
431
444
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues#api-rest-api-3-issue-issueidorkey-transitions-post
|
|
445
|
+
* @param params
|
|
432
446
|
*/
|
|
433
447
|
this.doTransition = ({ issueIdOrKey, issueUpdateDetails, }) => {
|
|
434
448
|
return this.getClientInstance()
|
|
@@ -484,18 +498,19 @@ class IssuesService extends CommonHttpService_1.CommonHttpService {
|
|
|
484
498
|
* * If [issue-level security](https://confluence.atlassian.com/x/J4lKLg) is
|
|
485
499
|
* configured, issue-level security permission to view the issue.
|
|
486
500
|
*
|
|
487
|
-
* @returns
|
|
501
|
+
* @returns
|
|
502
|
+
* * status: 200, mediaType: application/json
|
|
488
503
|
*
|
|
489
|
-
* Returned if the request is successful and the `returnIssue` parameter is
|
|
490
|
-
* `true`
|
|
504
|
+
* Returned if the request is successful and the `returnIssue` parameter is `true`
|
|
491
505
|
*
|
|
492
506
|
* * status: 204, mediaType: application/json
|
|
493
507
|
*
|
|
494
508
|
* Returned if the request is successful.
|
|
495
|
-
* @path
|
|
509
|
+
* @path PUT `/rest/api/3/issue/{issueIdOrKey}`
|
|
496
510
|
* @scopes-current write:jira-work
|
|
497
511
|
* @scopes-beta write:issue:jira
|
|
498
512
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues#api-rest-api-3-issue-issueidorkey-put
|
|
513
|
+
* @param params
|
|
499
514
|
*/
|
|
500
515
|
this.editIssue = ({ issueIdOrKey, notifyUsers, overrideScreenSecurity, overrideEditableFlag, returnIssue, expand, issueUpdateDetails, }) => {
|
|
501
516
|
return this.getClientInstance()
|
|
@@ -546,23 +561,23 @@ class IssuesService extends CommonHttpService_1.CommonHttpService {
|
|
|
546
561
|
*
|
|
547
562
|
* **Rate limiting:** Only a single request can be active at any given time.
|
|
548
563
|
*
|
|
549
|
-
* @returns Returns the details of your export task. You can use the [get
|
|
550
|
-
* task](https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-tasks/#api-rest-api-3-task-taskid-get)
|
|
551
|
-
* API to view the progress of your request.
|
|
564
|
+
* @returns Returns the details of your export task. You can use the [get task](https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-tasks/#api-rest-api-3-task-taskid-get) API to view the progress of your request.
|
|
552
565
|
*
|
|
553
|
-
* example:
|
|
554
|
-
*
|
|
555
|
-
*
|
|
556
|
-
* dateBeforeInstant=2023-01-12}, archivedBy=[uuid-rep-001, uuid-rep-002]}",
|
|
566
|
+
* example:
|
|
567
|
+
* ```
|
|
568
|
+
* {
|
|
569
|
+
* "payload": "{projects=[FOO, BAR], reporters=[uuid-rep-001, uuid-rep-002], issueTypes=[10001, 10002], archivedDate={dateAfterInstant=2023-01-01, dateBeforeInstant=2023-01-12}, archivedBy=[uuid-rep-001, uuid-rep-002]}",
|
|
557
570
|
* "progress": 0,
|
|
558
571
|
* "status": "ENQUEUED",
|
|
559
572
|
* "submittedTime": 1623230887000,
|
|
560
573
|
* "taskId": "10990"
|
|
561
574
|
* }
|
|
562
|
-
*
|
|
575
|
+
* ```
|
|
576
|
+
* @path PUT `/rest/api/3/issues/archive/export`
|
|
563
577
|
* @scopes-current read:jira-work
|
|
564
578
|
* @scopes-beta read:issue:jira
|
|
565
579
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues#api-rest-api-3-issues-archive-export-put
|
|
580
|
+
* @param params
|
|
566
581
|
*/
|
|
567
582
|
this.exportArchivedIssues = ({ archivedIssuesFilterRequest, }) => {
|
|
568
583
|
return this.getClientInstance()
|
|
@@ -599,13 +614,13 @@ class IssuesService extends CommonHttpService_1.CommonHttpService {
|
|
|
599
614
|
*
|
|
600
615
|
* @returns Returned if the request is successful.
|
|
601
616
|
*
|
|
602
|
-
* example:
|
|
617
|
+
* example:
|
|
618
|
+
* ```
|
|
619
|
+
* {
|
|
603
620
|
* "isLast": false,
|
|
604
621
|
* "maxResults": 2,
|
|
605
|
-
* "nextPage":
|
|
606
|
-
* "https://your-domain.atlassian.net/rest/api/3/issue/TT-1/changelog
|
|
607
|
-
* "self":
|
|
608
|
-
* "https://your-domain.atlassian.net/rest/api/3/issue/TT-1/changelog?startAt=2&maxResults=2",
|
|
622
|
+
* "nextPage": "https://your-domain.atlassian.net/rest/api/3/issue/TT-1/changelog?&startAt=4&maxResults=2",
|
|
623
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/issue/TT-1/changelog?startAt=2&maxResults=2",
|
|
609
624
|
* "startAt": 2,
|
|
610
625
|
* "total": 5,
|
|
611
626
|
* "values": [
|
|
@@ -614,19 +629,14 @@ class IssuesService extends CommonHttpService_1.CommonHttpService {
|
|
|
614
629
|
* "accountId": "5b10a2844c20165700ede21g",
|
|
615
630
|
* "active": true,
|
|
616
631
|
* "avatarUrls": {
|
|
617
|
-
* "16x16":
|
|
618
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
619
|
-
* "
|
|
620
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
621
|
-
* "32x32":
|
|
622
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
623
|
-
* "48x48":
|
|
624
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
632
|
+
* "16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
633
|
+
* "24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
634
|
+
* "32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
635
|
+
* "48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
625
636
|
* },
|
|
626
637
|
* "displayName": "Mia Krystof",
|
|
627
638
|
* "emailAddress": "mia@example.com",
|
|
628
|
-
* "self":
|
|
629
|
-
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g",
|
|
639
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g",
|
|
630
640
|
* "timeZone": "Australia/Sydney"
|
|
631
641
|
* },
|
|
632
642
|
* "created": "1970-01-18T06:27:50.429+0000",
|
|
@@ -648,19 +658,14 @@ class IssuesService extends CommonHttpService_1.CommonHttpService {
|
|
|
648
658
|
* "accountId": "5b10a2844c20165700ede21g",
|
|
649
659
|
* "active": true,
|
|
650
660
|
* "avatarUrls": {
|
|
651
|
-
* "16x16":
|
|
652
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
653
|
-
* "
|
|
654
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
655
|
-
* "32x32":
|
|
656
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
657
|
-
* "48x48":
|
|
658
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
661
|
+
* "16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
662
|
+
* "24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
663
|
+
* "32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
664
|
+
* "48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
659
665
|
* },
|
|
660
666
|
* "displayName": "Mia Krystof",
|
|
661
667
|
* "emailAddress": "mia@example.com",
|
|
662
|
-
* "self":
|
|
663
|
-
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g",
|
|
668
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g",
|
|
664
669
|
* "timeZone": "Australia/Sydney"
|
|
665
670
|
* },
|
|
666
671
|
* "created": "1970-01-18T06:27:51.429+0000",
|
|
@@ -679,10 +684,12 @@ class IssuesService extends CommonHttpService_1.CommonHttpService {
|
|
|
679
684
|
* }
|
|
680
685
|
* ]
|
|
681
686
|
* }
|
|
682
|
-
*
|
|
687
|
+
* ```
|
|
688
|
+
* @path GET `/rest/api/3/issue/{issueIdOrKey}/changelog`
|
|
683
689
|
* @scopes-current read:jira-work
|
|
684
690
|
* @scopes-beta read:issue-meta:jira, read:avatar:jira, read:issue.changelog:jira
|
|
685
691
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues#api-rest-api-3-issue-issueidorkey-changelog-get
|
|
692
|
+
* @param params
|
|
686
693
|
*/
|
|
687
694
|
this.getChangeLogs = ({ issueIdOrKey, startAt, maxResults, }) => {
|
|
688
695
|
return this.getClientInstance()
|
|
@@ -721,26 +728,23 @@ class IssuesService extends CommonHttpService_1.CommonHttpService {
|
|
|
721
728
|
*
|
|
722
729
|
* @returns Returned if the request is successful.
|
|
723
730
|
*
|
|
724
|
-
* example:
|
|
731
|
+
* example:
|
|
732
|
+
* ```
|
|
733
|
+
* {
|
|
725
734
|
* "histories": [
|
|
726
735
|
* {
|
|
727
736
|
* "author": {
|
|
728
737
|
* "accountId": "5b10a2844c20165700ede21g",
|
|
729
738
|
* "active": true,
|
|
730
739
|
* "avatarUrls": {
|
|
731
|
-
* "16x16":
|
|
732
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
733
|
-
* "
|
|
734
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
735
|
-
* "32x32":
|
|
736
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
737
|
-
* "48x48":
|
|
738
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
740
|
+
* "16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
741
|
+
* "24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
742
|
+
* "32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
743
|
+
* "48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
739
744
|
* },
|
|
740
745
|
* "displayName": "Mia Krystof",
|
|
741
746
|
* "emailAddress": "mia@example.com",
|
|
742
|
-
* "self":
|
|
743
|
-
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g",
|
|
747
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g",
|
|
744
748
|
* "timeZone": "Australia/Sydney"
|
|
745
749
|
* },
|
|
746
750
|
* "created": "1970-01-18T06:27:50.429+0000",
|
|
@@ -762,19 +766,14 @@ class IssuesService extends CommonHttpService_1.CommonHttpService {
|
|
|
762
766
|
* "accountId": "5b10a2844c20165700ede21g",
|
|
763
767
|
* "active": true,
|
|
764
768
|
* "avatarUrls": {
|
|
765
|
-
* "16x16":
|
|
766
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
767
|
-
* "
|
|
768
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
769
|
-
* "32x32":
|
|
770
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
771
|
-
* "48x48":
|
|
772
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
769
|
+
* "16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
770
|
+
* "24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
771
|
+
* "32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
772
|
+
* "48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
773
773
|
* },
|
|
774
774
|
* "displayName": "Mia Krystof",
|
|
775
775
|
* "emailAddress": "mia@example.com",
|
|
776
|
-
* "self":
|
|
777
|
-
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g",
|
|
776
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g",
|
|
778
777
|
* "timeZone": "Australia/Sydney"
|
|
779
778
|
* },
|
|
780
779
|
* "created": "1970-01-18T06:27:51.429+0000",
|
|
@@ -796,10 +795,12 @@ class IssuesService extends CommonHttpService_1.CommonHttpService {
|
|
|
796
795
|
* "startAt": 0,
|
|
797
796
|
* "total": 2
|
|
798
797
|
* }
|
|
799
|
-
*
|
|
798
|
+
* ```
|
|
799
|
+
* @path POST `/rest/api/3/issue/{issueIdOrKey}/changelog/list`
|
|
800
800
|
* @scopes-current read:jira-work
|
|
801
801
|
* @scopes-beta read:issue-meta:jira, read:avatar:jira, read:issue.changelog:jira
|
|
802
802
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues#api-rest-api-3-issue-issueidorkey-changelog-list-post
|
|
803
|
+
* @param params
|
|
803
804
|
*/
|
|
804
805
|
this.getChangeLogsByIds = ({ issueIdOrKey, issueChangelogIds, }) => {
|
|
805
806
|
return this.getClientInstance()
|
|
@@ -847,18 +848,16 @@ class IssuesService extends CommonHttpService_1.CommonHttpService {
|
|
|
847
848
|
* @deprecated
|
|
848
849
|
* @returns Returned if the request is successful.
|
|
849
850
|
*
|
|
850
|
-
* example:
|
|
851
|
+
* example:
|
|
852
|
+
* ```
|
|
853
|
+
* {
|
|
851
854
|
* "projects": [
|
|
852
855
|
* {
|
|
853
856
|
* "avatarUrls": {
|
|
854
|
-
* "16x16":
|
|
855
|
-
* "https://your-domain.atlassian.net/secure/projectavatar?size=
|
|
856
|
-
* "
|
|
857
|
-
* "https://your-domain.atlassian.net/secure/projectavatar?
|
|
858
|
-
* "32x32":
|
|
859
|
-
* "https://your-domain.atlassian.net/secure/projectavatar?size=medium&pid=10000&avatarId=10011",
|
|
860
|
-
* "48x48":
|
|
861
|
-
* "https://your-domain.atlassian.net/secure/projectavatar?pid=10000&avatarId=10011"
|
|
857
|
+
* "16x16": "https://your-domain.atlassian.net/secure/projectavatar?size=xsmall&pid=10000&avatarId=10011",
|
|
858
|
+
* "24x24": "https://your-domain.atlassian.net/secure/projectavatar?size=small&pid=10000&avatarId=10011",
|
|
859
|
+
* "32x32": "https://your-domain.atlassian.net/secure/projectavatar?size=medium&pid=10000&avatarId=10011",
|
|
860
|
+
* "48x48": "https://your-domain.atlassian.net/secure/projectavatar?pid=10000&avatarId=10011"
|
|
862
861
|
* },
|
|
863
862
|
* "id": "10000",
|
|
864
863
|
* "issuetypes": [
|
|
@@ -876,8 +875,7 @@ class IssuesService extends CommonHttpService_1.CommonHttpService {
|
|
|
876
875
|
* "required": true
|
|
877
876
|
* }
|
|
878
877
|
* },
|
|
879
|
-
* "iconUrl":
|
|
880
|
-
* "https://your-domain.atlassian.net/images/icons/issuetypes/bug.png",
|
|
878
|
+
* "iconUrl": "https://your-domain.atlassian.net/images/icons/issuetypes/bug.png",
|
|
881
879
|
* "id": "1",
|
|
882
880
|
* "name": "Bug",
|
|
883
881
|
* "self": "https://your-domain.atlassian.net/rest/api/3/issueType/1",
|
|
@@ -890,10 +888,12 @@ class IssuesService extends CommonHttpService_1.CommonHttpService {
|
|
|
890
888
|
* }
|
|
891
889
|
* ]
|
|
892
890
|
* }
|
|
893
|
-
*
|
|
891
|
+
* ```
|
|
892
|
+
* @path GET `/rest/api/3/issue/createmeta`
|
|
894
893
|
* @scopes-current read:jira-work
|
|
895
894
|
* @scopes-beta read:issue-meta:jira, read:avatar:jira, read:field-configuration:jira
|
|
896
895
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues#api-rest-api-3-issue-createmeta-get
|
|
896
|
+
* @param params
|
|
897
897
|
*/
|
|
898
898
|
this.getCreateIssueMeta = ({ projectIds, projectKeys, issuetypeIds, issuetypeNames, expand, } = {}) => {
|
|
899
899
|
return this.getClientInstance()
|
|
@@ -931,7 +931,9 @@ class IssuesService extends CommonHttpService_1.CommonHttpService {
|
|
|
931
931
|
*
|
|
932
932
|
* @returns Returned if the request is successful.
|
|
933
933
|
*
|
|
934
|
-
* example:
|
|
934
|
+
* example:
|
|
935
|
+
* ```
|
|
936
|
+
* {
|
|
935
937
|
* "fields": [
|
|
936
938
|
* {
|
|
937
939
|
* "fieldId": "assignee",
|
|
@@ -948,10 +950,12 @@ class IssuesService extends CommonHttpService_1.CommonHttpService {
|
|
|
948
950
|
* "startAt": 0,
|
|
949
951
|
* "total": 1
|
|
950
952
|
* }
|
|
951
|
-
*
|
|
953
|
+
* ```
|
|
954
|
+
* @path GET `/rest/api/3/issue/createmeta/{projectIdOrKey}/issuetypes/{issueTypeId}`
|
|
952
955
|
* @scopes-current read:jira-work
|
|
953
956
|
* @scopes-beta read:issue-meta:jira, read:avatar:jira, read:field-configuration:jira
|
|
954
957
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues#api-rest-api-3-issue-createmeta-projectidorkey-issuetypes-issuetypeid-get
|
|
958
|
+
* @param params
|
|
955
959
|
*/
|
|
956
960
|
this.getCreateIssueMetaIssueTypeId = ({ projectIdOrKey, issueTypeId, startAt, maxResults, }) => {
|
|
957
961
|
return this.getClientInstance()
|
|
@@ -990,12 +994,13 @@ class IssuesService extends CommonHttpService_1.CommonHttpService {
|
|
|
990
994
|
*
|
|
991
995
|
* @returns Returned if the request is successful.
|
|
992
996
|
*
|
|
993
|
-
* example:
|
|
997
|
+
* example:
|
|
998
|
+
* ```
|
|
999
|
+
* {
|
|
994
1000
|
* "issueTypes": [
|
|
995
1001
|
* {
|
|
996
1002
|
* "description": "An error in the code",
|
|
997
|
-
* "iconUrl":
|
|
998
|
-
* "https://your-domain.atlassian.net/images/icons/issuetypes/bug.png",
|
|
1003
|
+
* "iconUrl": "https://your-domain.atlassian.net/images/icons/issuetypes/bug.png",
|
|
999
1004
|
* "id": "1",
|
|
1000
1005
|
* "name": "Bug",
|
|
1001
1006
|
* "self": "https://your-domain.atlassian.net/rest/api/3/issueType/1",
|
|
@@ -1006,10 +1011,12 @@ class IssuesService extends CommonHttpService_1.CommonHttpService {
|
|
|
1006
1011
|
* "startAt": 0,
|
|
1007
1012
|
* "total": 1
|
|
1008
1013
|
* }
|
|
1009
|
-
*
|
|
1014
|
+
* ```
|
|
1015
|
+
* @path GET `/rest/api/3/issue/createmeta/{projectIdOrKey}/issuetypes`
|
|
1010
1016
|
* @scopes-current read:jira-work
|
|
1011
1017
|
* @scopes-beta read:issue-meta:jira, read:avatar:jira, read:field-configuration:jira
|
|
1012
1018
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues#api-rest-api-3-issue-createmeta-projectidorkey-issuetypes-get
|
|
1019
|
+
* @param params
|
|
1013
1020
|
*/
|
|
1014
1021
|
this.getCreateIssueMetaIssueTypes = ({ projectIdOrKey, startAt, maxResults, }) => {
|
|
1015
1022
|
return this.getClientInstance()
|
|
@@ -1099,7 +1106,9 @@ class IssuesService extends CommonHttpService_1.CommonHttpService {
|
|
|
1099
1106
|
*
|
|
1100
1107
|
* @returns Returned if the request is successful.
|
|
1101
1108
|
*
|
|
1102
|
-
* example:
|
|
1109
|
+
* example:
|
|
1110
|
+
* ```
|
|
1111
|
+
* {
|
|
1103
1112
|
* "fields": {
|
|
1104
1113
|
* "summary": {
|
|
1105
1114
|
* "allowedValues": [
|
|
@@ -1116,8 +1125,7 @@ class IssuesService extends CommonHttpService_1.CommonHttpService {
|
|
|
1116
1125
|
* ],
|
|
1117
1126
|
* "required": false,
|
|
1118
1127
|
* "schema": {
|
|
1119
|
-
* "custom":
|
|
1120
|
-
* "com.atlassian.jira.plugin.system.customfieldtypes:multiselect",
|
|
1128
|
+
* "custom": "com.atlassian.jira.plugin.system.customfieldtypes:multiselect",
|
|
1121
1129
|
* "customId": 10001,
|
|
1122
1130
|
* "items": "option",
|
|
1123
1131
|
* "type": "array"
|
|
@@ -1125,10 +1133,12 @@ class IssuesService extends CommonHttpService_1.CommonHttpService {
|
|
|
1125
1133
|
* }
|
|
1126
1134
|
* }
|
|
1127
1135
|
* }
|
|
1128
|
-
*
|
|
1136
|
+
* ```
|
|
1137
|
+
* @path GET `/rest/api/3/issue/{issueIdOrKey}/editmeta`
|
|
1129
1138
|
* @scopes-current read:jira-work
|
|
1130
1139
|
* @scopes-beta read:issue-meta:jira, read:field-configuration:jira
|
|
1131
1140
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues#api-rest-api-3-issue-issueidorkey-editmeta-get
|
|
1141
|
+
* @param params
|
|
1132
1142
|
*/
|
|
1133
1143
|
this.getEditIssueMeta = ({ issueIdOrKey, overrideScreenSecurity, overrideEditableFlag, }) => {
|
|
1134
1144
|
return this.getClientInstance()
|
|
@@ -1160,7 +1170,9 @@ class IssuesService extends CommonHttpService_1.CommonHttpService {
|
|
|
1160
1170
|
*
|
|
1161
1171
|
* @returns Returned if the request is successful.
|
|
1162
1172
|
*
|
|
1163
|
-
* example:
|
|
1173
|
+
* example:
|
|
1174
|
+
* ```
|
|
1175
|
+
* [
|
|
1164
1176
|
* {
|
|
1165
1177
|
* "id": 1,
|
|
1166
1178
|
* "name": "Issue Created"
|
|
@@ -1170,7 +1182,8 @@ class IssuesService extends CommonHttpService_1.CommonHttpService {
|
|
|
1170
1182
|
* "name": "Issue Updated"
|
|
1171
1183
|
* }
|
|
1172
1184
|
* ]
|
|
1173
|
-
*
|
|
1185
|
+
* ```
|
|
1186
|
+
* @path GET `/rest/api/3/events`
|
|
1174
1187
|
* @scopes-current manage:jira-configuration
|
|
1175
1188
|
* @scopes-beta read:issue-event:jira
|
|
1176
1189
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues#api-rest-api-3-events-get
|
|
@@ -1211,22 +1224,14 @@ class IssuesService extends CommonHttpService_1.CommonHttpService {
|
|
|
1211
1224
|
*
|
|
1212
1225
|
* @returns Returned if the request is successful.
|
|
1213
1226
|
*
|
|
1214
|
-
* example:
|
|
1227
|
+
* example:
|
|
1228
|
+
* ```
|
|
1229
|
+
* {
|
|
1215
1230
|
* "fields": {
|
|
1216
1231
|
* "watcher": {
|
|
1217
1232
|
* "isWatching": false,
|
|
1218
|
-
* "self":
|
|
1219
|
-
*
|
|
1220
|
-
* "watchCount": 1,
|
|
1221
|
-
* "watchers": [
|
|
1222
|
-
* {
|
|
1223
|
-
* "accountId": "5b10a2844c20165700ede21g",
|
|
1224
|
-
* "active": false,
|
|
1225
|
-
* "displayName": "Mia Krystof",
|
|
1226
|
-
* "self":
|
|
1227
|
-
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
1228
|
-
* }
|
|
1229
|
-
* ]
|
|
1233
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/issue/EX-1/watchers",
|
|
1234
|
+
* "watchCount": 1
|
|
1230
1235
|
* },
|
|
1231
1236
|
* "attachment": [
|
|
1232
1237
|
* {
|
|
@@ -1235,32 +1240,24 @@ class IssuesService extends CommonHttpService_1.CommonHttpService {
|
|
|
1235
1240
|
* "accountType": "atlassian",
|
|
1236
1241
|
* "active": false,
|
|
1237
1242
|
* "avatarUrls": {
|
|
1238
|
-
* "16x16":
|
|
1239
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
1240
|
-
* "
|
|
1241
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
1242
|
-
* "32x32":
|
|
1243
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
1244
|
-
* "48x48":
|
|
1245
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
1243
|
+
* "16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
1244
|
+
* "24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
1245
|
+
* "32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
1246
|
+
* "48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
1246
1247
|
* },
|
|
1247
1248
|
* "displayName": "Mia Krystof",
|
|
1248
1249
|
* "key": "",
|
|
1249
1250
|
* "name": "",
|
|
1250
|
-
* "self":
|
|
1251
|
-
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
1251
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
1252
1252
|
* },
|
|
1253
|
-
* "content":
|
|
1254
|
-
* "https://your-domain.atlassian.net/jira/rest/api/3/attachment/content/10000",
|
|
1253
|
+
* "content": "https://your-domain.atlassian.net/jira/rest/api/3/attachment/content/10000",
|
|
1255
1254
|
* "created": "2022-10-06T07:32:47.000+0000",
|
|
1256
1255
|
* "filename": "picture.jpg",
|
|
1257
1256
|
* "id": 10000,
|
|
1258
1257
|
* "mimeType": "image/jpeg",
|
|
1259
|
-
* "self":
|
|
1260
|
-
* "https://your-domain.atlassian.net/rest/api/3/attachments/10000",
|
|
1258
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/attachments/10000",
|
|
1261
1259
|
* "size": 23123,
|
|
1262
|
-
* "thumbnail":
|
|
1263
|
-
* "https://your-domain.atlassian.net/jira/rest/api/3/attachment/thumbnail/10000"
|
|
1260
|
+
* "thumbnail": "https://your-domain.atlassian.net/jira/rest/api/3/attachment/thumbnail/10000"
|
|
1264
1261
|
* }
|
|
1265
1262
|
* ],
|
|
1266
1263
|
* "sub-tasks": [
|
|
@@ -1269,8 +1266,7 @@ class IssuesService extends CommonHttpService_1.CommonHttpService {
|
|
|
1269
1266
|
* "outwardIssue": {
|
|
1270
1267
|
* "fields": {
|
|
1271
1268
|
* "status": {
|
|
1272
|
-
* "iconUrl":
|
|
1273
|
-
* "https://your-domain.atlassian.net/images/icons/statuses/open.png",
|
|
1269
|
+
* "iconUrl": "https://your-domain.atlassian.net/images/icons/statuses/open.png",
|
|
1274
1270
|
* "name": "Open"
|
|
1275
1271
|
* }
|
|
1276
1272
|
* },
|
|
@@ -1303,14 +1299,10 @@ class IssuesService extends CommonHttpService_1.CommonHttpService {
|
|
|
1303
1299
|
* },
|
|
1304
1300
|
* "project": {
|
|
1305
1301
|
* "avatarUrls": {
|
|
1306
|
-
* "16x16":
|
|
1307
|
-
* "https://your-domain.atlassian.net/secure/projectavatar?size=
|
|
1308
|
-
* "
|
|
1309
|
-
* "https://your-domain.atlassian.net/secure/projectavatar?size=
|
|
1310
|
-
* "32x32":
|
|
1311
|
-
* "https://your-domain.atlassian.net/secure/projectavatar?size=medium&pid=10000",
|
|
1312
|
-
* "48x48":
|
|
1313
|
-
* "https://your-domain.atlassian.net/secure/projectavatar?size=large&pid=10000"
|
|
1302
|
+
* "16x16": "https://your-domain.atlassian.net/secure/projectavatar?size=xsmall&pid=10000",
|
|
1303
|
+
* "24x24": "https://your-domain.atlassian.net/secure/projectavatar?size=small&pid=10000",
|
|
1304
|
+
* "32x32": "https://your-domain.atlassian.net/secure/projectavatar?size=medium&pid=10000",
|
|
1305
|
+
* "48x48": "https://your-domain.atlassian.net/secure/projectavatar?size=large&pid=10000"
|
|
1314
1306
|
* },
|
|
1315
1307
|
* "id": "10000",
|
|
1316
1308
|
* "insight": {
|
|
@@ -1323,8 +1315,7 @@ class IssuesService extends CommonHttpService_1.CommonHttpService {
|
|
|
1323
1315
|
* "description": "First Project Category",
|
|
1324
1316
|
* "id": "10000",
|
|
1325
1317
|
* "name": "FIRST",
|
|
1326
|
-
* "self":
|
|
1327
|
-
* "https://your-domain.atlassian.net/rest/api/3/projectCategory/10000"
|
|
1318
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/projectCategory/10000"
|
|
1328
1319
|
* },
|
|
1329
1320
|
* "self": "https://your-domain.atlassian.net/rest/api/3/project/EX",
|
|
1330
1321
|
* "simplified": false,
|
|
@@ -1336,8 +1327,7 @@ class IssuesService extends CommonHttpService_1.CommonHttpService {
|
|
|
1336
1327
|
* "accountId": "5b10a2844c20165700ede21g",
|
|
1337
1328
|
* "active": false,
|
|
1338
1329
|
* "displayName": "Mia Krystof",
|
|
1339
|
-
* "self":
|
|
1340
|
-
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
1330
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
1341
1331
|
* },
|
|
1342
1332
|
* "body": {
|
|
1343
1333
|
* "type": "doc",
|
|
@@ -1348,9 +1338,7 @@ class IssuesService extends CommonHttpService_1.CommonHttpService {
|
|
|
1348
1338
|
* "content": [
|
|
1349
1339
|
* {
|
|
1350
1340
|
* "type": "text",
|
|
1351
|
-
* "text": "Lorem ipsum dolor sit amet, consectetur adipiscing
|
|
1352
|
-
* elit. Pellentesque eget venenatis elit. Duis eu justo eget augue iaculis
|
|
1353
|
-
* fermentum. Sed semper quam laoreet nisi egestas at posuere augue semper."
|
|
1341
|
+
* "text": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque eget venenatis elit. Duis eu justo eget augue iaculis fermentum. Sed semper quam laoreet nisi egestas at posuere augue semper."
|
|
1354
1342
|
* }
|
|
1355
1343
|
* ]
|
|
1356
1344
|
* }
|
|
@@ -1358,14 +1346,12 @@ class IssuesService extends CommonHttpService_1.CommonHttpService {
|
|
|
1358
1346
|
* },
|
|
1359
1347
|
* "created": "2021-01-17T12:34:00.000+0000",
|
|
1360
1348
|
* "id": "10000",
|
|
1361
|
-
* "self":
|
|
1362
|
-
* "https://your-domain.atlassian.net/rest/api/3/issue/10010/comment/10000",
|
|
1349
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/issue/10010/comment/10000",
|
|
1363
1350
|
* "updateAuthor": {
|
|
1364
1351
|
* "accountId": "5b10a2844c20165700ede21g",
|
|
1365
1352
|
* "active": false,
|
|
1366
1353
|
* "displayName": "Mia Krystof",
|
|
1367
|
-
* "self":
|
|
1368
|
-
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
1354
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
1369
1355
|
* },
|
|
1370
1356
|
* "updated": "2021-01-18T23:45:00.000+0000",
|
|
1371
1357
|
* "visibility": {
|
|
@@ -1381,8 +1367,7 @@ class IssuesService extends CommonHttpService_1.CommonHttpService {
|
|
|
1381
1367
|
* "outwardIssue": {
|
|
1382
1368
|
* "fields": {
|
|
1383
1369
|
* "status": {
|
|
1384
|
-
* "iconUrl":
|
|
1385
|
-
* "https://your-domain.atlassian.net/images/icons/statuses/open.png",
|
|
1370
|
+
* "iconUrl": "https://your-domain.atlassian.net/images/icons/statuses/open.png",
|
|
1386
1371
|
* "name": "Open"
|
|
1387
1372
|
* }
|
|
1388
1373
|
* },
|
|
@@ -1402,8 +1387,7 @@ class IssuesService extends CommonHttpService_1.CommonHttpService {
|
|
|
1402
1387
|
* "inwardIssue": {
|
|
1403
1388
|
* "fields": {
|
|
1404
1389
|
* "status": {
|
|
1405
|
-
* "iconUrl":
|
|
1406
|
-
* "https://your-domain.atlassian.net/images/icons/statuses/open.png",
|
|
1390
|
+
* "iconUrl": "https://your-domain.atlassian.net/images/icons/statuses/open.png",
|
|
1407
1391
|
* "name": "Open"
|
|
1408
1392
|
* }
|
|
1409
1393
|
* },
|
|
@@ -1425,8 +1409,7 @@ class IssuesService extends CommonHttpService_1.CommonHttpService {
|
|
|
1425
1409
|
* "accountId": "5b10a2844c20165700ede21g",
|
|
1426
1410
|
* "active": false,
|
|
1427
1411
|
* "displayName": "Mia Krystof",
|
|
1428
|
-
* "self":
|
|
1429
|
-
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
1412
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
1430
1413
|
* },
|
|
1431
1414
|
* "comment": {
|
|
1432
1415
|
* "type": "doc",
|
|
@@ -1445,8 +1428,7 @@ class IssuesService extends CommonHttpService_1.CommonHttpService {
|
|
|
1445
1428
|
* },
|
|
1446
1429
|
* "id": "100028",
|
|
1447
1430
|
* "issueId": "10002",
|
|
1448
|
-
* "self":
|
|
1449
|
-
* "https://your-domain.atlassian.net/rest/api/3/issue/10010/worklog/10000",
|
|
1431
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/issue/10010/worklog/10000",
|
|
1450
1432
|
* "started": "2021-01-17T12:34:00.000+0000",
|
|
1451
1433
|
* "timeSpent": "3h 20m",
|
|
1452
1434
|
* "timeSpentSeconds": 12000,
|
|
@@ -1454,8 +1436,7 @@ class IssuesService extends CommonHttpService_1.CommonHttpService {
|
|
|
1454
1436
|
* "accountId": "5b10a2844c20165700ede21g",
|
|
1455
1437
|
* "active": false,
|
|
1456
1438
|
* "displayName": "Mia Krystof",
|
|
1457
|
-
* "self":
|
|
1458
|
-
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
1439
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
1459
1440
|
* },
|
|
1460
1441
|
* "updated": "2021-01-18T23:45:00.000+0000",
|
|
1461
1442
|
* "visibility": {
|
|
@@ -1479,12 +1460,12 @@ class IssuesService extends CommonHttpService_1.CommonHttpService {
|
|
|
1479
1460
|
* "key": "ED-1",
|
|
1480
1461
|
* "self": "https://your-domain.atlassian.net/rest/api/3/issue/10002"
|
|
1481
1462
|
* }
|
|
1482
|
-
*
|
|
1463
|
+
* ```
|
|
1464
|
+
* @path GET `/rest/api/3/issue/{issueIdOrKey}`
|
|
1483
1465
|
* @scopes-current read:jira-work
|
|
1484
|
-
* @scopes-beta read:issue-meta:jira, read:issue-security-level:jira, read:issue.vote:jira,
|
|
1485
|
-
* read:issue.changelog:jira, read:avatar:jira, read:issue:jira, read:status:jira,
|
|
1486
|
-
* read:user:jira, read:field-configuration:jira
|
|
1466
|
+
* @scopes-beta read:issue-meta:jira, read:issue-security-level:jira, read:issue.vote:jira, read:issue.changelog:jira, read:avatar:jira, read:issue:jira, read:status:jira, read:user:jira, read:field-configuration:jira
|
|
1487
1467
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues#api-rest-api-3-issue-issueidorkey-get
|
|
1468
|
+
* @param params
|
|
1488
1469
|
*/
|
|
1489
1470
|
this.getIssue = ({ issueIdOrKey, fields, fieldsByKeys, expand, properties, updateHistory, failFast, }) => {
|
|
1490
1471
|
return this.getClientInstance()
|
|
@@ -1525,42 +1506,44 @@ class IssuesService extends CommonHttpService_1.CommonHttpService {
|
|
|
1525
1506
|
*
|
|
1526
1507
|
* @returns Returned if the request is successful.
|
|
1527
1508
|
*
|
|
1528
|
-
* example:
|
|
1509
|
+
* example:
|
|
1510
|
+
* ```
|
|
1511
|
+
* {
|
|
1529
1512
|
* "issuesApproachingLimit": {
|
|
1530
1513
|
* "attachment": {
|
|
1531
|
-
* "
|
|
1532
|
-
* "
|
|
1514
|
+
* "15070L": 1822,
|
|
1515
|
+
* "15111L": 1999
|
|
1533
1516
|
* },
|
|
1534
1517
|
* "comment": {
|
|
1535
|
-
* "
|
|
1536
|
-
* "
|
|
1537
|
-
* "
|
|
1518
|
+
* "10000L": 4997,
|
|
1519
|
+
* "15073L": 4999,
|
|
1520
|
+
* "15110L": 5000
|
|
1538
1521
|
* },
|
|
1539
1522
|
* "remoteIssueLinks": {
|
|
1540
|
-
* "
|
|
1523
|
+
* "15107L": 2000
|
|
1541
1524
|
* },
|
|
1542
1525
|
* "worklog": {
|
|
1543
|
-
* "
|
|
1526
|
+
* "15101L": 4342
|
|
1544
1527
|
* }
|
|
1545
1528
|
* },
|
|
1546
1529
|
* "issuesBreachingLimit": {
|
|
1547
1530
|
* "attachment": {
|
|
1548
|
-
* "
|
|
1549
|
-
* "
|
|
1550
|
-
* "
|
|
1531
|
+
* "15057L": 2005,
|
|
1532
|
+
* "15116L": 2065,
|
|
1533
|
+
* "15117L": 3005
|
|
1551
1534
|
* },
|
|
1552
1535
|
* "comment": {
|
|
1553
|
-
* "
|
|
1536
|
+
* "15055L": 5202
|
|
1554
1537
|
* },
|
|
1555
1538
|
* "issuelinks": {
|
|
1556
|
-
* "
|
|
1539
|
+
* "15058L": 2120
|
|
1557
1540
|
* },
|
|
1558
1541
|
* "remoteIssueLinks": {
|
|
1559
|
-
* "
|
|
1542
|
+
* "15059L": 2094
|
|
1560
1543
|
* },
|
|
1561
1544
|
* "worklog": {
|
|
1562
|
-
* "
|
|
1563
|
-
* "
|
|
1545
|
+
* "15056L": 5085,
|
|
1546
|
+
* "15169L": 120864
|
|
1564
1547
|
* }
|
|
1565
1548
|
* },
|
|
1566
1549
|
* "limits": {
|
|
@@ -1571,16 +1554,21 @@ class IssuesService extends CommonHttpService_1.CommonHttpService {
|
|
|
1571
1554
|
* "worklog": 5000
|
|
1572
1555
|
* }
|
|
1573
1556
|
* }
|
|
1574
|
-
*
|
|
1557
|
+
* ```
|
|
1558
|
+
* @path GET `/rest/api/3/issue/limit/report`
|
|
1575
1559
|
* @scopes-current read:jira-work
|
|
1576
1560
|
* @scopes-beta read:project:jira, read:issue:jira
|
|
1577
1561
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues#api-rest-api-3-issue-limit-report-get
|
|
1562
|
+
* @param params
|
|
1578
1563
|
*/
|
|
1579
|
-
this.getIssueLimitReport = ({ issueLimitReportRequest, }) => {
|
|
1564
|
+
this.getIssueLimitReport = ({ isReturningKeys, issueLimitReportRequest, }) => {
|
|
1580
1565
|
return this.getClientInstance()
|
|
1581
1566
|
.request({
|
|
1582
1567
|
path: "/rest/api/3/issue/limit/report",
|
|
1583
1568
|
method: "GET",
|
|
1569
|
+
query: {
|
|
1570
|
+
isReturningKeys,
|
|
1571
|
+
},
|
|
1584
1572
|
headers: {
|
|
1585
1573
|
"Content-Type": "application/json",
|
|
1586
1574
|
},
|
|
@@ -1620,7 +1608,9 @@ class IssuesService extends CommonHttpService_1.CommonHttpService {
|
|
|
1620
1608
|
*
|
|
1621
1609
|
* @returns Returned if the request is successful.
|
|
1622
1610
|
*
|
|
1623
|
-
* example:
|
|
1611
|
+
* example:
|
|
1612
|
+
* ```
|
|
1613
|
+
* {
|
|
1624
1614
|
* "transitions": [
|
|
1625
1615
|
* {
|
|
1626
1616
|
* "fields": {
|
|
@@ -1639,8 +1629,7 @@ class IssuesService extends CommonHttpService_1.CommonHttpService {
|
|
|
1639
1629
|
* ],
|
|
1640
1630
|
* "required": false,
|
|
1641
1631
|
* "schema": {
|
|
1642
|
-
* "custom":
|
|
1643
|
-
* "com.atlassian.jira.plugin.system.customfieldtypes:multiselect",
|
|
1632
|
+
* "custom": "com.atlassian.jira.plugin.system.customfieldtypes:multiselect",
|
|
1644
1633
|
* "customId": 10001,
|
|
1645
1634
|
* "items": "option",
|
|
1646
1635
|
* "type": "array"
|
|
@@ -1656,8 +1645,7 @@ class IssuesService extends CommonHttpService_1.CommonHttpService {
|
|
|
1656
1645
|
* "name": "Close Issue",
|
|
1657
1646
|
* "to": {
|
|
1658
1647
|
* "description": "The issue is currently being worked on.",
|
|
1659
|
-
* "iconUrl":
|
|
1660
|
-
* "https://your-domain.atlassian.net/images/icons/progress.gif",
|
|
1648
|
+
* "iconUrl": "https://your-domain.atlassian.net/images/icons/progress.gif",
|
|
1661
1649
|
* "id": "10000",
|
|
1662
1650
|
* "name": "In Progress",
|
|
1663
1651
|
* "self": "https://your-domain.atlassian.net/rest/api/3/status/10000",
|
|
@@ -1666,8 +1654,7 @@ class IssuesService extends CommonHttpService_1.CommonHttpService {
|
|
|
1666
1654
|
* "id": 1,
|
|
1667
1655
|
* "key": "in-flight",
|
|
1668
1656
|
* "name": "In Progress",
|
|
1669
|
-
* "self":
|
|
1670
|
-
* "https://your-domain.atlassian.net/rest/api/3/statuscategory/1"
|
|
1657
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/statuscategory/1"
|
|
1671
1658
|
* }
|
|
1672
1659
|
* }
|
|
1673
1660
|
* },
|
|
@@ -1688,8 +1675,7 @@ class IssuesService extends CommonHttpService_1.CommonHttpService {
|
|
|
1688
1675
|
* ],
|
|
1689
1676
|
* "required": false,
|
|
1690
1677
|
* "schema": {
|
|
1691
|
-
* "custom":
|
|
1692
|
-
* "com.atlassian.jira.plugin.system.customfieldtypes:multiselect",
|
|
1678
|
+
* "custom": "com.atlassian.jira.plugin.system.customfieldtypes:multiselect",
|
|
1693
1679
|
* "customId": 10001,
|
|
1694
1680
|
* "items": "option",
|
|
1695
1681
|
* "type": "array"
|
|
@@ -1710,8 +1696,7 @@ class IssuesService extends CommonHttpService_1.CommonHttpService {
|
|
|
1710
1696
|
* ],
|
|
1711
1697
|
* "required": false,
|
|
1712
1698
|
* "schema": {
|
|
1713
|
-
* "custom":
|
|
1714
|
-
* "com.atlassian.jira.plugin.system.customfieldtypes:multiselect",
|
|
1699
|
+
* "custom": "com.atlassian.jira.plugin.system.customfieldtypes:multiselect",
|
|
1715
1700
|
* "customId": 10001,
|
|
1716
1701
|
* "items": "option",
|
|
1717
1702
|
* "type": "array"
|
|
@@ -1731,17 +1716,18 @@ class IssuesService extends CommonHttpService_1.CommonHttpService {
|
|
|
1731
1716
|
* "colorName": "green",
|
|
1732
1717
|
* "id": 9,
|
|
1733
1718
|
* "key": "completed",
|
|
1734
|
-
* "self":
|
|
1735
|
-
* "https://your-domain.atlassian.net/rest/api/3/statuscategory/9"
|
|
1719
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/statuscategory/9"
|
|
1736
1720
|
* }
|
|
1737
1721
|
* }
|
|
1738
1722
|
* }
|
|
1739
1723
|
* ]
|
|
1740
1724
|
* }
|
|
1741
|
-
*
|
|
1725
|
+
* ```
|
|
1726
|
+
* @path GET `/rest/api/3/issue/{issueIdOrKey}/transitions`
|
|
1742
1727
|
* @scopes-current read:jira-work
|
|
1743
1728
|
* @scopes-beta read:issue.transition:jira, read:status:jira, read:field-configuration:jira
|
|
1744
1729
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues#api-rest-api-3-issue-issueidorkey-transitions-get
|
|
1730
|
+
* @param params
|
|
1745
1731
|
*/
|
|
1746
1732
|
this.getTransitions = ({ issueIdOrKey, expand, transitionId, skipRemoteOnlyCondition, includeUnavailableTransitions, sortByOpsBarAndStatus, }) => {
|
|
1747
1733
|
return this.getClientInstance()
|
|
@@ -1780,10 +1766,11 @@ class IssuesService extends CommonHttpService_1.CommonHttpService {
|
|
|
1780
1766
|
* configured, issue-level security permission to view the issue.
|
|
1781
1767
|
*
|
|
1782
1768
|
* @returns Returned if the email is queued for sending.
|
|
1783
|
-
* @path
|
|
1769
|
+
* @path POST `/rest/api/3/issue/{issueIdOrKey}/notify`
|
|
1784
1770
|
* @scopes-current write:jira-work
|
|
1785
1771
|
* @scopes-beta send:notification:jira
|
|
1786
1772
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues#api-rest-api-3-issue-issueidorkey-notify-post
|
|
1773
|
+
* @param params
|
|
1787
1774
|
*/
|
|
1788
1775
|
this.notify = ({ issueIdOrKey, notification, }) => {
|
|
1789
1776
|
return this.getClientInstance()
|
|
@@ -1825,12 +1812,11 @@ class IssuesService extends CommonHttpService_1.CommonHttpService {
|
|
|
1825
1812
|
*
|
|
1826
1813
|
* **Signed-in users only:** This API can't be accessed anonymously.
|
|
1827
1814
|
*
|
|
1828
|
-
* @returns Returned if there is at least one valid issue to unarchive in the request. It
|
|
1829
|
-
* will return the count of unarchived issues, which also includes the count of
|
|
1830
|
-
* the subtasks unarchived, and it will show the detailed errors for those issues
|
|
1831
|
-
* which are not unarchived.
|
|
1815
|
+
* @returns Returned if there is at least one valid issue to unarchive in the request. It will return the count of unarchived issues, which also includes the count of the subtasks unarchived, and it will show the detailed errors for those issues which are not unarchived.
|
|
1832
1816
|
*
|
|
1833
|
-
* example:
|
|
1817
|
+
* example:
|
|
1818
|
+
* ```
|
|
1819
|
+
* {
|
|
1834
1820
|
* "errors": {
|
|
1835
1821
|
* "issueIsSubtask": {
|
|
1836
1822
|
* "count": 3,
|
|
@@ -1861,10 +1847,12 @@ class IssuesService extends CommonHttpService_1.CommonHttpService {
|
|
|
1861
1847
|
* },
|
|
1862
1848
|
* "numberOfIssuesUpdated": 10
|
|
1863
1849
|
* }
|
|
1864
|
-
*
|
|
1850
|
+
* ```
|
|
1851
|
+
* @path PUT `/rest/api/3/issue/unarchive`
|
|
1865
1852
|
* @scopes-current write:jira-work
|
|
1866
1853
|
* @scopes-beta write:issue:jira
|
|
1867
1854
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues#api-rest-api-3-issue-unarchive-put
|
|
1855
|
+
* @param params
|
|
1868
1856
|
*/
|
|
1869
1857
|
this.unarchiveIssues = ({ issueArchivalSyncRequest, }) => {
|
|
1870
1858
|
return this.getClientInstance()
|