@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,5 +1,5 @@
|
|
|
1
|
-
import * as commonHttpClient from "
|
|
2
|
-
import { CommonHttpService } from "
|
|
1
|
+
import * as commonHttpClient from "../../core/CommonHttpClient";
|
|
2
|
+
import { CommonHttpService } from "../../core/CommonHttpService";
|
|
3
3
|
import { type IssueBean, type User } from "../models/common";
|
|
4
4
|
import { type ArchivedIssuesFilterRequest, type ArchiveIssueAsyncRequest, type CreatedIssue, type CreatedIssues, type ExportArchivedIssuesTaskProgressResponse, type IssueArchivalSyncRequest, type IssueArchivalSyncResponse, type IssueChangelogIds, type IssueCreateMetadata, type IssueEvent, type IssueLimitReportRequest, type IssueLimitReportResponseBean, type IssuesUpdateBean, type IssueUpdateDetails, type IssueUpdateMetadata, type Notification, type PageBeanChangelog, type PageOfChangelogs, type PageOfCreateMetaIssueTypes, type PageOfCreateMetaIssueTypeWithField, type Transitions } from "../models/issues";
|
|
5
5
|
/**
|
|
@@ -38,11 +38,11 @@ export declare class IssuesService extends CommonHttpService {
|
|
|
38
38
|
*
|
|
39
39
|
* **Signed-in users only:** This API can't be accessed anonymously.
|
|
40
40
|
*
|
|
41
|
-
* @returns Returned if there is at least one valid issue to archive in the request. The
|
|
42
|
-
* return message will include the count of archived issues and subtasks, as well
|
|
43
|
-
* as error details for issues which failed to get archived.
|
|
41
|
+
* @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.
|
|
44
42
|
*
|
|
45
|
-
* example:
|
|
43
|
+
* example:
|
|
44
|
+
* ```
|
|
45
|
+
* {
|
|
46
46
|
* "errors": {
|
|
47
47
|
* "issueIsSubtask": {
|
|
48
48
|
* "count": 3,
|
|
@@ -82,16 +82,19 @@ export declare class IssuesService extends CommonHttpService {
|
|
|
82
82
|
* },
|
|
83
83
|
* "numberOfIssuesUpdated": 10
|
|
84
84
|
* }
|
|
85
|
-
*
|
|
85
|
+
* ```
|
|
86
|
+
* @path PUT `/rest/api/3/issue/archive`
|
|
86
87
|
* @scopes-current write:jira-work
|
|
87
88
|
* @scopes-beta write:issue:jira
|
|
88
89
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues#api-rest-api-3-issue-archive-put
|
|
90
|
+
* @param params
|
|
89
91
|
*/
|
|
90
92
|
archiveIssues: ({ issueArchivalSyncRequest, }: {
|
|
91
93
|
/**
|
|
92
94
|
* Contains a list of issue keys or IDs to be archived.
|
|
93
95
|
*
|
|
94
|
-
* @example
|
|
96
|
+
* @example
|
|
97
|
+
* {
|
|
95
98
|
* "issueIdsOrKeys": [
|
|
96
99
|
* "PR-1",
|
|
97
100
|
* "1001",
|
|
@@ -129,18 +132,23 @@ export declare class IssuesService extends CommonHttpService {
|
|
|
129
132
|
*
|
|
130
133
|
* @returns Returns the URL to check the status of the submitted request.
|
|
131
134
|
*
|
|
132
|
-
* example:
|
|
133
|
-
*
|
|
135
|
+
* example:
|
|
136
|
+
* ```
|
|
137
|
+
* "https://your-domain.atlassian.net/rest/api/3/task/1010"
|
|
138
|
+
* ```
|
|
139
|
+
* @path POST `/rest/api/3/issue/archive`
|
|
134
140
|
* @scopes-current write:jira-work
|
|
135
141
|
* @scopes-beta write:issue:jira
|
|
136
142
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues#api-rest-api-3-issue-archive-post
|
|
143
|
+
* @param params
|
|
137
144
|
*/
|
|
138
145
|
archiveIssuesAsync: ({ archiveIssueAsyncRequest, }: {
|
|
139
146
|
/**
|
|
140
147
|
* A JQL query specifying the issues to archive. Note that subtasks can only be
|
|
141
148
|
* archived through their parent issues.
|
|
142
149
|
*
|
|
143
|
-
* @example
|
|
150
|
+
* @example
|
|
151
|
+
* {
|
|
144
152
|
* "jql": "project = FOO AND updated < -2y"
|
|
145
153
|
* }
|
|
146
154
|
*/
|
|
@@ -167,10 +175,11 @@ export declare class IssuesService extends CommonHttpService {
|
|
|
167
175
|
* configured, issue-level security permission to view the issue.
|
|
168
176
|
*
|
|
169
177
|
* @returns Returned if the request is successful.
|
|
170
|
-
* @path
|
|
178
|
+
* @path PUT `/rest/api/3/issue/{issueIdOrKey}/assignee`
|
|
171
179
|
* @scopes-current write:jira-work
|
|
172
180
|
* @scopes-beta write:issue:jira
|
|
173
181
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues#api-rest-api-3-issue-issueidorkey-assignee-put
|
|
182
|
+
* @param params
|
|
174
183
|
*/
|
|
175
184
|
assignIssue: ({ issueIdOrKey, user, }: {
|
|
176
185
|
/** The ID or key of the issue to be assigned. */
|
|
@@ -178,7 +187,8 @@ export declare class IssuesService extends CommonHttpService {
|
|
|
178
187
|
/**
|
|
179
188
|
* The request object with the user that the issue is assigned to.
|
|
180
189
|
*
|
|
181
|
-
* @example
|
|
190
|
+
* @example
|
|
191
|
+
* {
|
|
182
192
|
* "accountId": "5b10ac8d82e05b22cc7d4ef5"
|
|
183
193
|
* }
|
|
184
194
|
*/
|
|
@@ -213,7 +223,9 @@ export declare class IssuesService extends CommonHttpService {
|
|
|
213
223
|
*
|
|
214
224
|
* @returns Returned if the request is successful.
|
|
215
225
|
*
|
|
216
|
-
* example:
|
|
226
|
+
* example:
|
|
227
|
+
* ```
|
|
228
|
+
* {
|
|
217
229
|
* "id": "10000",
|
|
218
230
|
* "key": "ED-24",
|
|
219
231
|
* "self": "https://your-domain.atlassian.net/rest/api/3/issue/10000",
|
|
@@ -225,11 +237,12 @@ export declare class IssuesService extends CommonHttpService {
|
|
|
225
237
|
* }
|
|
226
238
|
* }
|
|
227
239
|
* }
|
|
228
|
-
*
|
|
240
|
+
* ```
|
|
241
|
+
* @path POST `/rest/api/3/issue`
|
|
229
242
|
* @scopes-current write:jira-work
|
|
230
|
-
* @scopes-beta write:issue:jira, write:comment:jira, write:comment.property:jira,
|
|
231
|
-
* write:attachment:jira, read:issue:jira
|
|
243
|
+
* @scopes-beta write:issue:jira, write:comment:jira, write:comment.property:jira, write:attachment:jira, read:issue:jira
|
|
232
244
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues#api-rest-api-3-issue-post
|
|
245
|
+
* @param params
|
|
233
246
|
*/
|
|
234
247
|
createIssue: ({ updateHistory, issueUpdateDetails, }: {
|
|
235
248
|
/**
|
|
@@ -241,7 +254,8 @@ export declare class IssuesService extends CommonHttpService {
|
|
|
241
254
|
*/
|
|
242
255
|
updateHistory?: boolean | undefined;
|
|
243
256
|
/**
|
|
244
|
-
* @example
|
|
257
|
+
* @example
|
|
258
|
+
* {
|
|
245
259
|
* "fields": {
|
|
246
260
|
* "assignee": {
|
|
247
261
|
* "id": "5b109f2e9729b51b54dc274d"
|
|
@@ -300,8 +314,7 @@ export declare class IssuesService extends CommonHttpService {
|
|
|
300
314
|
* {
|
|
301
315
|
* "content": [
|
|
302
316
|
* {
|
|
303
|
-
* "text": "Order entry fails when selecting
|
|
304
|
-
* supplier.",
|
|
317
|
+
* "text": "Order entry fails when selecting supplier.",
|
|
305
318
|
* "type": "text"
|
|
306
319
|
* }
|
|
307
320
|
* ],
|
|
@@ -394,8 +407,7 @@ export declare class IssuesService extends CommonHttpService {
|
|
|
394
407
|
* [project permissions](https://confluence.atlassian.com/x/yodKLg) for the
|
|
395
408
|
* project in which each issue or subtask is created.
|
|
396
409
|
*
|
|
397
|
-
* @returns Returned if any of the issue or subtask creation requests were successful. A
|
|
398
|
-
* request may be unsuccessful when it:
|
|
410
|
+
* @returns Returned if any of the issue or subtask creation requests were successful. A request may be unsuccessful when it:
|
|
399
411
|
*
|
|
400
412
|
* * is missing required fields.
|
|
401
413
|
* * contains invalid field values.
|
|
@@ -405,7 +417,9 @@ export declare class IssuesService extends CommonHttpService {
|
|
|
405
417
|
* * is for a subtask when the option to create subtasks is disabled.
|
|
406
418
|
* * is invalid for any other reason.
|
|
407
419
|
*
|
|
408
|
-
* example:
|
|
420
|
+
* example:
|
|
421
|
+
* ```
|
|
422
|
+
* {
|
|
409
423
|
* "issues": [
|
|
410
424
|
* {
|
|
411
425
|
* "id": "10000",
|
|
@@ -427,15 +441,17 @@ export declare class IssuesService extends CommonHttpService {
|
|
|
427
441
|
* ],
|
|
428
442
|
* "errors": []
|
|
429
443
|
* }
|
|
430
|
-
*
|
|
444
|
+
* ```
|
|
445
|
+
* @path POST `/rest/api/3/issue/bulk`
|
|
431
446
|
* @scopes-current write:jira-work
|
|
432
|
-
* @scopes-beta write:issue:jira, write:comment:jira, write:comment.property:jira,
|
|
433
|
-
* write:attachment:jira, read:issue:jira
|
|
447
|
+
* @scopes-beta write:issue:jira, write:comment:jira, write:comment.property:jira, write:attachment:jira, read:issue:jira
|
|
434
448
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues#api-rest-api-3-issue-bulk-post
|
|
449
|
+
* @param params
|
|
435
450
|
*/
|
|
436
451
|
createIssues: ({ issuesUpdateBean, }: {
|
|
437
452
|
/**
|
|
438
|
-
* @example
|
|
453
|
+
* @example
|
|
454
|
+
* {
|
|
439
455
|
* "issueUpdates": [
|
|
440
456
|
* {
|
|
441
457
|
* "fields": {
|
|
@@ -496,8 +512,7 @@ export declare class IssuesService extends CommonHttpService {
|
|
|
496
512
|
* {
|
|
497
513
|
* "content": [
|
|
498
514
|
* {
|
|
499
|
-
* "text": "Order entry fails when selecting
|
|
500
|
-
* supplier.",
|
|
515
|
+
* "text": "Order entry fails when selecting supplier.",
|
|
501
516
|
* "type": "text"
|
|
502
517
|
* }
|
|
503
518
|
* ],
|
|
@@ -628,8 +643,7 @@ export declare class IssuesService extends CommonHttpService {
|
|
|
628
643
|
* {
|
|
629
644
|
* "content": [
|
|
630
645
|
* {
|
|
631
|
-
* "text": "Order remains pending after
|
|
632
|
-
* approved.",
|
|
646
|
+
* "text": "Order remains pending after approved.",
|
|
633
647
|
* "type": "text"
|
|
634
648
|
* }
|
|
635
649
|
* ],
|
|
@@ -713,10 +727,11 @@ export declare class IssuesService extends CommonHttpService {
|
|
|
713
727
|
* * If [issue-level security](https://confluence.atlassian.com/x/J4lKLg) is
|
|
714
728
|
* configured, issue-level security permission to view the issue.
|
|
715
729
|
*
|
|
716
|
-
* @path
|
|
730
|
+
* @path DELETE `/rest/api/3/issue/{issueIdOrKey}`
|
|
717
731
|
* @scopes-current write:jira-work
|
|
718
732
|
* @scopes-beta delete:issue:jira
|
|
719
733
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues#api-rest-api-3-issue-issueidorkey-delete
|
|
734
|
+
* @param params
|
|
720
735
|
*/
|
|
721
736
|
deleteIssue: ({ issueIdOrKey, deleteSubtasks, }: {
|
|
722
737
|
/** The ID or key of the issue. */
|
|
@@ -745,16 +760,18 @@ export declare class IssuesService extends CommonHttpService {
|
|
|
745
760
|
* configured, issue-level security permission to view the issue.
|
|
746
761
|
*
|
|
747
762
|
* @returns Returned if the request is successful.
|
|
748
|
-
* @path
|
|
763
|
+
* @path POST `/rest/api/3/issue/{issueIdOrKey}/transitions`
|
|
749
764
|
* @scopes-current write:jira-work
|
|
750
765
|
* @scopes-beta write:issue:jira, write:issue.property:jira
|
|
751
766
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues#api-rest-api-3-issue-issueidorkey-transitions-post
|
|
767
|
+
* @param params
|
|
752
768
|
*/
|
|
753
769
|
doTransition: ({ issueIdOrKey, issueUpdateDetails, }: {
|
|
754
770
|
/** The ID or key of the issue. */
|
|
755
771
|
issueIdOrKey: string;
|
|
756
772
|
/**
|
|
757
|
-
* @example
|
|
773
|
+
* @example
|
|
774
|
+
* {
|
|
758
775
|
* "fields": {
|
|
759
776
|
* "assignee": {
|
|
760
777
|
* "name": "bob"
|
|
@@ -849,18 +866,19 @@ export declare class IssuesService extends CommonHttpService {
|
|
|
849
866
|
* * If [issue-level security](https://confluence.atlassian.com/x/J4lKLg) is
|
|
850
867
|
* configured, issue-level security permission to view the issue.
|
|
851
868
|
*
|
|
852
|
-
* @returns
|
|
869
|
+
* @returns
|
|
870
|
+
* * status: 200, mediaType: application/json
|
|
853
871
|
*
|
|
854
|
-
* Returned if the request is successful and the `returnIssue` parameter is
|
|
855
|
-
* `true`
|
|
872
|
+
* Returned if the request is successful and the `returnIssue` parameter is `true`
|
|
856
873
|
*
|
|
857
874
|
* * status: 204, mediaType: application/json
|
|
858
875
|
*
|
|
859
876
|
* Returned if the request is successful.
|
|
860
|
-
* @path
|
|
877
|
+
* @path PUT `/rest/api/3/issue/{issueIdOrKey}`
|
|
861
878
|
* @scopes-current write:jira-work
|
|
862
879
|
* @scopes-beta write:issue:jira
|
|
863
880
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues#api-rest-api-3-issue-issueidorkey-put
|
|
881
|
+
* @param params
|
|
864
882
|
*/
|
|
865
883
|
editIssue: ({ issueIdOrKey, notifyUsers, overrideScreenSecurity, overrideEditableFlag, returnIssue, expand, issueUpdateDetails, }: {
|
|
866
884
|
/** The ID or key of the issue. */
|
|
@@ -900,7 +918,8 @@ export declare class IssuesService extends CommonHttpService {
|
|
|
900
918
|
*/
|
|
901
919
|
expand?: string | undefined;
|
|
902
920
|
/**
|
|
903
|
-
* @example
|
|
921
|
+
* @example
|
|
922
|
+
* {
|
|
904
923
|
* "fields": {
|
|
905
924
|
* "customfield_10000": {
|
|
906
925
|
* "content": [
|
|
@@ -1012,23 +1031,23 @@ export declare class IssuesService extends CommonHttpService {
|
|
|
1012
1031
|
*
|
|
1013
1032
|
* **Rate limiting:** Only a single request can be active at any given time.
|
|
1014
1033
|
*
|
|
1015
|
-
* @returns Returns the details of your export task. You can use the [get
|
|
1016
|
-
* task](https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-tasks/#api-rest-api-3-task-taskid-get)
|
|
1017
|
-
* API to view the progress of your request.
|
|
1034
|
+
* @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.
|
|
1018
1035
|
*
|
|
1019
|
-
* example:
|
|
1020
|
-
*
|
|
1021
|
-
*
|
|
1022
|
-
* dateBeforeInstant=2023-01-12}, archivedBy=[uuid-rep-001, uuid-rep-002]}",
|
|
1036
|
+
* example:
|
|
1037
|
+
* ```
|
|
1038
|
+
* {
|
|
1039
|
+
* "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]}",
|
|
1023
1040
|
* "progress": 0,
|
|
1024
1041
|
* "status": "ENQUEUED",
|
|
1025
1042
|
* "submittedTime": 1623230887000,
|
|
1026
1043
|
* "taskId": "10990"
|
|
1027
1044
|
* }
|
|
1028
|
-
*
|
|
1045
|
+
* ```
|
|
1046
|
+
* @path PUT `/rest/api/3/issues/archive/export`
|
|
1029
1047
|
* @scopes-current read:jira-work
|
|
1030
1048
|
* @scopes-beta read:issue:jira
|
|
1031
1049
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues#api-rest-api-3-issues-archive-export-put
|
|
1050
|
+
* @param params
|
|
1032
1051
|
*/
|
|
1033
1052
|
exportArchivedIssues: ({ archivedIssuesFilterRequest, }: {
|
|
1034
1053
|
/**
|
|
@@ -1037,7 +1056,8 @@ export declare class IssuesService extends CommonHttpService {
|
|
|
1037
1056
|
* If you don't provide any filters, you'll get a list of up to one million
|
|
1038
1057
|
* archived issues.
|
|
1039
1058
|
*
|
|
1040
|
-
* @example
|
|
1059
|
+
* @example
|
|
1060
|
+
* {
|
|
1041
1061
|
* "archivedBy": [
|
|
1042
1062
|
* "uuid-rep-001",
|
|
1043
1063
|
* "uuid-rep-002"
|
|
@@ -1082,13 +1102,13 @@ export declare class IssuesService extends CommonHttpService {
|
|
|
1082
1102
|
*
|
|
1083
1103
|
* @returns Returned if the request is successful.
|
|
1084
1104
|
*
|
|
1085
|
-
* example:
|
|
1105
|
+
* example:
|
|
1106
|
+
* ```
|
|
1107
|
+
* {
|
|
1086
1108
|
* "isLast": false,
|
|
1087
1109
|
* "maxResults": 2,
|
|
1088
|
-
* "nextPage":
|
|
1089
|
-
* "https://your-domain.atlassian.net/rest/api/3/issue/TT-1/changelog
|
|
1090
|
-
* "self":
|
|
1091
|
-
* "https://your-domain.atlassian.net/rest/api/3/issue/TT-1/changelog?startAt=2&maxResults=2",
|
|
1110
|
+
* "nextPage": "https://your-domain.atlassian.net/rest/api/3/issue/TT-1/changelog?&startAt=4&maxResults=2",
|
|
1111
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/issue/TT-1/changelog?startAt=2&maxResults=2",
|
|
1092
1112
|
* "startAt": 2,
|
|
1093
1113
|
* "total": 5,
|
|
1094
1114
|
* "values": [
|
|
@@ -1097,19 +1117,14 @@ export declare class IssuesService extends CommonHttpService {
|
|
|
1097
1117
|
* "accountId": "5b10a2844c20165700ede21g",
|
|
1098
1118
|
* "active": true,
|
|
1099
1119
|
* "avatarUrls": {
|
|
1100
|
-
* "16x16":
|
|
1101
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
1102
|
-
* "
|
|
1103
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
1104
|
-
* "32x32":
|
|
1105
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
1106
|
-
* "48x48":
|
|
1107
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
1120
|
+
* "16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
1121
|
+
* "24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
1122
|
+
* "32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
1123
|
+
* "48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
1108
1124
|
* },
|
|
1109
1125
|
* "displayName": "Mia Krystof",
|
|
1110
1126
|
* "emailAddress": "mia@example.com",
|
|
1111
|
-
* "self":
|
|
1112
|
-
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g",
|
|
1127
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g",
|
|
1113
1128
|
* "timeZone": "Australia/Sydney"
|
|
1114
1129
|
* },
|
|
1115
1130
|
* "created": "1970-01-18T06:27:50.429+0000",
|
|
@@ -1131,19 +1146,14 @@ export declare class IssuesService extends CommonHttpService {
|
|
|
1131
1146
|
* "accountId": "5b10a2844c20165700ede21g",
|
|
1132
1147
|
* "active": true,
|
|
1133
1148
|
* "avatarUrls": {
|
|
1134
|
-
* "16x16":
|
|
1135
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
1136
|
-
* "
|
|
1137
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
1138
|
-
* "32x32":
|
|
1139
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
1140
|
-
* "48x48":
|
|
1141
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
1149
|
+
* "16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
1150
|
+
* "24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
1151
|
+
* "32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
1152
|
+
* "48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
1142
1153
|
* },
|
|
1143
1154
|
* "displayName": "Mia Krystof",
|
|
1144
1155
|
* "emailAddress": "mia@example.com",
|
|
1145
|
-
* "self":
|
|
1146
|
-
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g",
|
|
1156
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g",
|
|
1147
1157
|
* "timeZone": "Australia/Sydney"
|
|
1148
1158
|
* },
|
|
1149
1159
|
* "created": "1970-01-18T06:27:51.429+0000",
|
|
@@ -1162,10 +1172,12 @@ export declare class IssuesService extends CommonHttpService {
|
|
|
1162
1172
|
* }
|
|
1163
1173
|
* ]
|
|
1164
1174
|
* }
|
|
1165
|
-
*
|
|
1175
|
+
* ```
|
|
1176
|
+
* @path GET `/rest/api/3/issue/{issueIdOrKey}/changelog`
|
|
1166
1177
|
* @scopes-current read:jira-work
|
|
1167
1178
|
* @scopes-beta read:issue-meta:jira, read:avatar:jira, read:issue.changelog:jira
|
|
1168
1179
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues#api-rest-api-3-issue-issueidorkey-changelog-get
|
|
1180
|
+
* @param params
|
|
1169
1181
|
*/
|
|
1170
1182
|
getChangeLogs: ({ issueIdOrKey, startAt, maxResults, }: {
|
|
1171
1183
|
/** The ID or key of the issue. */
|
|
@@ -1190,26 +1202,23 @@ export declare class IssuesService extends CommonHttpService {
|
|
|
1190
1202
|
*
|
|
1191
1203
|
* @returns Returned if the request is successful.
|
|
1192
1204
|
*
|
|
1193
|
-
* example:
|
|
1205
|
+
* example:
|
|
1206
|
+
* ```
|
|
1207
|
+
* {
|
|
1194
1208
|
* "histories": [
|
|
1195
1209
|
* {
|
|
1196
1210
|
* "author": {
|
|
1197
1211
|
* "accountId": "5b10a2844c20165700ede21g",
|
|
1198
1212
|
* "active": true,
|
|
1199
1213
|
* "avatarUrls": {
|
|
1200
|
-
* "16x16":
|
|
1201
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
1202
|
-
* "
|
|
1203
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
1204
|
-
* "32x32":
|
|
1205
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
1206
|
-
* "48x48":
|
|
1207
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
1214
|
+
* "16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
1215
|
+
* "24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
1216
|
+
* "32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
1217
|
+
* "48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
1208
1218
|
* },
|
|
1209
1219
|
* "displayName": "Mia Krystof",
|
|
1210
1220
|
* "emailAddress": "mia@example.com",
|
|
1211
|
-
* "self":
|
|
1212
|
-
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g",
|
|
1221
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g",
|
|
1213
1222
|
* "timeZone": "Australia/Sydney"
|
|
1214
1223
|
* },
|
|
1215
1224
|
* "created": "1970-01-18T06:27:50.429+0000",
|
|
@@ -1231,19 +1240,14 @@ export declare class IssuesService extends CommonHttpService {
|
|
|
1231
1240
|
* "accountId": "5b10a2844c20165700ede21g",
|
|
1232
1241
|
* "active": true,
|
|
1233
1242
|
* "avatarUrls": {
|
|
1234
|
-
* "16x16":
|
|
1235
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
1236
|
-
* "
|
|
1237
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
1238
|
-
* "32x32":
|
|
1239
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
1240
|
-
* "48x48":
|
|
1241
|
-
* "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"
|
|
1242
1247
|
* },
|
|
1243
1248
|
* "displayName": "Mia Krystof",
|
|
1244
1249
|
* "emailAddress": "mia@example.com",
|
|
1245
|
-
* "self":
|
|
1246
|
-
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g",
|
|
1250
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g",
|
|
1247
1251
|
* "timeZone": "Australia/Sydney"
|
|
1248
1252
|
* },
|
|
1249
1253
|
* "created": "1970-01-18T06:27:51.429+0000",
|
|
@@ -1265,16 +1269,19 @@ export declare class IssuesService extends CommonHttpService {
|
|
|
1265
1269
|
* "startAt": 0,
|
|
1266
1270
|
* "total": 2
|
|
1267
1271
|
* }
|
|
1268
|
-
*
|
|
1272
|
+
* ```
|
|
1273
|
+
* @path POST `/rest/api/3/issue/{issueIdOrKey}/changelog/list`
|
|
1269
1274
|
* @scopes-current read:jira-work
|
|
1270
1275
|
* @scopes-beta read:issue-meta:jira, read:avatar:jira, read:issue.changelog:jira
|
|
1271
1276
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues#api-rest-api-3-issue-issueidorkey-changelog-list-post
|
|
1277
|
+
* @param params
|
|
1272
1278
|
*/
|
|
1273
1279
|
getChangeLogsByIds: ({ issueIdOrKey, issueChangelogIds, }: {
|
|
1274
1280
|
/** The ID or key of the issue. */
|
|
1275
1281
|
issueIdOrKey: string;
|
|
1276
1282
|
/**
|
|
1277
|
-
* @example
|
|
1283
|
+
* @example
|
|
1284
|
+
* {
|
|
1278
1285
|
* "changelogIds": [
|
|
1279
1286
|
* 10001,
|
|
1280
1287
|
* 10002
|
|
@@ -1307,18 +1314,16 @@ export declare class IssuesService extends CommonHttpService {
|
|
|
1307
1314
|
* @deprecated
|
|
1308
1315
|
* @returns Returned if the request is successful.
|
|
1309
1316
|
*
|
|
1310
|
-
* example:
|
|
1317
|
+
* example:
|
|
1318
|
+
* ```
|
|
1319
|
+
* {
|
|
1311
1320
|
* "projects": [
|
|
1312
1321
|
* {
|
|
1313
1322
|
* "avatarUrls": {
|
|
1314
|
-
* "16x16":
|
|
1315
|
-
* "https://your-domain.atlassian.net/secure/projectavatar?size=
|
|
1316
|
-
* "
|
|
1317
|
-
* "https://your-domain.atlassian.net/secure/projectavatar?
|
|
1318
|
-
* "32x32":
|
|
1319
|
-
* "https://your-domain.atlassian.net/secure/projectavatar?size=medium&pid=10000&avatarId=10011",
|
|
1320
|
-
* "48x48":
|
|
1321
|
-
* "https://your-domain.atlassian.net/secure/projectavatar?pid=10000&avatarId=10011"
|
|
1323
|
+
* "16x16": "https://your-domain.atlassian.net/secure/projectavatar?size=xsmall&pid=10000&avatarId=10011",
|
|
1324
|
+
* "24x24": "https://your-domain.atlassian.net/secure/projectavatar?size=small&pid=10000&avatarId=10011",
|
|
1325
|
+
* "32x32": "https://your-domain.atlassian.net/secure/projectavatar?size=medium&pid=10000&avatarId=10011",
|
|
1326
|
+
* "48x48": "https://your-domain.atlassian.net/secure/projectavatar?pid=10000&avatarId=10011"
|
|
1322
1327
|
* },
|
|
1323
1328
|
* "id": "10000",
|
|
1324
1329
|
* "issuetypes": [
|
|
@@ -1336,8 +1341,7 @@ export declare class IssuesService extends CommonHttpService {
|
|
|
1336
1341
|
* "required": true
|
|
1337
1342
|
* }
|
|
1338
1343
|
* },
|
|
1339
|
-
* "iconUrl":
|
|
1340
|
-
* "https://your-domain.atlassian.net/images/icons/issuetypes/bug.png",
|
|
1344
|
+
* "iconUrl": "https://your-domain.atlassian.net/images/icons/issuetypes/bug.png",
|
|
1341
1345
|
* "id": "1",
|
|
1342
1346
|
* "name": "Bug",
|
|
1343
1347
|
* "self": "https://your-domain.atlassian.net/rest/api/3/issueType/1",
|
|
@@ -1350,10 +1354,12 @@ export declare class IssuesService extends CommonHttpService {
|
|
|
1350
1354
|
* }
|
|
1351
1355
|
* ]
|
|
1352
1356
|
* }
|
|
1353
|
-
*
|
|
1357
|
+
* ```
|
|
1358
|
+
* @path GET `/rest/api/3/issue/createmeta`
|
|
1354
1359
|
* @scopes-current read:jira-work
|
|
1355
1360
|
* @scopes-beta read:issue-meta:jira, read:avatar:jira, read:field-configuration:jira
|
|
1356
1361
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues#api-rest-api-3-issue-createmeta-get
|
|
1362
|
+
* @param params
|
|
1357
1363
|
*/
|
|
1358
1364
|
getCreateIssueMeta: ({ projectIds, projectKeys, issuetypeIds, issuetypeNames, expand, }?: {
|
|
1359
1365
|
/**
|
|
@@ -1409,7 +1415,9 @@ export declare class IssuesService extends CommonHttpService {
|
|
|
1409
1415
|
*
|
|
1410
1416
|
* @returns Returned if the request is successful.
|
|
1411
1417
|
*
|
|
1412
|
-
* example:
|
|
1418
|
+
* example:
|
|
1419
|
+
* ```
|
|
1420
|
+
* {
|
|
1413
1421
|
* "fields": [
|
|
1414
1422
|
* {
|
|
1415
1423
|
* "fieldId": "assignee",
|
|
@@ -1426,10 +1434,12 @@ export declare class IssuesService extends CommonHttpService {
|
|
|
1426
1434
|
* "startAt": 0,
|
|
1427
1435
|
* "total": 1
|
|
1428
1436
|
* }
|
|
1429
|
-
*
|
|
1437
|
+
* ```
|
|
1438
|
+
* @path GET `/rest/api/3/issue/createmeta/{projectIdOrKey}/issuetypes/{issueTypeId}`
|
|
1430
1439
|
* @scopes-current read:jira-work
|
|
1431
1440
|
* @scopes-beta read:issue-meta:jira, read:avatar:jira, read:field-configuration:jira
|
|
1432
1441
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues#api-rest-api-3-issue-createmeta-projectidorkey-issuetypes-issuetypeid-get
|
|
1442
|
+
* @param params
|
|
1433
1443
|
*/
|
|
1434
1444
|
getCreateIssueMetaIssueTypeId: ({ projectIdOrKey, issueTypeId, startAt, maxResults, }: {
|
|
1435
1445
|
/** The ID or key of the project. */
|
|
@@ -1455,12 +1465,13 @@ export declare class IssuesService extends CommonHttpService {
|
|
|
1455
1465
|
*
|
|
1456
1466
|
* @returns Returned if the request is successful.
|
|
1457
1467
|
*
|
|
1458
|
-
* example:
|
|
1468
|
+
* example:
|
|
1469
|
+
* ```
|
|
1470
|
+
* {
|
|
1459
1471
|
* "issueTypes": [
|
|
1460
1472
|
* {
|
|
1461
1473
|
* "description": "An error in the code",
|
|
1462
|
-
* "iconUrl":
|
|
1463
|
-
* "https://your-domain.atlassian.net/images/icons/issuetypes/bug.png",
|
|
1474
|
+
* "iconUrl": "https://your-domain.atlassian.net/images/icons/issuetypes/bug.png",
|
|
1464
1475
|
* "id": "1",
|
|
1465
1476
|
* "name": "Bug",
|
|
1466
1477
|
* "self": "https://your-domain.atlassian.net/rest/api/3/issueType/1",
|
|
@@ -1471,10 +1482,12 @@ export declare class IssuesService extends CommonHttpService {
|
|
|
1471
1482
|
* "startAt": 0,
|
|
1472
1483
|
* "total": 1
|
|
1473
1484
|
* }
|
|
1474
|
-
*
|
|
1485
|
+
* ```
|
|
1486
|
+
* @path GET `/rest/api/3/issue/createmeta/{projectIdOrKey}/issuetypes`
|
|
1475
1487
|
* @scopes-current read:jira-work
|
|
1476
1488
|
* @scopes-beta read:issue-meta:jira, read:avatar:jira, read:field-configuration:jira
|
|
1477
1489
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues#api-rest-api-3-issue-createmeta-projectidorkey-issuetypes-get
|
|
1490
|
+
* @param params
|
|
1478
1491
|
*/
|
|
1479
1492
|
getCreateIssueMetaIssueTypes: ({ projectIdOrKey, startAt, maxResults, }: {
|
|
1480
1493
|
/** The ID or key of the project. */
|
|
@@ -1550,7 +1563,9 @@ export declare class IssuesService extends CommonHttpService {
|
|
|
1550
1563
|
*
|
|
1551
1564
|
* @returns Returned if the request is successful.
|
|
1552
1565
|
*
|
|
1553
|
-
* example:
|
|
1566
|
+
* example:
|
|
1567
|
+
* ```
|
|
1568
|
+
* {
|
|
1554
1569
|
* "fields": {
|
|
1555
1570
|
* "summary": {
|
|
1556
1571
|
* "allowedValues": [
|
|
@@ -1567,8 +1582,7 @@ export declare class IssuesService extends CommonHttpService {
|
|
|
1567
1582
|
* ],
|
|
1568
1583
|
* "required": false,
|
|
1569
1584
|
* "schema": {
|
|
1570
|
-
* "custom":
|
|
1571
|
-
* "com.atlassian.jira.plugin.system.customfieldtypes:multiselect",
|
|
1585
|
+
* "custom": "com.atlassian.jira.plugin.system.customfieldtypes:multiselect",
|
|
1572
1586
|
* "customId": 10001,
|
|
1573
1587
|
* "items": "option",
|
|
1574
1588
|
* "type": "array"
|
|
@@ -1576,10 +1590,12 @@ export declare class IssuesService extends CommonHttpService {
|
|
|
1576
1590
|
* }
|
|
1577
1591
|
* }
|
|
1578
1592
|
* }
|
|
1579
|
-
*
|
|
1593
|
+
* ```
|
|
1594
|
+
* @path GET `/rest/api/3/issue/{issueIdOrKey}/editmeta`
|
|
1580
1595
|
* @scopes-current read:jira-work
|
|
1581
1596
|
* @scopes-beta read:issue-meta:jira, read:field-configuration:jira
|
|
1582
1597
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues#api-rest-api-3-issue-issueidorkey-editmeta-get
|
|
1598
|
+
* @param params
|
|
1583
1599
|
*/
|
|
1584
1600
|
getEditIssueMeta: ({ issueIdOrKey, overrideScreenSecurity, overrideEditableFlag, }: {
|
|
1585
1601
|
/** The ID or key of the issue. */
|
|
@@ -1609,7 +1625,9 @@ export declare class IssuesService extends CommonHttpService {
|
|
|
1609
1625
|
*
|
|
1610
1626
|
* @returns Returned if the request is successful.
|
|
1611
1627
|
*
|
|
1612
|
-
* example:
|
|
1628
|
+
* example:
|
|
1629
|
+
* ```
|
|
1630
|
+
* [
|
|
1613
1631
|
* {
|
|
1614
1632
|
* "id": 1,
|
|
1615
1633
|
* "name": "Issue Created"
|
|
@@ -1619,7 +1637,8 @@ export declare class IssuesService extends CommonHttpService {
|
|
|
1619
1637
|
* "name": "Issue Updated"
|
|
1620
1638
|
* }
|
|
1621
1639
|
* ]
|
|
1622
|
-
*
|
|
1640
|
+
* ```
|
|
1641
|
+
* @path GET `/rest/api/3/events`
|
|
1623
1642
|
* @scopes-current manage:jira-configuration
|
|
1624
1643
|
* @scopes-beta read:issue-event:jira
|
|
1625
1644
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues#api-rest-api-3-events-get
|
|
@@ -1646,22 +1665,14 @@ export declare class IssuesService extends CommonHttpService {
|
|
|
1646
1665
|
*
|
|
1647
1666
|
* @returns Returned if the request is successful.
|
|
1648
1667
|
*
|
|
1649
|
-
* example:
|
|
1668
|
+
* example:
|
|
1669
|
+
* ```
|
|
1670
|
+
* {
|
|
1650
1671
|
* "fields": {
|
|
1651
1672
|
* "watcher": {
|
|
1652
1673
|
* "isWatching": false,
|
|
1653
|
-
* "self":
|
|
1654
|
-
*
|
|
1655
|
-
* "watchCount": 1,
|
|
1656
|
-
* "watchers": [
|
|
1657
|
-
* {
|
|
1658
|
-
* "accountId": "5b10a2844c20165700ede21g",
|
|
1659
|
-
* "active": false,
|
|
1660
|
-
* "displayName": "Mia Krystof",
|
|
1661
|
-
* "self":
|
|
1662
|
-
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
1663
|
-
* }
|
|
1664
|
-
* ]
|
|
1674
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/issue/EX-1/watchers",
|
|
1675
|
+
* "watchCount": 1
|
|
1665
1676
|
* },
|
|
1666
1677
|
* "attachment": [
|
|
1667
1678
|
* {
|
|
@@ -1670,32 +1681,24 @@ export declare class IssuesService extends CommonHttpService {
|
|
|
1670
1681
|
* "accountType": "atlassian",
|
|
1671
1682
|
* "active": false,
|
|
1672
1683
|
* "avatarUrls": {
|
|
1673
|
-
* "16x16":
|
|
1674
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
1675
|
-
* "
|
|
1676
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
1677
|
-
* "32x32":
|
|
1678
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
1679
|
-
* "48x48":
|
|
1680
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
1684
|
+
* "16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
1685
|
+
* "24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
1686
|
+
* "32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
1687
|
+
* "48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
1681
1688
|
* },
|
|
1682
1689
|
* "displayName": "Mia Krystof",
|
|
1683
1690
|
* "key": "",
|
|
1684
1691
|
* "name": "",
|
|
1685
|
-
* "self":
|
|
1686
|
-
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
1692
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
1687
1693
|
* },
|
|
1688
|
-
* "content":
|
|
1689
|
-
* "https://your-domain.atlassian.net/jira/rest/api/3/attachment/content/10000",
|
|
1694
|
+
* "content": "https://your-domain.atlassian.net/jira/rest/api/3/attachment/content/10000",
|
|
1690
1695
|
* "created": "2022-10-06T07:32:47.000+0000",
|
|
1691
1696
|
* "filename": "picture.jpg",
|
|
1692
1697
|
* "id": 10000,
|
|
1693
1698
|
* "mimeType": "image/jpeg",
|
|
1694
|
-
* "self":
|
|
1695
|
-
* "https://your-domain.atlassian.net/rest/api/3/attachments/10000",
|
|
1699
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/attachments/10000",
|
|
1696
1700
|
* "size": 23123,
|
|
1697
|
-
* "thumbnail":
|
|
1698
|
-
* "https://your-domain.atlassian.net/jira/rest/api/3/attachment/thumbnail/10000"
|
|
1701
|
+
* "thumbnail": "https://your-domain.atlassian.net/jira/rest/api/3/attachment/thumbnail/10000"
|
|
1699
1702
|
* }
|
|
1700
1703
|
* ],
|
|
1701
1704
|
* "sub-tasks": [
|
|
@@ -1704,8 +1707,7 @@ export declare class IssuesService extends CommonHttpService {
|
|
|
1704
1707
|
* "outwardIssue": {
|
|
1705
1708
|
* "fields": {
|
|
1706
1709
|
* "status": {
|
|
1707
|
-
* "iconUrl":
|
|
1708
|
-
* "https://your-domain.atlassian.net/images/icons/statuses/open.png",
|
|
1710
|
+
* "iconUrl": "https://your-domain.atlassian.net/images/icons/statuses/open.png",
|
|
1709
1711
|
* "name": "Open"
|
|
1710
1712
|
* }
|
|
1711
1713
|
* },
|
|
@@ -1738,14 +1740,10 @@ export declare class IssuesService extends CommonHttpService {
|
|
|
1738
1740
|
* },
|
|
1739
1741
|
* "project": {
|
|
1740
1742
|
* "avatarUrls": {
|
|
1741
|
-
* "16x16":
|
|
1742
|
-
* "https://your-domain.atlassian.net/secure/projectavatar?size=
|
|
1743
|
-
* "
|
|
1744
|
-
* "https://your-domain.atlassian.net/secure/projectavatar?size=
|
|
1745
|
-
* "32x32":
|
|
1746
|
-
* "https://your-domain.atlassian.net/secure/projectavatar?size=medium&pid=10000",
|
|
1747
|
-
* "48x48":
|
|
1748
|
-
* "https://your-domain.atlassian.net/secure/projectavatar?size=large&pid=10000"
|
|
1743
|
+
* "16x16": "https://your-domain.atlassian.net/secure/projectavatar?size=xsmall&pid=10000",
|
|
1744
|
+
* "24x24": "https://your-domain.atlassian.net/secure/projectavatar?size=small&pid=10000",
|
|
1745
|
+
* "32x32": "https://your-domain.atlassian.net/secure/projectavatar?size=medium&pid=10000",
|
|
1746
|
+
* "48x48": "https://your-domain.atlassian.net/secure/projectavatar?size=large&pid=10000"
|
|
1749
1747
|
* },
|
|
1750
1748
|
* "id": "10000",
|
|
1751
1749
|
* "insight": {
|
|
@@ -1758,8 +1756,7 @@ export declare class IssuesService extends CommonHttpService {
|
|
|
1758
1756
|
* "description": "First Project Category",
|
|
1759
1757
|
* "id": "10000",
|
|
1760
1758
|
* "name": "FIRST",
|
|
1761
|
-
* "self":
|
|
1762
|
-
* "https://your-domain.atlassian.net/rest/api/3/projectCategory/10000"
|
|
1759
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/projectCategory/10000"
|
|
1763
1760
|
* },
|
|
1764
1761
|
* "self": "https://your-domain.atlassian.net/rest/api/3/project/EX",
|
|
1765
1762
|
* "simplified": false,
|
|
@@ -1771,8 +1768,7 @@ export declare class IssuesService extends CommonHttpService {
|
|
|
1771
1768
|
* "accountId": "5b10a2844c20165700ede21g",
|
|
1772
1769
|
* "active": false,
|
|
1773
1770
|
* "displayName": "Mia Krystof",
|
|
1774
|
-
* "self":
|
|
1775
|
-
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
1771
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
1776
1772
|
* },
|
|
1777
1773
|
* "body": {
|
|
1778
1774
|
* "type": "doc",
|
|
@@ -1783,9 +1779,7 @@ export declare class IssuesService extends CommonHttpService {
|
|
|
1783
1779
|
* "content": [
|
|
1784
1780
|
* {
|
|
1785
1781
|
* "type": "text",
|
|
1786
|
-
* "text": "Lorem ipsum dolor sit amet, consectetur adipiscing
|
|
1787
|
-
* elit. Pellentesque eget venenatis elit. Duis eu justo eget augue iaculis
|
|
1788
|
-
* fermentum. Sed semper quam laoreet nisi egestas at posuere augue semper."
|
|
1782
|
+
* "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."
|
|
1789
1783
|
* }
|
|
1790
1784
|
* ]
|
|
1791
1785
|
* }
|
|
@@ -1793,14 +1787,12 @@ export declare class IssuesService extends CommonHttpService {
|
|
|
1793
1787
|
* },
|
|
1794
1788
|
* "created": "2021-01-17T12:34:00.000+0000",
|
|
1795
1789
|
* "id": "10000",
|
|
1796
|
-
* "self":
|
|
1797
|
-
* "https://your-domain.atlassian.net/rest/api/3/issue/10010/comment/10000",
|
|
1790
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/issue/10010/comment/10000",
|
|
1798
1791
|
* "updateAuthor": {
|
|
1799
1792
|
* "accountId": "5b10a2844c20165700ede21g",
|
|
1800
1793
|
* "active": false,
|
|
1801
1794
|
* "displayName": "Mia Krystof",
|
|
1802
|
-
* "self":
|
|
1803
|
-
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
1795
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
1804
1796
|
* },
|
|
1805
1797
|
* "updated": "2021-01-18T23:45:00.000+0000",
|
|
1806
1798
|
* "visibility": {
|
|
@@ -1816,8 +1808,7 @@ export declare class IssuesService extends CommonHttpService {
|
|
|
1816
1808
|
* "outwardIssue": {
|
|
1817
1809
|
* "fields": {
|
|
1818
1810
|
* "status": {
|
|
1819
|
-
* "iconUrl":
|
|
1820
|
-
* "https://your-domain.atlassian.net/images/icons/statuses/open.png",
|
|
1811
|
+
* "iconUrl": "https://your-domain.atlassian.net/images/icons/statuses/open.png",
|
|
1821
1812
|
* "name": "Open"
|
|
1822
1813
|
* }
|
|
1823
1814
|
* },
|
|
@@ -1837,8 +1828,7 @@ export declare class IssuesService extends CommonHttpService {
|
|
|
1837
1828
|
* "inwardIssue": {
|
|
1838
1829
|
* "fields": {
|
|
1839
1830
|
* "status": {
|
|
1840
|
-
* "iconUrl":
|
|
1841
|
-
* "https://your-domain.atlassian.net/images/icons/statuses/open.png",
|
|
1831
|
+
* "iconUrl": "https://your-domain.atlassian.net/images/icons/statuses/open.png",
|
|
1842
1832
|
* "name": "Open"
|
|
1843
1833
|
* }
|
|
1844
1834
|
* },
|
|
@@ -1860,8 +1850,7 @@ export declare class IssuesService extends CommonHttpService {
|
|
|
1860
1850
|
* "accountId": "5b10a2844c20165700ede21g",
|
|
1861
1851
|
* "active": false,
|
|
1862
1852
|
* "displayName": "Mia Krystof",
|
|
1863
|
-
* "self":
|
|
1864
|
-
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
1853
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
1865
1854
|
* },
|
|
1866
1855
|
* "comment": {
|
|
1867
1856
|
* "type": "doc",
|
|
@@ -1880,8 +1869,7 @@ export declare class IssuesService extends CommonHttpService {
|
|
|
1880
1869
|
* },
|
|
1881
1870
|
* "id": "100028",
|
|
1882
1871
|
* "issueId": "10002",
|
|
1883
|
-
* "self":
|
|
1884
|
-
* "https://your-domain.atlassian.net/rest/api/3/issue/10010/worklog/10000",
|
|
1872
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/issue/10010/worklog/10000",
|
|
1885
1873
|
* "started": "2021-01-17T12:34:00.000+0000",
|
|
1886
1874
|
* "timeSpent": "3h 20m",
|
|
1887
1875
|
* "timeSpentSeconds": 12000,
|
|
@@ -1889,8 +1877,7 @@ export declare class IssuesService extends CommonHttpService {
|
|
|
1889
1877
|
* "accountId": "5b10a2844c20165700ede21g",
|
|
1890
1878
|
* "active": false,
|
|
1891
1879
|
* "displayName": "Mia Krystof",
|
|
1892
|
-
* "self":
|
|
1893
|
-
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
1880
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
1894
1881
|
* },
|
|
1895
1882
|
* "updated": "2021-01-18T23:45:00.000+0000",
|
|
1896
1883
|
* "visibility": {
|
|
@@ -1914,12 +1901,12 @@ export declare class IssuesService extends CommonHttpService {
|
|
|
1914
1901
|
* "key": "ED-1",
|
|
1915
1902
|
* "self": "https://your-domain.atlassian.net/rest/api/3/issue/10002"
|
|
1916
1903
|
* }
|
|
1917
|
-
*
|
|
1904
|
+
* ```
|
|
1905
|
+
* @path GET `/rest/api/3/issue/{issueIdOrKey}`
|
|
1918
1906
|
* @scopes-current read:jira-work
|
|
1919
|
-
* @scopes-beta read:issue-meta:jira, read:issue-security-level:jira, read:issue.vote:jira,
|
|
1920
|
-
* read:issue.changelog:jira, read:avatar:jira, read:issue:jira, read:status:jira,
|
|
1921
|
-
* read:user:jira, read:field-configuration:jira
|
|
1907
|
+
* @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
|
|
1922
1908
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues#api-rest-api-3-issue-issueidorkey-get
|
|
1909
|
+
* @param params
|
|
1923
1910
|
*/
|
|
1924
1911
|
getIssue: ({ issueIdOrKey, fields, fieldsByKeys, expand, properties, updateHistory, failFast, }: {
|
|
1925
1912
|
/** The ID or key of the issue. */
|
|
@@ -2014,42 +2001,44 @@ export declare class IssuesService extends CommonHttpService {
|
|
|
2014
2001
|
*
|
|
2015
2002
|
* @returns Returned if the request is successful.
|
|
2016
2003
|
*
|
|
2017
|
-
* example:
|
|
2004
|
+
* example:
|
|
2005
|
+
* ```
|
|
2006
|
+
* {
|
|
2018
2007
|
* "issuesApproachingLimit": {
|
|
2019
2008
|
* "attachment": {
|
|
2020
|
-
* "
|
|
2021
|
-
* "
|
|
2009
|
+
* "15070L": 1822,
|
|
2010
|
+
* "15111L": 1999
|
|
2022
2011
|
* },
|
|
2023
2012
|
* "comment": {
|
|
2024
|
-
* "
|
|
2025
|
-
* "
|
|
2026
|
-
* "
|
|
2013
|
+
* "10000L": 4997,
|
|
2014
|
+
* "15073L": 4999,
|
|
2015
|
+
* "15110L": 5000
|
|
2027
2016
|
* },
|
|
2028
2017
|
* "remoteIssueLinks": {
|
|
2029
|
-
* "
|
|
2018
|
+
* "15107L": 2000
|
|
2030
2019
|
* },
|
|
2031
2020
|
* "worklog": {
|
|
2032
|
-
* "
|
|
2021
|
+
* "15101L": 4342
|
|
2033
2022
|
* }
|
|
2034
2023
|
* },
|
|
2035
2024
|
* "issuesBreachingLimit": {
|
|
2036
2025
|
* "attachment": {
|
|
2037
|
-
* "
|
|
2038
|
-
* "
|
|
2039
|
-
* "
|
|
2026
|
+
* "15057L": 2005,
|
|
2027
|
+
* "15116L": 2065,
|
|
2028
|
+
* "15117L": 3005
|
|
2040
2029
|
* },
|
|
2041
2030
|
* "comment": {
|
|
2042
|
-
* "
|
|
2031
|
+
* "15055L": 5202
|
|
2043
2032
|
* },
|
|
2044
2033
|
* "issuelinks": {
|
|
2045
|
-
* "
|
|
2034
|
+
* "15058L": 2120
|
|
2046
2035
|
* },
|
|
2047
2036
|
* "remoteIssueLinks": {
|
|
2048
|
-
* "
|
|
2037
|
+
* "15059L": 2094
|
|
2049
2038
|
* },
|
|
2050
2039
|
* "worklog": {
|
|
2051
|
-
* "
|
|
2052
|
-
* "
|
|
2040
|
+
* "15056L": 5085,
|
|
2041
|
+
* "15169L": 120864
|
|
2053
2042
|
* }
|
|
2054
2043
|
* },
|
|
2055
2044
|
* "limits": {
|
|
@@ -2060,12 +2049,20 @@ export declare class IssuesService extends CommonHttpService {
|
|
|
2060
2049
|
* "worklog": 5000
|
|
2061
2050
|
* }
|
|
2062
2051
|
* }
|
|
2063
|
-
*
|
|
2052
|
+
* ```
|
|
2053
|
+
* @path GET `/rest/api/3/issue/limit/report`
|
|
2064
2054
|
* @scopes-current read:jira-work
|
|
2065
2055
|
* @scopes-beta read:project:jira, read:issue:jira
|
|
2066
2056
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues#api-rest-api-3-issue-limit-report-get
|
|
2057
|
+
* @param params
|
|
2067
2058
|
*/
|
|
2068
|
-
getIssueLimitReport: ({ issueLimitReportRequest, }: {
|
|
2059
|
+
getIssueLimitReport: ({ isReturningKeys, issueLimitReportRequest, }: {
|
|
2060
|
+
/**
|
|
2061
|
+
* Return issue keys instead of issue ids in the response.
|
|
2062
|
+
*
|
|
2063
|
+
* Usage: Add `?isReturningKeys=true` to the end of the path to request issue keys.
|
|
2064
|
+
*/
|
|
2065
|
+
isReturningKeys?: boolean | undefined;
|
|
2069
2066
|
issueLimitReportRequest: IssueLimitReportRequest;
|
|
2070
2067
|
}) => Promise<IssueLimitReportResponseBean>;
|
|
2071
2068
|
/**
|
|
@@ -2093,7 +2090,9 @@ export declare class IssuesService extends CommonHttpService {
|
|
|
2093
2090
|
*
|
|
2094
2091
|
* @returns Returned if the request is successful.
|
|
2095
2092
|
*
|
|
2096
|
-
* example:
|
|
2093
|
+
* example:
|
|
2094
|
+
* ```
|
|
2095
|
+
* {
|
|
2097
2096
|
* "transitions": [
|
|
2098
2097
|
* {
|
|
2099
2098
|
* "fields": {
|
|
@@ -2112,8 +2111,7 @@ export declare class IssuesService extends CommonHttpService {
|
|
|
2112
2111
|
* ],
|
|
2113
2112
|
* "required": false,
|
|
2114
2113
|
* "schema": {
|
|
2115
|
-
* "custom":
|
|
2116
|
-
* "com.atlassian.jira.plugin.system.customfieldtypes:multiselect",
|
|
2114
|
+
* "custom": "com.atlassian.jira.plugin.system.customfieldtypes:multiselect",
|
|
2117
2115
|
* "customId": 10001,
|
|
2118
2116
|
* "items": "option",
|
|
2119
2117
|
* "type": "array"
|
|
@@ -2129,8 +2127,7 @@ export declare class IssuesService extends CommonHttpService {
|
|
|
2129
2127
|
* "name": "Close Issue",
|
|
2130
2128
|
* "to": {
|
|
2131
2129
|
* "description": "The issue is currently being worked on.",
|
|
2132
|
-
* "iconUrl":
|
|
2133
|
-
* "https://your-domain.atlassian.net/images/icons/progress.gif",
|
|
2130
|
+
* "iconUrl": "https://your-domain.atlassian.net/images/icons/progress.gif",
|
|
2134
2131
|
* "id": "10000",
|
|
2135
2132
|
* "name": "In Progress",
|
|
2136
2133
|
* "self": "https://your-domain.atlassian.net/rest/api/3/status/10000",
|
|
@@ -2139,8 +2136,7 @@ export declare class IssuesService extends CommonHttpService {
|
|
|
2139
2136
|
* "id": 1,
|
|
2140
2137
|
* "key": "in-flight",
|
|
2141
2138
|
* "name": "In Progress",
|
|
2142
|
-
* "self":
|
|
2143
|
-
* "https://your-domain.atlassian.net/rest/api/3/statuscategory/1"
|
|
2139
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/statuscategory/1"
|
|
2144
2140
|
* }
|
|
2145
2141
|
* }
|
|
2146
2142
|
* },
|
|
@@ -2161,8 +2157,7 @@ export declare class IssuesService extends CommonHttpService {
|
|
|
2161
2157
|
* ],
|
|
2162
2158
|
* "required": false,
|
|
2163
2159
|
* "schema": {
|
|
2164
|
-
* "custom":
|
|
2165
|
-
* "com.atlassian.jira.plugin.system.customfieldtypes:multiselect",
|
|
2160
|
+
* "custom": "com.atlassian.jira.plugin.system.customfieldtypes:multiselect",
|
|
2166
2161
|
* "customId": 10001,
|
|
2167
2162
|
* "items": "option",
|
|
2168
2163
|
* "type": "array"
|
|
@@ -2183,8 +2178,7 @@ export declare class IssuesService extends CommonHttpService {
|
|
|
2183
2178
|
* ],
|
|
2184
2179
|
* "required": false,
|
|
2185
2180
|
* "schema": {
|
|
2186
|
-
* "custom":
|
|
2187
|
-
* "com.atlassian.jira.plugin.system.customfieldtypes:multiselect",
|
|
2181
|
+
* "custom": "com.atlassian.jira.plugin.system.customfieldtypes:multiselect",
|
|
2188
2182
|
* "customId": 10001,
|
|
2189
2183
|
* "items": "option",
|
|
2190
2184
|
* "type": "array"
|
|
@@ -2204,17 +2198,18 @@ export declare class IssuesService extends CommonHttpService {
|
|
|
2204
2198
|
* "colorName": "green",
|
|
2205
2199
|
* "id": 9,
|
|
2206
2200
|
* "key": "completed",
|
|
2207
|
-
* "self":
|
|
2208
|
-
* "https://your-domain.atlassian.net/rest/api/3/statuscategory/9"
|
|
2201
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/statuscategory/9"
|
|
2209
2202
|
* }
|
|
2210
2203
|
* }
|
|
2211
2204
|
* }
|
|
2212
2205
|
* ]
|
|
2213
2206
|
* }
|
|
2214
|
-
*
|
|
2207
|
+
* ```
|
|
2208
|
+
* @path GET `/rest/api/3/issue/{issueIdOrKey}/transitions`
|
|
2215
2209
|
* @scopes-current read:jira-work
|
|
2216
2210
|
* @scopes-beta read:issue.transition:jira, read:status:jira, read:field-configuration:jira
|
|
2217
2211
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues#api-rest-api-3-issue-issueidorkey-transitions-get
|
|
2212
|
+
* @param params
|
|
2218
2213
|
*/
|
|
2219
2214
|
getTransitions: ({ issueIdOrKey, expand, transitionId, skipRemoteOnlyCondition, includeUnavailableTransitions, sortByOpsBarAndStatus, }: {
|
|
2220
2215
|
/** The ID or key of the issue. */
|
|
@@ -2258,10 +2253,11 @@ export declare class IssuesService extends CommonHttpService {
|
|
|
2258
2253
|
* configured, issue-level security permission to view the issue.
|
|
2259
2254
|
*
|
|
2260
2255
|
* @returns Returned if the email is queued for sending.
|
|
2261
|
-
* @path
|
|
2256
|
+
* @path POST `/rest/api/3/issue/{issueIdOrKey}/notify`
|
|
2262
2257
|
* @scopes-current write:jira-work
|
|
2263
2258
|
* @scopes-beta send:notification:jira
|
|
2264
2259
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues#api-rest-api-3-issue-issueidorkey-notify-post
|
|
2260
|
+
* @param params
|
|
2265
2261
|
*/
|
|
2266
2262
|
notify: ({ issueIdOrKey, notification, }: {
|
|
2267
2263
|
/** ID or key of the issue that the notification is sent for. */
|
|
@@ -2269,9 +2265,9 @@ export declare class IssuesService extends CommonHttpService {
|
|
|
2269
2265
|
/**
|
|
2270
2266
|
* The request object for the notification and recipients.
|
|
2271
2267
|
*
|
|
2272
|
-
* @example
|
|
2273
|
-
*
|
|
2274
|
-
* now available.",
|
|
2268
|
+
* @example
|
|
2269
|
+
* {
|
|
2270
|
+
* "htmlBody": "The <strong>latest</strong> test results for this ticket are now available.",
|
|
2275
2271
|
* "restrict": {
|
|
2276
2272
|
* "groupIds": [],
|
|
2277
2273
|
* "groups": [
|
|
@@ -2327,12 +2323,11 @@ export declare class IssuesService extends CommonHttpService {
|
|
|
2327
2323
|
*
|
|
2328
2324
|
* **Signed-in users only:** This API can't be accessed anonymously.
|
|
2329
2325
|
*
|
|
2330
|
-
* @returns Returned if there is at least one valid issue to unarchive in the request. It
|
|
2331
|
-
* will return the count of unarchived issues, which also includes the count of
|
|
2332
|
-
* the subtasks unarchived, and it will show the detailed errors for those issues
|
|
2333
|
-
* which are not unarchived.
|
|
2326
|
+
* @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.
|
|
2334
2327
|
*
|
|
2335
|
-
* example:
|
|
2328
|
+
* example:
|
|
2329
|
+
* ```
|
|
2330
|
+
* {
|
|
2336
2331
|
* "errors": {
|
|
2337
2332
|
* "issueIsSubtask": {
|
|
2338
2333
|
* "count": 3,
|
|
@@ -2363,16 +2358,19 @@ export declare class IssuesService extends CommonHttpService {
|
|
|
2363
2358
|
* },
|
|
2364
2359
|
* "numberOfIssuesUpdated": 10
|
|
2365
2360
|
* }
|
|
2366
|
-
*
|
|
2361
|
+
* ```
|
|
2362
|
+
* @path PUT `/rest/api/3/issue/unarchive`
|
|
2367
2363
|
* @scopes-current write:jira-work
|
|
2368
2364
|
* @scopes-beta write:issue:jira
|
|
2369
2365
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues#api-rest-api-3-issue-unarchive-put
|
|
2366
|
+
* @param params
|
|
2370
2367
|
*/
|
|
2371
2368
|
unarchiveIssues: ({ issueArchivalSyncRequest, }: {
|
|
2372
2369
|
/**
|
|
2373
2370
|
* Contains a list of issue keys or IDs to be unarchived.
|
|
2374
2371
|
*
|
|
2375
|
-
* @example
|
|
2372
|
+
* @example
|
|
2373
|
+
* {
|
|
2376
2374
|
* "issueIdsOrKeys": [
|
|
2377
2375
|
* "PR-1",
|
|
2378
2376
|
* "1001",
|