@resolution/jira-api-client 0.5.2 → 0.5.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +22 -0
- package/README.md +51 -19
- package/lib/openapi/{platform/core → core}/CommonHttpClient.d.ts +54 -3
- package/lib/openapi/{serviceManagement/core → core}/CommonHttpClient.js +14 -0
- package/lib/openapi/core/CommonHttpClient.js.map +1 -0
- package/lib/openapi/{software/core → core}/CommonHttpService.d.ts +17 -0
- package/lib/openapi/{platform/core → core}/CommonHttpService.js +11 -0
- package/lib/openapi/core/CommonHttpService.js.map +1 -0
- package/lib/openapi/core/CommonValidationSchemaStorage.js.map +1 -0
- package/lib/openapi/platform/BaseJiraPlatformApiClient.d.ts +5 -5
- package/lib/openapi/platform/BaseJiraPlatformApiClient.js +3 -3
- package/lib/openapi/platform/BaseJiraPlatformApiClient.js.map +1 -1
- package/lib/openapi/platform/models/announcementBanner.d.ts +1 -1
- package/lib/openapi/platform/models/appDataPolicies.d.ts +1 -1
- package/lib/openapi/platform/models/appMigration.d.ts +13 -7
- package/lib/openapi/platform/models/appMigration.js.map +1 -1
- package/lib/openapi/platform/models/appProperties.d.ts +3 -2
- package/lib/openapi/platform/models/appProperties.js.map +1 -1
- package/lib/openapi/platform/models/auditRecords.d.ts +1 -1
- package/lib/openapi/platform/models/avatars.d.ts +1 -1
- package/lib/openapi/platform/models/classificationLevels.d.ts +1 -1
- package/lib/openapi/platform/models/common.d.ts +3 -5
- package/lib/openapi/platform/models/common.js.map +1 -1
- package/lib/openapi/platform/models/dashboards.d.ts +2 -3
- package/lib/openapi/platform/models/dashboards.js.map +1 -1
- package/lib/openapi/platform/models/dynamicModules.d.ts +5 -3
- package/lib/openapi/platform/models/dynamicModules.js.map +1 -1
- package/lib/openapi/platform/models/filterSharing.d.ts +1 -1
- package/lib/openapi/platform/models/filters.d.ts +1 -1
- package/lib/openapi/platform/models/groupAndUserPicker.d.ts +1 -1
- package/lib/openapi/platform/models/groups.d.ts +1 -1
- package/lib/openapi/platform/models/issueAttachments.d.ts +1 -1
- package/lib/openapi/platform/models/issueBulkOperations.d.ts +2 -3
- package/lib/openapi/platform/models/issueBulkOperations.js.map +1 -1
- package/lib/openapi/platform/models/issueCommentProperties.d.ts +1 -1
- package/lib/openapi/platform/models/issueComments.d.ts +1 -1
- package/lib/openapi/platform/models/issueCustomFieldConfigurationApps.d.ts +1 -1
- package/lib/openapi/platform/models/issueCustomFieldContexts.d.ts +1 -1
- package/lib/openapi/platform/models/issueCustomFieldOptions.d.ts +1 -1
- package/lib/openapi/platform/models/issueCustomFieldOptionsApps.d.ts +1 -1
- package/lib/openapi/platform/models/issueCustomFieldValuesApps.d.ts +1 -1
- package/lib/openapi/platform/models/issueFieldConfigurations.d.ts +1 -1
- package/lib/openapi/platform/models/issueFields.d.ts +1 -1
- package/lib/openapi/platform/models/issueLinkTypes.d.ts +1 -1
- package/lib/openapi/platform/models/issueLinks.d.ts +1 -1
- package/lib/openapi/platform/models/issueNotificationSchemes.d.ts +1 -1
- package/lib/openapi/platform/models/issuePriorities.d.ts +1 -1
- package/lib/openapi/platform/models/issueProperties.d.ts +1 -1
- package/lib/openapi/platform/models/issueRemoteLinks.d.ts +1 -1
- package/lib/openapi/platform/models/issueResolutions.d.ts +1 -1
- package/lib/openapi/platform/models/issueSearch.d.ts +2 -3
- package/lib/openapi/platform/models/issueSearch.js.map +1 -1
- package/lib/openapi/platform/models/issueSecurityLevel.d.ts +1 -1
- package/lib/openapi/platform/models/issueSecuritySchemes.d.ts +1 -1
- package/lib/openapi/platform/models/issueTypeSchemes.d.ts +1 -1
- package/lib/openapi/platform/models/issueTypeScreenSchemes.d.ts +1 -1
- package/lib/openapi/platform/models/issueTypes.d.ts +1 -1
- package/lib/openapi/platform/models/issueVotes.d.ts +1 -1
- package/lib/openapi/platform/models/issueWatchers.d.ts +1 -1
- package/lib/openapi/platform/models/issueWorklogs.d.ts +1 -1
- package/lib/openapi/platform/models/issues.d.ts +16 -14
- package/lib/openapi/platform/models/issues.js.map +1 -1
- package/lib/openapi/platform/models/jiraExpressions.d.ts +8 -6
- package/lib/openapi/platform/models/jiraExpressions.js.map +1 -1
- package/lib/openapi/platform/models/jiraSettings.d.ts +1 -1
- package/lib/openapi/platform/models/jql.d.ts +9 -5
- package/lib/openapi/platform/models/jql.js.map +1 -1
- package/lib/openapi/platform/models/jqlFunctionsApps.d.ts +1 -1
- package/lib/openapi/platform/models/labels.d.ts +1 -1
- package/lib/openapi/platform/models/licenseMetrics.d.ts +1 -1
- package/lib/openapi/platform/models/myself.d.ts +1 -1
- package/lib/openapi/platform/models/permissionSchemes.d.ts +1 -1
- package/lib/openapi/platform/models/permissions.d.ts +2 -3
- package/lib/openapi/platform/models/permissions.js.map +1 -1
- package/lib/openapi/platform/models/prioritySchemes.d.ts +1 -1
- package/lib/openapi/platform/models/projectAvatars.d.ts +1 -1
- package/lib/openapi/platform/models/projectClassificationLevels.d.ts +1 -1
- package/lib/openapi/platform/models/projectComponents.d.ts +1 -1
- package/lib/openapi/platform/models/projectEmail.d.ts +1 -1
- package/lib/openapi/platform/models/projectFeatures.d.ts +1 -1
- package/lib/openapi/platform/models/projectPermissionSchemes.d.ts +1 -1
- package/lib/openapi/platform/models/projectRoleActors.d.ts +1 -1
- package/lib/openapi/platform/models/projectRoles.d.ts +1 -1
- package/lib/openapi/platform/models/projectTypes.d.ts +1 -1
- package/lib/openapi/platform/models/projectVersions.d.ts +1 -1
- package/lib/openapi/platform/models/projects.d.ts +1 -1
- package/lib/openapi/platform/models/screenSchemes.d.ts +2 -2
- package/lib/openapi/platform/models/screenSchemes.js +1 -1
- package/lib/openapi/platform/models/screenSchemes.js.map +1 -1
- package/lib/openapi/platform/models/screenTabFields.d.ts +1 -1
- package/lib/openapi/platform/models/screens.d.ts +1 -1
- package/lib/openapi/platform/models/serverInfo.d.ts +1 -1
- package/lib/openapi/platform/models/serviceRegistry.d.ts +3 -2
- package/lib/openapi/platform/models/serviceRegistry.js.map +1 -1
- package/lib/openapi/platform/models/status.d.ts +1 -1
- package/lib/openapi/platform/models/timeTracking.d.ts +1 -1
- package/lib/openapi/platform/models/uiModificationsApps.d.ts +1 -1
- package/lib/openapi/platform/models/userSearch.d.ts +1 -1
- package/lib/openapi/platform/models/users.d.ts +1 -1
- package/lib/openapi/platform/models/webhooks.d.ts +1 -1
- package/lib/openapi/platform/models/workflowSchemeDrafts.d.ts +1 -1
- package/lib/openapi/platform/models/workflowSchemeProjectAssociations.d.ts +1 -1
- package/lib/openapi/platform/models/workflowSchemes.d.ts +1 -1
- package/lib/openapi/platform/models/workflowTransitionProperties.d.ts +1 -1
- package/lib/openapi/platform/models/workflowTransitionRules.d.ts +1 -1
- package/lib/openapi/platform/models/workflows.d.ts +104 -70
- package/lib/openapi/platform/models/workflows.js +12 -0
- package/lib/openapi/platform/models/workflows.js.map +1 -1
- package/lib/openapi/platform/services/AnnouncementBannerService.d.ts +12 -9
- package/lib/openapi/platform/services/AnnouncementBannerService.js +10 -7
- package/lib/openapi/platform/services/AnnouncementBannerService.js.map +1 -1
- package/lib/openapi/platform/services/AppDataPoliciesService.d.ts +12 -5
- package/lib/openapi/platform/services/AppDataPoliciesService.js +13 -6
- package/lib/openapi/platform/services/AppDataPoliciesService.js.map +1 -1
- package/lib/openapi/platform/services/AppMigrationService.d.ts +13 -6
- package/lib/openapi/platform/services/AppMigrationService.js +12 -6
- package/lib/openapi/platform/services/AppMigrationService.js.map +1 -1
- package/lib/openapi/platform/services/AppPropertiesService.d.ts +43 -19
- package/lib/openapi/platform/services/AppPropertiesService.js +44 -20
- package/lib/openapi/platform/services/AppPropertiesService.js.map +1 -1
- package/lib/openapi/platform/services/ApplicationRolesService.d.ts +20 -21
- package/lib/openapi/platform/services/ApplicationRolesService.js +21 -22
- package/lib/openapi/platform/services/ApplicationRolesService.js.map +1 -1
- package/lib/openapi/platform/services/AuditRecordsService.d.ts +7 -3
- package/lib/openapi/platform/services/AuditRecordsService.js +8 -4
- package/lib/openapi/platform/services/AuditRecordsService.js.map +1 -1
- package/lib/openapi/platform/services/AvatarsService.d.ts +45 -38
- package/lib/openapi/platform/services/AvatarsService.js +45 -38
- package/lib/openapi/platform/services/AvatarsService.js.map +1 -1
- package/lib/openapi/platform/services/ClassificationLevelsService.d.ts +16 -22
- package/lib/openapi/platform/services/ClassificationLevelsService.js +17 -23
- package/lib/openapi/platform/services/ClassificationLevelsService.js.map +1 -1
- package/lib/openapi/platform/services/DashboardsService.d.ts +140 -146
- package/lib/openapi/platform/services/DashboardsService.js +122 -130
- package/lib/openapi/platform/services/DashboardsService.js.map +1 -1
- package/lib/openapi/platform/services/DynamicModulesService.d.ts +6 -4
- package/lib/openapi/platform/services/DynamicModulesService.js +7 -5
- package/lib/openapi/platform/services/DynamicModulesService.js.map +1 -1
- package/lib/openapi/platform/services/FilterSharingService.d.ts +73 -96
- package/lib/openapi/platform/services/FilterSharingService.js +70 -95
- package/lib/openapi/platform/services/FilterSharingService.js.map +1 -1
- package/lib/openapi/platform/services/FiltersService.d.ts +179 -258
- package/lib/openapi/platform/services/FiltersService.js +174 -256
- package/lib/openapi/platform/services/FiltersService.js.map +1 -1
- package/lib/openapi/platform/services/GroupAndUserPickerService.d.ts +9 -7
- package/lib/openapi/platform/services/GroupAndUserPickerService.js +10 -8
- package/lib/openapi/platform/services/GroupAndUserPickerService.js.map +1 -1
- package/lib/openapi/platform/services/GroupsService.d.ts +43 -27
- package/lib/openapi/platform/services/GroupsService.js +40 -26
- package/lib/openapi/platform/services/GroupsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueAttachmentsService.d.ts +174 -170
- package/lib/openapi/platform/services/IssueAttachmentsService.js +175 -171
- package/lib/openapi/platform/services/IssueAttachmentsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueBulkOperationsService.d.ts +36 -20
- package/lib/openapi/platform/services/IssueBulkOperationsService.js +35 -20
- package/lib/openapi/platform/services/IssueBulkOperationsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueCommentPropertiesService.d.ts +20 -10
- package/lib/openapi/platform/services/IssueCommentPropertiesService.js +21 -11
- package/lib/openapi/platform/services/IssueCommentPropertiesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueCommentsService.d.ts +66 -81
- package/lib/openapi/platform/services/IssueCommentsService.js +59 -71
- package/lib/openapi/platform/services/IssueCommentsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueCustomFieldConfigurationAppsService.d.ts +11 -5
- package/lib/openapi/platform/services/IssueCustomFieldConfigurationAppsService.js +10 -5
- package/lib/openapi/platform/services/IssueCustomFieldConfigurationAppsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueCustomFieldContextsService.d.ts +72 -38
- package/lib/openapi/platform/services/IssueCustomFieldContextsService.js +55 -27
- package/lib/openapi/platform/services/IssueCustomFieldContextsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueCustomFieldOptionsAppsService.d.ts +51 -29
- package/lib/openapi/platform/services/IssueCustomFieldOptionsAppsService.js +48 -28
- package/lib/openapi/platform/services/IssueCustomFieldOptionsAppsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueCustomFieldOptionsService.d.ts +38 -17
- package/lib/openapi/platform/services/IssueCustomFieldOptionsService.js +33 -15
- package/lib/openapi/platform/services/IssueCustomFieldOptionsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueCustomFieldValuesAppsService.d.ts +9 -5
- package/lib/openapi/platform/services/IssueCustomFieldValuesAppsService.js +6 -4
- package/lib/openapi/platform/services/IssueCustomFieldValuesAppsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueFieldConfigurationsService.d.ts +78 -35
- package/lib/openapi/platform/services/IssueFieldConfigurationsService.js +63 -28
- package/lib/openapi/platform/services/IssueFieldConfigurationsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueFieldsService.d.ts +57 -47
- package/lib/openapi/platform/services/IssueFieldsService.js +52 -42
- package/lib/openapi/platform/services/IssueFieldsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueLinkTypesService.d.ts +30 -12
- package/lib/openapi/platform/services/IssueLinkTypesService.js +27 -11
- package/lib/openapi/platform/services/IssueLinkTypesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueLinksService.d.ts +21 -24
- package/lib/openapi/platform/services/IssueLinksService.js +20 -24
- package/lib/openapi/platform/services/IssueLinksService.js.map +1 -1
- package/lib/openapi/platform/services/IssueNavigatorSettingsService.d.ts +8 -4
- package/lib/openapi/platform/services/IssueNavigatorSettingsService.js +9 -5
- package/lib/openapi/platform/services/IssueNavigatorSettingsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueNotificationSchemesService.d.ts +64 -70
- package/lib/openapi/platform/services/IssueNotificationSchemesService.js +59 -68
- package/lib/openapi/platform/services/IssueNotificationSchemesService.js.map +1 -1
- package/lib/openapi/platform/services/IssuePrioritiesService.d.ts +45 -27
- package/lib/openapi/platform/services/IssuePrioritiesService.js +38 -24
- package/lib/openapi/platform/services/IssuePrioritiesService.js.map +1 -1
- package/lib/openapi/platform/services/IssuePropertiesService.d.ts +34 -17
- package/lib/openapi/platform/services/IssuePropertiesService.js +29 -15
- package/lib/openapi/platform/services/IssuePropertiesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueRemoteLinksService.d.ts +42 -28
- package/lib/openapi/platform/services/IssueRemoteLinksService.js +39 -27
- package/lib/openapi/platform/services/IssueRemoteLinksService.js.map +1 -1
- package/lib/openapi/platform/services/IssueResolutionsService.d.ts +40 -17
- package/lib/openapi/platform/services/IssueResolutionsService.js +33 -14
- package/lib/openapi/platform/services/IssueResolutionsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueSearchService.d.ts +86 -139
- package/lib/openapi/platform/services/IssueSearchService.js +81 -137
- package/lib/openapi/platform/services/IssueSearchService.js.map +1 -1
- package/lib/openapi/platform/services/IssueSecurityLevelService.d.ts +20 -19
- package/lib/openapi/platform/services/IssueSecurityLevelService.js +21 -20
- package/lib/openapi/platform/services/IssueSecurityLevelService.js.map +1 -1
- package/lib/openapi/platform/services/IssueSecuritySchemesService.d.ts +78 -40
- package/lib/openapi/platform/services/IssueSecuritySchemesService.js +65 -34
- package/lib/openapi/platform/services/IssueSecuritySchemesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueTypePropertiesService.d.ts +22 -11
- package/lib/openapi/platform/services/IssueTypePropertiesService.js +21 -11
- package/lib/openapi/platform/services/IssueTypePropertiesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueTypeSchemesService.d.ts +53 -34
- package/lib/openapi/platform/services/IssueTypeSchemesService.js +42 -26
- package/lib/openapi/platform/services/IssueTypeSchemesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueTypeScreenSchemesService.d.ts +56 -27
- package/lib/openapi/platform/services/IssueTypeScreenSchemesService.js +45 -22
- package/lib/openapi/platform/services/IssueTypeScreenSchemesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueTypesService.d.ts +53 -42
- package/lib/openapi/platform/services/IssueTypesService.js +50 -41
- package/lib/openapi/platform/services/IssueTypesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueVotesService.d.ts +17 -17
- package/lib/openapi/platform/services/IssueVotesService.js +18 -18
- package/lib/openapi/platform/services/IssueVotesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueWatchersService.d.ts +20 -10
- package/lib/openapi/platform/services/IssueWatchersService.js +19 -10
- package/lib/openapi/platform/services/IssueWatchersService.js.map +1 -1
- package/lib/openapi/platform/services/IssueWorklogPropertiesService.d.ts +20 -13
- package/lib/openapi/platform/services/IssueWorklogPropertiesService.js +21 -14
- package/lib/openapi/platform/services/IssueWorklogPropertiesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueWorklogsService.d.ts +69 -67
- package/lib/openapi/platform/services/IssueWorklogsService.js +64 -65
- package/lib/openapi/platform/services/IssueWorklogsService.js.map +1 -1
- package/lib/openapi/platform/services/IssuesService.d.ts +226 -228
- package/lib/openapi/platform/services/IssuesService.js +197 -209
- package/lib/openapi/platform/services/IssuesService.js.map +1 -1
- package/lib/openapi/platform/services/JiraExpressionsService.d.ts +25 -24
- package/lib/openapi/platform/services/JiraExpressionsService.js +21 -20
- package/lib/openapi/platform/services/JiraExpressionsService.js.map +1 -1
- package/lib/openapi/platform/services/JiraSettingsService.d.ts +21 -9
- package/lib/openapi/platform/services/JiraSettingsService.js +20 -9
- package/lib/openapi/platform/services/JiraSettingsService.js.map +1 -1
- package/lib/openapi/platform/services/JqlFunctionsAppsService.d.ts +13 -9
- package/lib/openapi/platform/services/JqlFunctionsAppsService.js +12 -9
- package/lib/openapi/platform/services/JqlFunctionsAppsService.js.map +1 -1
- package/lib/openapi/platform/services/JqlService.d.ts +55 -43
- package/lib/openapi/platform/services/JqlService.js +45 -33
- package/lib/openapi/platform/services/JqlService.js.map +1 -1
- package/lib/openapi/platform/services/LabelsService.d.ts +7 -3
- package/lib/openapi/platform/services/LabelsService.js +8 -4
- package/lib/openapi/platform/services/LabelsService.js.map +1 -1
- package/lib/openapi/platform/services/LicenseMetricsService.d.ts +17 -7
- package/lib/openapi/platform/services/LicenseMetricsService.js +18 -8
- package/lib/openapi/platform/services/LicenseMetricsService.js.map +1 -1
- package/lib/openapi/platform/services/MyselfService.d.ts +28 -21
- package/lib/openapi/platform/services/MyselfService.js +27 -21
- package/lib/openapi/platform/services/MyselfService.js.map +1 -1
- package/lib/openapi/platform/services/PermissionSchemesService.d.ts +67 -55
- package/lib/openapi/platform/services/PermissionSchemesService.js +62 -53
- package/lib/openapi/platform/services/PermissionSchemesService.js.map +1 -1
- package/lib/openapi/platform/services/PermissionsService.d.ts +23 -11
- package/lib/openapi/platform/services/PermissionsService.js +22 -11
- package/lib/openapi/platform/services/PermissionsService.js.map +1 -1
- package/lib/openapi/platform/services/PrioritySchemesService.d.ts +60 -26
- package/lib/openapi/platform/services/PrioritySchemesService.js +54 -23
- package/lib/openapi/platform/services/PrioritySchemesService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectAvatarsService.d.ts +27 -24
- package/lib/openapi/platform/services/ProjectAvatarsService.js +26 -24
- package/lib/openapi/platform/services/ProjectAvatarsService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectCategoriesService.d.ts +30 -12
- package/lib/openapi/platform/services/ProjectCategoriesService.js +27 -11
- package/lib/openapi/platform/services/ProjectCategoriesService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectClassificationLevelsService.d.ts +17 -14
- package/lib/openapi/platform/services/ProjectClassificationLevelsService.js +15 -12
- package/lib/openapi/platform/services/ProjectClassificationLevelsService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectComponentsService.d.ts +198 -321
- package/lib/openapi/platform/services/ProjectComponentsService.js +195 -320
- package/lib/openapi/platform/services/ProjectComponentsService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectEmailService.d.ts +11 -5
- package/lib/openapi/platform/services/ProjectEmailService.js +10 -5
- package/lib/openapi/platform/services/ProjectEmailService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectFeaturesService.d.ts +23 -22
- package/lib/openapi/platform/services/ProjectFeaturesService.js +22 -22
- package/lib/openapi/platform/services/ProjectFeaturesService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectKeyAndNameValidationService.d.ts +19 -7
- package/lib/openapi/platform/services/ProjectKeyAndNameValidationService.js +20 -8
- package/lib/openapi/platform/services/ProjectKeyAndNameValidationService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectPermissionSchemesService.d.ts +32 -23
- package/lib/openapi/platform/services/ProjectPermissionSchemesService.js +31 -23
- package/lib/openapi/platform/services/ProjectPermissionSchemesService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectPropertiesService.d.ts +22 -11
- package/lib/openapi/platform/services/ProjectPropertiesService.js +21 -11
- package/lib/openapi/platform/services/ProjectPropertiesService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectRoleActorsService.d.ts +47 -33
- package/lib/openapi/platform/services/ProjectRoleActorsService.js +42 -31
- package/lib/openapi/platform/services/ProjectRoleActorsService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectRolesService.d.ts +67 -43
- package/lib/openapi/platform/services/ProjectRolesService.js +62 -41
- package/lib/openapi/platform/services/ProjectRolesService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectTypesService.d.ts +29 -21
- package/lib/openapi/platform/services/ProjectTypesService.js +30 -22
- package/lib/openapi/platform/services/ProjectTypesService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectVersionsService.d.ts +87 -36
- package/lib/openapi/platform/services/ProjectVersionsService.js +78 -32
- package/lib/openapi/platform/services/ProjectVersionsService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectsService.d.ts +207 -313
- package/lib/openapi/platform/services/ProjectsService.js +203 -310
- package/lib/openapi/platform/services/ProjectsService.js.map +1 -1
- package/lib/openapi/platform/services/ScreenSchemesService.d.ts +22 -11
- package/lib/openapi/platform/services/ScreenSchemesService.js +19 -10
- package/lib/openapi/platform/services/ScreenSchemesService.js.map +1 -1
- package/lib/openapi/platform/services/ScreenTabFieldsService.d.ts +15 -7
- package/lib/openapi/platform/services/ScreenTabFieldsService.js +14 -7
- package/lib/openapi/platform/services/ScreenTabFieldsService.js.map +1 -1
- package/lib/openapi/platform/services/ScreenTabsService.d.ts +27 -11
- package/lib/openapi/platform/services/ScreenTabsService.js +26 -11
- package/lib/openapi/platform/services/ScreenTabsService.js.map +1 -1
- package/lib/openapi/platform/services/ScreensService.d.ts +42 -28
- package/lib/openapi/platform/services/ScreensService.js +38 -25
- package/lib/openapi/platform/services/ScreensService.js.map +1 -1
- package/lib/openapi/platform/services/ServerInfoService.d.ts +6 -3
- package/lib/openapi/platform/services/ServerInfoService.js +7 -4
- package/lib/openapi/platform/services/ServerInfoService.js.map +1 -1
- package/lib/openapi/platform/services/ServiceRegistryService.d.ts +5 -3
- package/lib/openapi/platform/services/ServiceRegistryService.js +4 -3
- package/lib/openapi/platform/services/ServiceRegistryService.js.map +1 -1
- package/lib/openapi/platform/services/StatusService.d.ts +29 -15
- package/lib/openapi/platform/services/StatusService.js +26 -14
- package/lib/openapi/platform/services/StatusService.js.map +1 -1
- package/lib/openapi/platform/services/TasksService.d.ts +9 -4
- package/lib/openapi/platform/services/TasksService.js +10 -5
- package/lib/openapi/platform/services/TasksService.js.map +1 -1
- package/lib/openapi/platform/services/TimeTrackingService.d.ts +31 -14
- package/lib/openapi/platform/services/TimeTrackingService.js +27 -12
- package/lib/openapi/platform/services/TimeTrackingService.js.map +1 -1
- package/lib/openapi/platform/services/UiModificationsAppsService.d.ts +26 -19
- package/lib/openapi/platform/services/UiModificationsAppsService.js +23 -18
- package/lib/openapi/platform/services/UiModificationsAppsService.js.map +1 -1
- package/lib/openapi/platform/services/UserPropertiesService.d.ts +20 -10
- package/lib/openapi/platform/services/UserPropertiesService.js +21 -11
- package/lib/openapi/platform/services/UserPropertiesService.js.map +1 -1
- package/lib/openapi/platform/services/UserSearchService.d.ts +95 -126
- package/lib/openapi/platform/services/UserSearchService.js +96 -127
- package/lib/openapi/platform/services/UserSearchService.js.map +1 -1
- package/lib/openapi/platform/services/UsersService.d.ts +97 -95
- package/lib/openapi/platform/services/UsersService.js +96 -95
- package/lib/openapi/platform/services/UsersService.js.map +1 -1
- package/lib/openapi/platform/services/WebhooksService.d.ts +35 -18
- package/lib/openapi/platform/services/WebhooksService.js +30 -16
- package/lib/openapi/platform/services/WebhooksService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowSchemeDraftsService.d.ts +133 -147
- package/lib/openapi/platform/services/WorkflowSchemeDraftsService.js +124 -143
- package/lib/openapi/platform/services/WorkflowSchemeDraftsService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowSchemeProjectAssociationsService.d.ts +13 -10
- package/lib/openapi/platform/services/WorkflowSchemeProjectAssociationsService.js +12 -10
- package/lib/openapi/platform/services/WorkflowSchemeProjectAssociationsService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowSchemesService.d.ts +121 -82
- package/lib/openapi/platform/services/WorkflowSchemesService.js +106 -75
- package/lib/openapi/platform/services/WorkflowSchemesService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowStatusCategoriesService.d.ts +12 -5
- package/lib/openapi/platform/services/WorkflowStatusCategoriesService.js +13 -6
- package/lib/openapi/platform/services/WorkflowStatusCategoriesService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowStatusesService.d.ts +12 -5
- package/lib/openapi/platform/services/WorkflowStatusesService.js +13 -6
- package/lib/openapi/platform/services/WorkflowStatusesService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowTransitionPropertiesService.d.ts +25 -10
- package/lib/openapi/platform/services/WorkflowTransitionPropertiesService.js +22 -9
- package/lib/openapi/platform/services/WorkflowTransitionPropertiesService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowTransitionRulesService.d.ts +25 -13
- package/lib/openapi/platform/services/WorkflowTransitionRulesService.js +22 -12
- package/lib/openapi/platform/services/WorkflowTransitionRulesService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowsService.d.ts +791 -693
- package/lib/openapi/platform/services/WorkflowsService.js +754 -644
- package/lib/openapi/platform/services/WorkflowsService.js.map +1 -1
- package/lib/openapi/platform/validationSchemaStorage.d.ts +1 -1
- package/lib/openapi/platform/validationSchemaStorage.js +1 -1
- package/lib/openapi/platform/validationSchemaStorage.js.map +1 -1
- package/lib/openapi/serviceManagement/BaseJiraServiceManagementApiClient.d.ts +3 -3
- package/lib/openapi/serviceManagement/BaseJiraServiceManagementApiClient.js +3 -3
- package/lib/openapi/serviceManagement/BaseJiraServiceManagementApiClient.js.map +1 -1
- package/lib/openapi/serviceManagement/models/assets.d.ts +1 -1
- package/lib/openapi/serviceManagement/models/common.d.ts +1 -1
- package/lib/openapi/serviceManagement/models/customer.d.ts +1 -1
- package/lib/openapi/serviceManagement/models/info.d.ts +1 -1
- package/lib/openapi/serviceManagement/models/knowledgebase.d.ts +1 -1
- package/lib/openapi/serviceManagement/models/organization.d.ts +1 -1
- package/lib/openapi/serviceManagement/models/request.d.ts +1 -1
- package/lib/openapi/serviceManagement/models/servicedesk.d.ts +4 -7
- package/lib/openapi/serviceManagement/models/servicedesk.js.map +1 -1
- package/lib/openapi/serviceManagement/services/AssetsService.d.ts +11 -8
- package/lib/openapi/serviceManagement/services/AssetsService.js +12 -9
- package/lib/openapi/serviceManagement/services/AssetsService.js.map +1 -1
- package/lib/openapi/serviceManagement/services/CustomerService.d.ts +17 -20
- package/lib/openapi/serviceManagement/services/CustomerService.js +16 -20
- package/lib/openapi/serviceManagement/services/CustomerService.js.map +1 -1
- package/lib/openapi/serviceManagement/services/InfoService.d.ts +6 -3
- package/lib/openapi/serviceManagement/services/InfoService.js +7 -4
- package/lib/openapi/serviceManagement/services/InfoService.js.map +1 -1
- package/lib/openapi/serviceManagement/services/KnowledgebaseService.d.ts +11 -11
- package/lib/openapi/serviceManagement/services/KnowledgebaseService.js +12 -12
- package/lib/openapi/serviceManagement/services/KnowledgebaseService.js.map +1 -1
- package/lib/openapi/serviceManagement/services/OrganizationService.d.ts +108 -104
- package/lib/openapi/serviceManagement/services/OrganizationService.js +97 -99
- package/lib/openapi/serviceManagement/services/OrganizationService.js.map +1 -1
- package/lib/openapi/serviceManagement/services/RequestService.d.ts +420 -578
- package/lib/openapi/serviceManagement/services/RequestService.js +405 -571
- package/lib/openapi/serviceManagement/services/RequestService.js.map +1 -1
- package/lib/openapi/serviceManagement/services/RequesttypeService.d.ts +25 -39
- package/lib/openapi/serviceManagement/services/RequesttypeService.js +26 -40
- package/lib/openapi/serviceManagement/services/RequesttypeService.js.map +1 -1
- package/lib/openapi/serviceManagement/services/ServicedeskService.d.ts +195 -215
- package/lib/openapi/serviceManagement/services/ServicedeskService.js +190 -213
- package/lib/openapi/serviceManagement/services/ServicedeskService.js.map +1 -1
- package/lib/openapi/serviceManagement/validationSchemaStorage.d.ts +1 -1
- package/lib/openapi/serviceManagement/validationSchemaStorage.js +1 -1
- package/lib/openapi/serviceManagement/validationSchemaStorage.js.map +1 -1
- package/lib/openapi/software/BaseJiraSoftwareApiClient.d.ts +2 -2
- package/lib/openapi/software/BaseJiraSoftwareApiClient.js +2 -2
- package/lib/openapi/software/BaseJiraSoftwareApiClient.js.map +1 -1
- package/lib/openapi/software/models/board.d.ts +4 -7
- package/lib/openapi/software/models/board.js.map +1 -1
- package/lib/openapi/software/models/builds.d.ts +39 -20
- package/lib/openapi/software/models/builds.js.map +1 -1
- package/lib/openapi/software/models/common.d.ts +8 -6
- package/lib/openapi/software/models/common.js.map +1 -1
- package/lib/openapi/software/models/deployments.d.ts +37 -18
- package/lib/openapi/software/models/deployments.js.map +1 -1
- package/lib/openapi/software/models/devOpsComponents.d.ts +7 -4
- package/lib/openapi/software/models/devOpsComponents.js.map +1 -1
- package/lib/openapi/software/models/developmentInformation.d.ts +107 -55
- package/lib/openapi/software/models/developmentInformation.js.map +1 -1
- package/lib/openapi/software/models/epic.d.ts +1 -1
- package/lib/openapi/software/models/featureFlags.d.ts +17 -9
- package/lib/openapi/software/models/featureFlags.js.map +1 -1
- package/lib/openapi/software/models/issue.d.ts +1 -1
- package/lib/openapi/software/models/operations.d.ts +61 -31
- package/lib/openapi/software/models/operations.js.map +1 -1
- package/lib/openapi/software/models/remoteLinks.d.ts +37 -19
- package/lib/openapi/software/models/remoteLinks.js.map +1 -1
- package/lib/openapi/software/models/securityInformation.d.ts +53 -27
- package/lib/openapi/software/models/securityInformation.js.map +1 -1
- package/lib/openapi/software/models/sprint.d.ts +1 -1
- package/lib/openapi/software/services/BacklogService.d.ts +14 -8
- package/lib/openapi/software/services/BacklogService.js +11 -7
- package/lib/openapi/software/services/BacklogService.js.map +1 -1
- package/lib/openapi/software/services/BoardService.d.ts +200 -204
- package/lib/openapi/software/services/BoardService.js +197 -203
- package/lib/openapi/software/services/BoardService.js.map +1 -1
- package/lib/openapi/software/services/BuildsService.d.ts +11 -9
- package/lib/openapi/software/services/BuildsService.js +12 -10
- package/lib/openapi/software/services/BuildsService.js.map +1 -1
- package/lib/openapi/software/services/DeploymentsService.d.ts +13 -13
- package/lib/openapi/software/services/DeploymentsService.js +14 -14
- package/lib/openapi/software/services/DeploymentsService.js.map +1 -1
- package/lib/openapi/software/services/DevOpsComponentsService.d.ts +33 -20
- package/lib/openapi/software/services/DevOpsComponentsService.js +12 -10
- package/lib/openapi/software/services/DevOpsComponentsService.js.map +1 -1
- package/lib/openapi/software/services/DevelopmentInformationService.d.ts +14 -9
- package/lib/openapi/software/services/DevelopmentInformationService.js +15 -10
- package/lib/openapi/software/services/DevelopmentInformationService.js.map +1 -1
- package/lib/openapi/software/services/EpicService.d.ts +67 -76
- package/lib/openapi/software/services/EpicService.js +60 -73
- package/lib/openapi/software/services/EpicService.js.map +1 -1
- package/lib/openapi/software/services/FeatureFlagsService.d.ts +11 -9
- package/lib/openapi/software/services/FeatureFlagsService.js +12 -10
- package/lib/openapi/software/services/FeatureFlagsService.js.map +1 -1
- package/lib/openapi/software/services/IssueService.d.ts +45 -44
- package/lib/openapi/software/services/IssueService.js +42 -43
- package/lib/openapi/software/services/IssueService.js.map +1 -1
- package/lib/openapi/software/services/OperationsService.d.ts +66 -38
- package/lib/openapi/software/services/OperationsService.js +23 -17
- package/lib/openapi/software/services/OperationsService.js.map +1 -1
- package/lib/openapi/software/services/RemoteLinksService.d.ts +18 -13
- package/lib/openapi/software/services/RemoteLinksService.js +12 -10
- package/lib/openapi/software/services/RemoteLinksService.js.map +1 -1
- package/lib/openapi/software/services/SecurityInformationService.d.ts +19 -13
- package/lib/openapi/software/services/SecurityInformationService.js +20 -14
- package/lib/openapi/software/services/SecurityInformationService.js.map +1 -1
- package/lib/openapi/software/services/SprintService.d.ts +79 -55
- package/lib/openapi/software/services/SprintService.js +70 -51
- package/lib/openapi/software/services/SprintService.js.map +1 -1
- package/lib/openapi/software/validationSchemaStorage.d.ts +1 -1
- package/lib/openapi/software/validationSchemaStorage.js +1 -1
- package/lib/openapi/software/validationSchemaStorage.js.map +1 -1
- package/package.json +3 -3
- package/lib/openapi/platform/core/CommonHttpClient.js +0 -390
- package/lib/openapi/platform/core/CommonHttpClient.js.map +0 -1
- package/lib/openapi/platform/core/CommonHttpService.d.ts +0 -9
- package/lib/openapi/platform/core/CommonHttpService.js.map +0 -1
- package/lib/openapi/platform/core/CommonValidationSchemaStorage.js.map +0 -1
- package/lib/openapi/serviceManagement/core/CommonHttpClient.d.ts +0 -196
- package/lib/openapi/serviceManagement/core/CommonHttpClient.js.map +0 -1
- package/lib/openapi/serviceManagement/core/CommonHttpService.d.ts +0 -9
- package/lib/openapi/serviceManagement/core/CommonHttpService.js +0 -29
- package/lib/openapi/serviceManagement/core/CommonHttpService.js.map +0 -1
- package/lib/openapi/serviceManagement/core/CommonValidationSchemaStorage.d.ts +0 -35
- package/lib/openapi/serviceManagement/core/CommonValidationSchemaStorage.js +0 -65
- package/lib/openapi/serviceManagement/core/CommonValidationSchemaStorage.js.map +0 -1
- package/lib/openapi/software/core/CommonHttpClient.d.ts +0 -196
- package/lib/openapi/software/core/CommonHttpClient.js +0 -390
- package/lib/openapi/software/core/CommonHttpClient.js.map +0 -1
- package/lib/openapi/software/core/CommonHttpService.js +0 -29
- package/lib/openapi/software/core/CommonHttpService.js.map +0 -1
- package/lib/openapi/software/core/CommonValidationSchemaStorage.d.ts +0 -35
- package/lib/openapi/software/core/CommonValidationSchemaStorage.js +0 -65
- package/lib/openapi/software/core/CommonValidationSchemaStorage.js.map +0 -1
- /package/lib/openapi/{platform/core → core}/CommonValidationSchemaStorage.d.ts +0 -0
- /package/lib/openapi/{platform/core → core}/CommonValidationSchemaStorage.js +0 -0
|
@@ -5,8 +5,8 @@ exports.ProjectsService = void 0;
|
|
|
5
5
|
// This file is generated by "api-typescript-generator".
|
|
6
6
|
// To update this file run "yarn build:openapi".
|
|
7
7
|
const zod_1 = require("zod");
|
|
8
|
-
const commonHttpClient = require("
|
|
9
|
-
const CommonHttpService_1 = require("
|
|
8
|
+
const commonHttpClient = require("../../core/CommonHttpClient");
|
|
9
|
+
const CommonHttpService_1 = require("../../core/CommonHttpService");
|
|
10
10
|
const common_1 = require("../models/common");
|
|
11
11
|
const projects_1 = require("../models/projects");
|
|
12
12
|
const validationSchemaStorage_1 = require("../validationSchemaStorage");
|
|
@@ -29,10 +29,11 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
|
|
|
29
29
|
* permission](https://confluence.atlassian.com/x/x4dKLg).
|
|
30
30
|
*
|
|
31
31
|
* @returns Returned if the request is successful.
|
|
32
|
-
* @path
|
|
32
|
+
* @path POST `/rest/api/3/project/{projectIdOrKey}/archive`
|
|
33
33
|
* @scopes-current manage:jira-project
|
|
34
34
|
* @scopes-beta write:project:jira
|
|
35
35
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-projects#api-rest-api-3-project-projectidorkey-archive-post
|
|
36
|
+
* @param params
|
|
36
37
|
*/
|
|
37
38
|
this.archiveProject = ({ projectIdOrKey, }) => {
|
|
38
39
|
return this.getClientInstance()
|
|
@@ -116,15 +117,19 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
|
|
|
116
117
|
*
|
|
117
118
|
* @returns Returned if the project is created.
|
|
118
119
|
*
|
|
119
|
-
* example:
|
|
120
|
+
* example:
|
|
121
|
+
* ```
|
|
122
|
+
* {
|
|
120
123
|
* "id": 10010,
|
|
121
124
|
* "key": "EX",
|
|
122
125
|
* "self": "https://your-domain.atlassian.net/jira/rest/api/3/project/10042"
|
|
123
126
|
* }
|
|
124
|
-
*
|
|
127
|
+
* ```
|
|
128
|
+
* @path POST `/rest/api/3/project`
|
|
125
129
|
* @scopes-current manage:jira-configuration
|
|
126
130
|
* @scopes-beta write:project:jira, read:project:jira
|
|
127
131
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-projects#api-rest-api-3-project-post
|
|
132
|
+
* @param params
|
|
128
133
|
*/
|
|
129
134
|
this.createProject = ({ createProjectDetails, }) => {
|
|
130
135
|
return this.getClientInstance()
|
|
@@ -154,10 +159,11 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
|
|
|
154
159
|
* **[Permissions](#permissions) required:** *Administer Jira* [global
|
|
155
160
|
* permission](https://confluence.atlassian.com/x/x4dKLg).
|
|
156
161
|
*
|
|
157
|
-
* @path
|
|
162
|
+
* @path DELETE `/rest/api/3/project/{projectIdOrKey}`
|
|
158
163
|
* @scopes-current manage:jira-configuration
|
|
159
164
|
* @scopes-beta delete:project:jira
|
|
160
165
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-projects#api-rest-api-3-project-projectidorkey-delete
|
|
166
|
+
* @param params
|
|
161
167
|
*/
|
|
162
168
|
this.deleteProject = ({ projectIdOrKey, enableUndo, }) => {
|
|
163
169
|
return this.getClientInstance()
|
|
@@ -187,10 +193,11 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
|
|
|
187
193
|
* **[Permissions](#permissions) required:** *Administer Jira* [global
|
|
188
194
|
* permission](https://confluence.atlassian.com/x/x4dKLg).
|
|
189
195
|
*
|
|
190
|
-
* @path
|
|
196
|
+
* @path POST `/rest/api/3/project/{projectIdOrKey}/delete`
|
|
191
197
|
* @scopes-current manage:jira-configuration
|
|
192
198
|
* @scopes-beta write:project:jira, write:project.property:jira
|
|
193
199
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-projects#api-rest-api-3-project-projectidorkey-delete-post
|
|
200
|
+
* @param params
|
|
194
201
|
*/
|
|
195
202
|
this.deleteProjectAsynchronously = ({ projectIdOrKey, }) => {
|
|
196
203
|
return this.getClientInstance()
|
|
@@ -217,17 +224,15 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
|
|
|
217
224
|
* @deprecated
|
|
218
225
|
* @returns Returned if the request is successful.
|
|
219
226
|
*
|
|
220
|
-
* example:
|
|
227
|
+
* example:
|
|
228
|
+
* ```
|
|
229
|
+
* [
|
|
221
230
|
* {
|
|
222
231
|
* "avatarUrls": {
|
|
223
|
-
* "16x16":
|
|
224
|
-
* "https://your-domain.atlassian.net/secure/projectavatar?size=
|
|
225
|
-
* "
|
|
226
|
-
* "https://your-domain.atlassian.net/secure/projectavatar?size=
|
|
227
|
-
* "32x32":
|
|
228
|
-
* "https://your-domain.atlassian.net/secure/projectavatar?size=medium&pid=10000",
|
|
229
|
-
* "48x48":
|
|
230
|
-
* "https://your-domain.atlassian.net/secure/projectavatar?size=large&pid=10000"
|
|
232
|
+
* "16x16": "https://your-domain.atlassian.net/secure/projectavatar?size=xsmall&pid=10000",
|
|
233
|
+
* "24x24": "https://your-domain.atlassian.net/secure/projectavatar?size=small&pid=10000",
|
|
234
|
+
* "32x32": "https://your-domain.atlassian.net/secure/projectavatar?size=medium&pid=10000",
|
|
235
|
+
* "48x48": "https://your-domain.atlassian.net/secure/projectavatar?size=large&pid=10000"
|
|
231
236
|
* },
|
|
232
237
|
* "id": "10000",
|
|
233
238
|
* "insight": {
|
|
@@ -240,8 +245,7 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
|
|
|
240
245
|
* "description": "First Project Category",
|
|
241
246
|
* "id": "10000",
|
|
242
247
|
* "name": "FIRST",
|
|
243
|
-
* "self":
|
|
244
|
-
* "https://your-domain.atlassian.net/rest/api/3/projectCategory/10000"
|
|
248
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/projectCategory/10000"
|
|
245
249
|
* },
|
|
246
250
|
* "self": "https://your-domain.atlassian.net/rest/api/3/project/EX",
|
|
247
251
|
* "simplified": false,
|
|
@@ -249,14 +253,10 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
|
|
|
249
253
|
* },
|
|
250
254
|
* {
|
|
251
255
|
* "avatarUrls": {
|
|
252
|
-
* "16x16":
|
|
253
|
-
* "https://your-domain.atlassian.net/secure/projectavatar?size=
|
|
254
|
-
* "
|
|
255
|
-
* "https://your-domain.atlassian.net/secure/projectavatar?size=
|
|
256
|
-
* "32x32":
|
|
257
|
-
* "https://your-domain.atlassian.net/secure/projectavatar?size=medium&pid=10001",
|
|
258
|
-
* "48x48":
|
|
259
|
-
* "https://your-domain.atlassian.net/secure/projectavatar?size=large&pid=10001"
|
|
256
|
+
* "16x16": "https://your-domain.atlassian.net/secure/projectavatar?size=xsmall&pid=10001",
|
|
257
|
+
* "24x24": "https://your-domain.atlassian.net/secure/projectavatar?size=small&pid=10001",
|
|
258
|
+
* "32x32": "https://your-domain.atlassian.net/secure/projectavatar?size=medium&pid=10001",
|
|
259
|
+
* "48x48": "https://your-domain.atlassian.net/secure/projectavatar?size=large&pid=10001"
|
|
260
260
|
* },
|
|
261
261
|
* "id": "10001",
|
|
262
262
|
* "insight": {
|
|
@@ -269,21 +269,19 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
|
|
|
269
269
|
* "description": "First Project Category",
|
|
270
270
|
* "id": "10000",
|
|
271
271
|
* "name": "FIRST",
|
|
272
|
-
* "self":
|
|
273
|
-
* "https://your-domain.atlassian.net/rest/api/3/projectCategory/10000"
|
|
272
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/projectCategory/10000"
|
|
274
273
|
* },
|
|
275
274
|
* "self": "https://your-domain.atlassian.net/rest/api/3/project/ABC",
|
|
276
275
|
* "simplified": false,
|
|
277
276
|
* "style": "CLASSIC"
|
|
278
277
|
* }
|
|
279
278
|
* ]
|
|
280
|
-
*
|
|
279
|
+
* ```
|
|
280
|
+
* @path GET `/rest/api/3/project`
|
|
281
281
|
* @scopes-current read:jira-work
|
|
282
|
-
* @scopes-beta read:issue-type:jira, read:project:jira, read:project.property:jira,
|
|
283
|
-
* read:user:jira, read:application-role:jira, read:avatar:jira, read:group:jira,
|
|
284
|
-
* read:issue-type-hierarchy:jira, read:project-category:jira,
|
|
285
|
-
* read:project-version:jira, read:project.component:jira
|
|
282
|
+
* @scopes-beta read:issue-type:jira, read:project:jira, read:project.property:jira, read:user:jira, read:application-role:jira, read:avatar:jira, read:group:jira, read:issue-type-hierarchy:jira, read:project-category:jira, read:project-version:jira, read:project.component:jira
|
|
286
283
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-projects#api-rest-api-3-project-get
|
|
284
|
+
* @param params
|
|
287
285
|
*/
|
|
288
286
|
this.getAllProjects = ({ expand, recent, properties, } = {}) => {
|
|
289
287
|
return this.getClientInstance()
|
|
@@ -317,7 +315,9 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
|
|
|
317
315
|
*
|
|
318
316
|
* @returns Returned if the request is successful.
|
|
319
317
|
*
|
|
320
|
-
* example:
|
|
318
|
+
* example:
|
|
319
|
+
* ```
|
|
320
|
+
* [
|
|
321
321
|
* {
|
|
322
322
|
* "id": "3",
|
|
323
323
|
* "name": "Task",
|
|
@@ -325,8 +325,7 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
|
|
|
325
325
|
* "statuses": [
|
|
326
326
|
* {
|
|
327
327
|
* "description": "The issue is currently being worked on.",
|
|
328
|
-
* "iconUrl":
|
|
329
|
-
* "https://your-domain.atlassian.net/images/icons/progress.gif",
|
|
328
|
+
* "iconUrl": "https://your-domain.atlassian.net/images/icons/progress.gif",
|
|
330
329
|
* "id": "10000",
|
|
331
330
|
* "name": "In Progress",
|
|
332
331
|
* "self": "https://your-domain.atlassian.net/rest/api/3/status/10000"
|
|
@@ -342,10 +341,12 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
|
|
|
342
341
|
* "subtask": false
|
|
343
342
|
* }
|
|
344
343
|
* ]
|
|
345
|
-
*
|
|
344
|
+
* ```
|
|
345
|
+
* @path GET `/rest/api/3/project/{projectIdOrKey}/statuses`
|
|
346
346
|
* @scopes-current read:jira-work
|
|
347
347
|
* @scopes-beta read:issue-status:jira, read:issue-type:jira, read:status:jira
|
|
348
348
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-projects#api-rest-api-3-project-projectidorkey-statuses-get
|
|
349
|
+
* @param params
|
|
349
350
|
*/
|
|
350
351
|
this.getAllStatuses = ({ projectIdOrKey, }) => {
|
|
351
352
|
return this.getClientInstance()
|
|
@@ -383,7 +384,9 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
|
|
|
383
384
|
*
|
|
384
385
|
* @returns Returned if the request is successful.
|
|
385
386
|
*
|
|
386
|
-
* example:
|
|
387
|
+
* example:
|
|
388
|
+
* ```
|
|
389
|
+
* {
|
|
387
390
|
* "hierarchy": [
|
|
388
391
|
* {
|
|
389
392
|
* "issueTypes": [
|
|
@@ -430,10 +433,12 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
|
|
|
430
433
|
* ],
|
|
431
434
|
* "projectId": 10030
|
|
432
435
|
* }
|
|
433
|
-
*
|
|
436
|
+
* ```
|
|
437
|
+
* @path GET `/rest/api/3/project/{projectId}/hierarchy`
|
|
434
438
|
* @scopes-current read:jira-work
|
|
435
439
|
* @scopes-beta read:issue-type:jira, read:issue-type-hierarchy:jira
|
|
436
440
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-projects#api-rest-api-3-project-projectid-hierarchy-get
|
|
441
|
+
* @param params
|
|
437
442
|
*/
|
|
438
443
|
this.getHierarchy = ({ projectId, }) => {
|
|
439
444
|
return this.getClientInstance()
|
|
@@ -463,7 +468,9 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
|
|
|
463
468
|
*
|
|
464
469
|
* @returns Returned if the request is successful.
|
|
465
470
|
*
|
|
466
|
-
* example:
|
|
471
|
+
* example:
|
|
472
|
+
* ```
|
|
473
|
+
* {
|
|
467
474
|
* "description": "description",
|
|
468
475
|
* "expand": "notificationSchemeEvents,user,group,projectRole,field,all",
|
|
469
476
|
* "id": 10100,
|
|
@@ -481,8 +488,7 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
|
|
|
481
488
|
* "group": {
|
|
482
489
|
* "groupId": "276f955c-63d7-42c8-9520-92d01dca0625",
|
|
483
490
|
* "name": "jira-administrators",
|
|
484
|
-
* "self":
|
|
485
|
-
* "https://your-domain.atlassian.net/rest/api/3/group?groupId=276f955c-63d7-42c8-9520-92d01dca0625"
|
|
491
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/group?groupId=276f955c-63d7-42c8-9520-92d01dca0625"
|
|
486
492
|
* },
|
|
487
493
|
* "id": 1,
|
|
488
494
|
* "notificationType": "Group",
|
|
@@ -499,12 +505,10 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
|
|
|
499
505
|
* "notificationType": "ProjectRole",
|
|
500
506
|
* "parameter": "10360",
|
|
501
507
|
* "projectRole": {
|
|
502
|
-
* "self":
|
|
503
|
-
* "https://your-domain.atlassian.net/rest/api/3/project/MKY/role/10360",
|
|
508
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/project/MKY/role/10360",
|
|
504
509
|
* "name": "Developers",
|
|
505
510
|
* "id": 10360,
|
|
506
|
-
* "description": "A project role that represents developers in a
|
|
507
|
-
* project",
|
|
511
|
+
* "description": "A project role that represents developers in a project",
|
|
508
512
|
* "actors": [
|
|
509
513
|
* {
|
|
510
514
|
* "actorGroup": {
|
|
@@ -554,8 +558,7 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
|
|
|
554
558
|
* "accountId": "5b10a2844c20165700ede21g",
|
|
555
559
|
* "active": false,
|
|
556
560
|
* "displayName": "Mia Krystof",
|
|
557
|
-
* "self":
|
|
558
|
-
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
561
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
559
562
|
* }
|
|
560
563
|
* },
|
|
561
564
|
* {
|
|
@@ -572,8 +575,7 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
|
|
|
572
575
|
* "navigable": true,
|
|
573
576
|
* "orderable": true,
|
|
574
577
|
* "schema": {
|
|
575
|
-
* "custom":
|
|
576
|
-
* "com.atlassian.jira.plugin.system.customfieldtypes:project",
|
|
578
|
+
* "custom": "com.atlassian.jira.plugin.system.customfieldtypes:project",
|
|
577
579
|
* "customId": 10101,
|
|
578
580
|
* "type": "project"
|
|
579
581
|
* },
|
|
@@ -589,8 +591,7 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
|
|
|
589
591
|
* },
|
|
590
592
|
* {
|
|
591
593
|
* "event": {
|
|
592
|
-
* "description": "Custom event that is published together with an issue
|
|
593
|
-
* created event",
|
|
594
|
+
* "description": "Custom event that is published together with an issue created event",
|
|
594
595
|
* "id": 20,
|
|
595
596
|
* "name": "Custom event",
|
|
596
597
|
* "templateEvent": {
|
|
@@ -605,8 +606,7 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
|
|
|
605
606
|
* "group": {
|
|
606
607
|
* "groupId": "276f955c-63d7-42c8-9520-92d01dca0625",
|
|
607
608
|
* "name": "jira-administrators",
|
|
608
|
-
* "self":
|
|
609
|
-
* "https://your-domain.atlassian.net/rest/api/3/group?groupId=276f955c-63d7-42c8-9520-92d01dca0625"
|
|
609
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/group?groupId=276f955c-63d7-42c8-9520-92d01dca0625"
|
|
610
610
|
* },
|
|
611
611
|
* "id": 1,
|
|
612
612
|
* "notificationType": "Group",
|
|
@@ -623,12 +623,10 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
|
|
|
623
623
|
* "notificationType": "ProjectRole",
|
|
624
624
|
* "parameter": "10360",
|
|
625
625
|
* "projectRole": {
|
|
626
|
-
* "self":
|
|
627
|
-
* "https://your-domain.atlassian.net/rest/api/3/project/MKY/role/10360",
|
|
626
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/project/MKY/role/10360",
|
|
628
627
|
* "name": "Developers",
|
|
629
628
|
* "id": 10360,
|
|
630
|
-
* "description": "A project role that represents developers in a
|
|
631
|
-
* project",
|
|
629
|
+
* "description": "A project role that represents developers in a project",
|
|
632
630
|
* "actors": [
|
|
633
631
|
* {
|
|
634
632
|
* "actorGroup": {
|
|
@@ -678,8 +676,7 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
|
|
|
678
676
|
* "accountId": "5b10a2844c20165700ede21g",
|
|
679
677
|
* "active": false,
|
|
680
678
|
* "displayName": "Mia Krystof",
|
|
681
|
-
* "self":
|
|
682
|
-
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
679
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
683
680
|
* }
|
|
684
681
|
* },
|
|
685
682
|
* {
|
|
@@ -696,8 +693,7 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
|
|
|
696
693
|
* "navigable": true,
|
|
697
694
|
* "orderable": true,
|
|
698
695
|
* "schema": {
|
|
699
|
-
* "custom":
|
|
700
|
-
* "com.atlassian.jira.plugin.system.customfieldtypes:project",
|
|
696
|
+
* "custom": "com.atlassian.jira.plugin.system.customfieldtypes:project",
|
|
701
697
|
* "customId": 10101,
|
|
702
698
|
* "type": "project"
|
|
703
699
|
* },
|
|
@@ -718,12 +714,12 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
|
|
|
718
714
|
* ],
|
|
719
715
|
* "self": "https://your-domain.atlassian.net/rest/api/3/notificationscheme"
|
|
720
716
|
* }
|
|
721
|
-
*
|
|
717
|
+
* ```
|
|
718
|
+
* @path GET `/rest/api/3/project/{projectKeyOrId}/notificationscheme`
|
|
722
719
|
* @scopes-current read:jira-work
|
|
723
|
-
* @scopes-beta read:project-category:jira, read:project-role:jira, read:project:jira,
|
|
724
|
-
* read:user:jira, read:group:jira, read:field:jira, read:avatar:jira,
|
|
725
|
-
* read:field-configuration:jira, read:notification-scheme:jira
|
|
720
|
+
* @scopes-beta read:project-category:jira, read:project-role:jira, read:project:jira, read:user:jira, read:group:jira, read:field:jira, read:avatar:jira, read:field-configuration:jira, read:notification-scheme:jira
|
|
726
721
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-projects#api-rest-api-3-project-projectkeyorid-notificationscheme-get
|
|
722
|
+
* @param params
|
|
727
723
|
*/
|
|
728
724
|
this.getNotificationSchemeForProject = ({ projectKeyOrId, expand, }) => {
|
|
729
725
|
return this.getClientInstance()
|
|
@@ -757,41 +753,33 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
|
|
|
757
753
|
*
|
|
758
754
|
* @returns Returned if successful.
|
|
759
755
|
*
|
|
760
|
-
* example:
|
|
756
|
+
* example:
|
|
757
|
+
* ```
|
|
758
|
+
* {
|
|
761
759
|
* "assigneeType": "PROJECT_LEAD",
|
|
762
760
|
* "avatarUrls": {
|
|
763
|
-
* "16x16":
|
|
764
|
-
* "https://your-domain.atlassian.net/secure/projectavatar?size=
|
|
765
|
-
* "
|
|
766
|
-
* "https://your-domain.atlassian.net/secure/projectavatar?size=
|
|
767
|
-
* "32x32":
|
|
768
|
-
* "https://your-domain.atlassian.net/secure/projectavatar?size=medium&pid=10000",
|
|
769
|
-
* "48x48":
|
|
770
|
-
* "https://your-domain.atlassian.net/secure/projectavatar?size=large&pid=10000"
|
|
761
|
+
* "16x16": "https://your-domain.atlassian.net/secure/projectavatar?size=xsmall&pid=10000",
|
|
762
|
+
* "24x24": "https://your-domain.atlassian.net/secure/projectavatar?size=small&pid=10000",
|
|
763
|
+
* "32x32": "https://your-domain.atlassian.net/secure/projectavatar?size=medium&pid=10000",
|
|
764
|
+
* "48x48": "https://your-domain.atlassian.net/secure/projectavatar?size=large&pid=10000"
|
|
771
765
|
* },
|
|
772
766
|
* "components": [
|
|
773
767
|
* {
|
|
774
|
-
* "ari":
|
|
775
|
-
* "ari:cloud:compass:fdb3fdec-4e70-be56-11ee-0242ac120002:component/fdb3fdec-4e70-11ee-be56-0242ac120002/fdb3fdec-11ee-4e70-be56-0242ac120002",
|
|
768
|
+
* "ari": "ari:cloud:compass:fdb3fdec-4e70-be56-11ee-0242ac120002:component/fdb3fdec-4e70-11ee-be56-0242ac120002/fdb3fdec-11ee-4e70-be56-0242ac120002",
|
|
776
769
|
* "assignee": {
|
|
777
770
|
* "accountId": "5b10a2844c20165700ede21g",
|
|
778
771
|
* "accountType": "atlassian",
|
|
779
772
|
* "active": false,
|
|
780
773
|
* "avatarUrls": {
|
|
781
|
-
* "16x16":
|
|
782
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
783
|
-
* "
|
|
784
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
785
|
-
* "32x32":
|
|
786
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
787
|
-
* "48x48":
|
|
788
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
774
|
+
* "16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
775
|
+
* "24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
776
|
+
* "32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
777
|
+
* "48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
789
778
|
* },
|
|
790
779
|
* "displayName": "Mia Krystof",
|
|
791
780
|
* "key": "",
|
|
792
781
|
* "name": "",
|
|
793
|
-
* "self":
|
|
794
|
-
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
782
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
795
783
|
* },
|
|
796
784
|
* "assigneeType": "PROJECT_LEAD",
|
|
797
785
|
* "description": "This is a Jira component",
|
|
@@ -802,20 +790,15 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
|
|
|
802
790
|
* "accountType": "atlassian",
|
|
803
791
|
* "active": false,
|
|
804
792
|
* "avatarUrls": {
|
|
805
|
-
* "16x16":
|
|
806
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
807
|
-
* "
|
|
808
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
809
|
-
* "32x32":
|
|
810
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
811
|
-
* "48x48":
|
|
812
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
793
|
+
* "16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
794
|
+
* "24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
795
|
+
* "32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
796
|
+
* "48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
813
797
|
* },
|
|
814
798
|
* "displayName": "Mia Krystof",
|
|
815
799
|
* "key": "",
|
|
816
800
|
* "name": "",
|
|
817
|
-
* "self":
|
|
818
|
-
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
801
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
819
802
|
* },
|
|
820
803
|
* "metadata": {
|
|
821
804
|
* "icon": "https://www.example.com/icon.png"
|
|
@@ -828,20 +811,15 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
|
|
|
828
811
|
* "accountType": "atlassian",
|
|
829
812
|
* "active": false,
|
|
830
813
|
* "avatarUrls": {
|
|
831
|
-
* "16x16":
|
|
832
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
833
|
-
* "
|
|
834
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
835
|
-
* "32x32":
|
|
836
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
837
|
-
* "48x48":
|
|
838
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
814
|
+
* "16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
815
|
+
* "24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
816
|
+
* "32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
817
|
+
* "48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
839
818
|
* },
|
|
840
819
|
* "displayName": "Mia Krystof",
|
|
841
820
|
* "key": "",
|
|
842
821
|
* "name": "",
|
|
843
|
-
* "self":
|
|
844
|
-
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
822
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
845
823
|
* },
|
|
846
824
|
* "realAssigneeType": "PROJECT_LEAD",
|
|
847
825
|
* "self": "https://your-domain.atlassian.net/rest/api/3/component/10000"
|
|
@@ -859,8 +837,7 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
|
|
|
859
837
|
* "avatarId": 1,
|
|
860
838
|
* "description": "A task that needs to be done.",
|
|
861
839
|
* "hierarchyLevel": 0,
|
|
862
|
-
* "iconUrl":
|
|
863
|
-
* "https://your-domain.atlassian.net/secure/viewavatar?size=xsmall&avatarId=10299&avatarType=issuetype\",",
|
|
840
|
+
* "iconUrl": "https://your-domain.atlassian.net/secure/viewavatar?size=xsmall&avatarId=10299&avatarType=issuetype\",",
|
|
864
841
|
* "id": "3",
|
|
865
842
|
* "name": "Task",
|
|
866
843
|
* "self": "https://your-domain.atlassian.net/rest/api/3/issueType/3",
|
|
@@ -871,8 +848,7 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
|
|
|
871
848
|
* "description": "A problem with the software.",
|
|
872
849
|
* "entityId": "9d7dd6f7-e8b6-4247-954b-7b2c9b2a5ba2",
|
|
873
850
|
* "hierarchyLevel": 0,
|
|
874
|
-
* "iconUrl":
|
|
875
|
-
* "https://your-domain.atlassian.net/secure/viewavatar?size=xsmall&avatarId=10316&avatarType=issuetype\",",
|
|
851
|
+
* "iconUrl": "https://your-domain.atlassian.net/secure/viewavatar?size=xsmall&avatarId=10316&avatarType=issuetype\",",
|
|
876
852
|
* "id": "1",
|
|
877
853
|
* "name": "Bug",
|
|
878
854
|
* "scope": {
|
|
@@ -891,20 +867,15 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
|
|
|
891
867
|
* "accountType": "atlassian",
|
|
892
868
|
* "active": false,
|
|
893
869
|
* "avatarUrls": {
|
|
894
|
-
* "16x16":
|
|
895
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
896
|
-
* "
|
|
897
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
898
|
-
* "32x32":
|
|
899
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
900
|
-
* "48x48":
|
|
901
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
870
|
+
* "16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
871
|
+
* "24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
872
|
+
* "32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
873
|
+
* "48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
902
874
|
* },
|
|
903
875
|
* "displayName": "Mia Krystof",
|
|
904
876
|
* "key": "",
|
|
905
877
|
* "name": "",
|
|
906
|
-
* "self":
|
|
907
|
-
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
878
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
908
879
|
* },
|
|
909
880
|
* "name": "Example",
|
|
910
881
|
* "projectCategory": {
|
|
@@ -917,8 +888,7 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
|
|
|
917
888
|
* "propertyKey": "propertyValue"
|
|
918
889
|
* },
|
|
919
890
|
* "roles": {
|
|
920
|
-
* "Developers":
|
|
921
|
-
* "https://your-domain.atlassian.net/rest/api/3/project/EX/role/10000"
|
|
891
|
+
* "Developers": "https://your-domain.atlassian.net/rest/api/3/project/EX/role/10000"
|
|
922
892
|
* },
|
|
923
893
|
* "self": "https://your-domain.atlassian.net/rest/api/3/project/EX",
|
|
924
894
|
* "simplified": false,
|
|
@@ -926,13 +896,12 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
|
|
|
926
896
|
* "url": "https://www.example.com",
|
|
927
897
|
* "versions": []
|
|
928
898
|
* }
|
|
929
|
-
*
|
|
899
|
+
* ```
|
|
900
|
+
* @path GET `/rest/api/3/project/{projectIdOrKey}`
|
|
930
901
|
* @scopes-current read:jira-work
|
|
931
|
-
* @scopes-beta read:issue-type:jira, read:project:jira, read:project.property:jira,
|
|
932
|
-
* read:user:jira, read:application-role:jira, read:avatar:jira, read:group:jira,
|
|
933
|
-
* read:issue-type-hierarchy:jira, read:project-category:jira,
|
|
934
|
-
* read:project-version:jira, read:project.component:jira
|
|
902
|
+
* @scopes-beta read:issue-type:jira, read:project:jira, read:project.property:jira, read:user:jira, read:application-role:jira, read:avatar:jira, read:group:jira, read:issue-type-hierarchy:jira, read:project-category:jira, read:project-version:jira, read:project.component:jira
|
|
935
903
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-projects#api-rest-api-3-project-projectidorkey-get
|
|
904
|
+
* @param params
|
|
936
905
|
*/
|
|
937
906
|
this.getProject = ({ projectIdOrKey, expand, properties, }) => {
|
|
938
907
|
return this.getClientInstance()
|
|
@@ -974,17 +943,15 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
|
|
|
974
943
|
*
|
|
975
944
|
* @returns Returned if the request is successful.
|
|
976
945
|
*
|
|
977
|
-
* example:
|
|
946
|
+
* example:
|
|
947
|
+
* ```
|
|
948
|
+
* [
|
|
978
949
|
* {
|
|
979
950
|
* "avatarUrls": {
|
|
980
|
-
* "16x16":
|
|
981
|
-
* "https://your-domain.atlassian.net/secure/projectavatar?size=
|
|
982
|
-
* "
|
|
983
|
-
* "https://your-domain.atlassian.net/secure/projectavatar?size=
|
|
984
|
-
* "32x32":
|
|
985
|
-
* "https://your-domain.atlassian.net/secure/projectavatar?size=medium&pid=10000",
|
|
986
|
-
* "48x48":
|
|
987
|
-
* "https://your-domain.atlassian.net/secure/projectavatar?size=large&pid=10000"
|
|
951
|
+
* "16x16": "https://your-domain.atlassian.net/secure/projectavatar?size=xsmall&pid=10000",
|
|
952
|
+
* "24x24": "https://your-domain.atlassian.net/secure/projectavatar?size=small&pid=10000",
|
|
953
|
+
* "32x32": "https://your-domain.atlassian.net/secure/projectavatar?size=medium&pid=10000",
|
|
954
|
+
* "48x48": "https://your-domain.atlassian.net/secure/projectavatar?size=large&pid=10000"
|
|
988
955
|
* },
|
|
989
956
|
* "id": "10000",
|
|
990
957
|
* "insight": {
|
|
@@ -997,8 +964,7 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
|
|
|
997
964
|
* "description": "First Project Category",
|
|
998
965
|
* "id": "10000",
|
|
999
966
|
* "name": "FIRST",
|
|
1000
|
-
* "self":
|
|
1001
|
-
* "https://your-domain.atlassian.net/rest/api/3/projectCategory/10000"
|
|
967
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/projectCategory/10000"
|
|
1002
968
|
* },
|
|
1003
969
|
* "self": "https://your-domain.atlassian.net/rest/api/3/project/EX",
|
|
1004
970
|
* "simplified": false,
|
|
@@ -1006,14 +972,10 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
|
|
|
1006
972
|
* },
|
|
1007
973
|
* {
|
|
1008
974
|
* "avatarUrls": {
|
|
1009
|
-
* "16x16":
|
|
1010
|
-
* "https://your-domain.atlassian.net/secure/projectavatar?size=
|
|
1011
|
-
* "
|
|
1012
|
-
* "https://your-domain.atlassian.net/secure/projectavatar?size=
|
|
1013
|
-
* "32x32":
|
|
1014
|
-
* "https://your-domain.atlassian.net/secure/projectavatar?size=medium&pid=10001",
|
|
1015
|
-
* "48x48":
|
|
1016
|
-
* "https://your-domain.atlassian.net/secure/projectavatar?size=large&pid=10001"
|
|
975
|
+
* "16x16": "https://your-domain.atlassian.net/secure/projectavatar?size=xsmall&pid=10001",
|
|
976
|
+
* "24x24": "https://your-domain.atlassian.net/secure/projectavatar?size=small&pid=10001",
|
|
977
|
+
* "32x32": "https://your-domain.atlassian.net/secure/projectavatar?size=medium&pid=10001",
|
|
978
|
+
* "48x48": "https://your-domain.atlassian.net/secure/projectavatar?size=large&pid=10001"
|
|
1017
979
|
* },
|
|
1018
980
|
* "id": "10001",
|
|
1019
981
|
* "insight": {
|
|
@@ -1026,21 +988,19 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
|
|
|
1026
988
|
* "description": "First Project Category",
|
|
1027
989
|
* "id": "10000",
|
|
1028
990
|
* "name": "FIRST",
|
|
1029
|
-
* "self":
|
|
1030
|
-
* "https://your-domain.atlassian.net/rest/api/3/projectCategory/10000"
|
|
991
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/projectCategory/10000"
|
|
1031
992
|
* },
|
|
1032
993
|
* "self": "https://your-domain.atlassian.net/rest/api/3/project/ABC",
|
|
1033
994
|
* "simplified": false,
|
|
1034
995
|
* "style": "CLASSIC"
|
|
1035
996
|
* }
|
|
1036
997
|
* ]
|
|
1037
|
-
*
|
|
998
|
+
* ```
|
|
999
|
+
* @path GET `/rest/api/3/project/recent`
|
|
1038
1000
|
* @scopes-current read:jira-work
|
|
1039
|
-
* @scopes-beta read:issue-type:jira, read:project:jira, read:project.property:jira,
|
|
1040
|
-
* read:user:jira, read:application-role:jira, read:avatar:jira, read:group:jira,
|
|
1041
|
-
* read:issue-type-hierarchy:jira, read:project-category:jira,
|
|
1042
|
-
* read:project-version:jira, read:project.component:jira
|
|
1001
|
+
* @scopes-beta read:issue-type:jira, read:project:jira, read:project.property:jira, read:user:jira, read:application-role:jira, read:avatar:jira, read:group:jira, read:issue-type-hierarchy:jira, read:project-category:jira, read:project-version:jira, read:project.component:jira
|
|
1043
1002
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-projects#api-rest-api-3-project-recent-get
|
|
1003
|
+
* @param params
|
|
1044
1004
|
*/
|
|
1045
1005
|
this.getRecent = ({ expand, properties, } = {}) => {
|
|
1046
1006
|
return this.getClientInstance()
|
|
@@ -1076,41 +1036,33 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
|
|
|
1076
1036
|
*
|
|
1077
1037
|
* @returns Returned if the request is successful.
|
|
1078
1038
|
*
|
|
1079
|
-
* example:
|
|
1039
|
+
* example:
|
|
1040
|
+
* ```
|
|
1041
|
+
* {
|
|
1080
1042
|
* "assigneeType": "PROJECT_LEAD",
|
|
1081
1043
|
* "avatarUrls": {
|
|
1082
|
-
* "16x16":
|
|
1083
|
-
* "https://your-domain.atlassian.net/secure/projectavatar?size=
|
|
1084
|
-
* "
|
|
1085
|
-
* "https://your-domain.atlassian.net/secure/projectavatar?size=
|
|
1086
|
-
* "32x32":
|
|
1087
|
-
* "https://your-domain.atlassian.net/secure/projectavatar?size=medium&pid=10000",
|
|
1088
|
-
* "48x48":
|
|
1089
|
-
* "https://your-domain.atlassian.net/secure/projectavatar?size=large&pid=10000"
|
|
1044
|
+
* "16x16": "https://your-domain.atlassian.net/secure/projectavatar?size=xsmall&pid=10000",
|
|
1045
|
+
* "24x24": "https://your-domain.atlassian.net/secure/projectavatar?size=small&pid=10000",
|
|
1046
|
+
* "32x32": "https://your-domain.atlassian.net/secure/projectavatar?size=medium&pid=10000",
|
|
1047
|
+
* "48x48": "https://your-domain.atlassian.net/secure/projectavatar?size=large&pid=10000"
|
|
1090
1048
|
* },
|
|
1091
1049
|
* "components": [
|
|
1092
1050
|
* {
|
|
1093
|
-
* "ari":
|
|
1094
|
-
* "ari:cloud:compass:fdb3fdec-4e70-be56-11ee-0242ac120002:component/fdb3fdec-4e70-11ee-be56-0242ac120002/fdb3fdec-11ee-4e70-be56-0242ac120002",
|
|
1051
|
+
* "ari": "ari:cloud:compass:fdb3fdec-4e70-be56-11ee-0242ac120002:component/fdb3fdec-4e70-11ee-be56-0242ac120002/fdb3fdec-11ee-4e70-be56-0242ac120002",
|
|
1095
1052
|
* "assignee": {
|
|
1096
1053
|
* "accountId": "5b10a2844c20165700ede21g",
|
|
1097
1054
|
* "accountType": "atlassian",
|
|
1098
1055
|
* "active": false,
|
|
1099
1056
|
* "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"
|
|
1057
|
+
* "16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
1058
|
+
* "24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
1059
|
+
* "32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
1060
|
+
* "48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
1108
1061
|
* },
|
|
1109
1062
|
* "displayName": "Mia Krystof",
|
|
1110
1063
|
* "key": "",
|
|
1111
1064
|
* "name": "",
|
|
1112
|
-
* "self":
|
|
1113
|
-
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
1065
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
1114
1066
|
* },
|
|
1115
1067
|
* "assigneeType": "PROJECT_LEAD",
|
|
1116
1068
|
* "description": "This is a Jira component",
|
|
@@ -1121,20 +1073,15 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
|
|
|
1121
1073
|
* "accountType": "atlassian",
|
|
1122
1074
|
* "active": false,
|
|
1123
1075
|
* "avatarUrls": {
|
|
1124
|
-
* "16x16":
|
|
1125
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
1126
|
-
* "
|
|
1127
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
1128
|
-
* "32x32":
|
|
1129
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
1130
|
-
* "48x48":
|
|
1131
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
1076
|
+
* "16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
1077
|
+
* "24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
1078
|
+
* "32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
1079
|
+
* "48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
1132
1080
|
* },
|
|
1133
1081
|
* "displayName": "Mia Krystof",
|
|
1134
1082
|
* "key": "",
|
|
1135
1083
|
* "name": "",
|
|
1136
|
-
* "self":
|
|
1137
|
-
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
1084
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
1138
1085
|
* },
|
|
1139
1086
|
* "metadata": {
|
|
1140
1087
|
* "icon": "https://www.example.com/icon.png"
|
|
@@ -1147,20 +1094,15 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
|
|
|
1147
1094
|
* "accountType": "atlassian",
|
|
1148
1095
|
* "active": false,
|
|
1149
1096
|
* "avatarUrls": {
|
|
1150
|
-
* "16x16":
|
|
1151
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
1152
|
-
* "
|
|
1153
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
1154
|
-
* "32x32":
|
|
1155
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
1156
|
-
* "48x48":
|
|
1157
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
1097
|
+
* "16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
1098
|
+
* "24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
1099
|
+
* "32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
1100
|
+
* "48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
1158
1101
|
* },
|
|
1159
1102
|
* "displayName": "Mia Krystof",
|
|
1160
1103
|
* "key": "",
|
|
1161
1104
|
* "name": "",
|
|
1162
|
-
* "self":
|
|
1163
|
-
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
1105
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
1164
1106
|
* },
|
|
1165
1107
|
* "realAssigneeType": "PROJECT_LEAD",
|
|
1166
1108
|
* "self": "https://your-domain.atlassian.net/rest/api/3/component/10000"
|
|
@@ -1178,8 +1120,7 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
|
|
|
1178
1120
|
* "avatarId": 1,
|
|
1179
1121
|
* "description": "A task that needs to be done.",
|
|
1180
1122
|
* "hierarchyLevel": 0,
|
|
1181
|
-
* "iconUrl":
|
|
1182
|
-
* "https://your-domain.atlassian.net/secure/viewavatar?size=xsmall&avatarId=10299&avatarType=issuetype\",",
|
|
1123
|
+
* "iconUrl": "https://your-domain.atlassian.net/secure/viewavatar?size=xsmall&avatarId=10299&avatarType=issuetype\",",
|
|
1183
1124
|
* "id": "3",
|
|
1184
1125
|
* "name": "Task",
|
|
1185
1126
|
* "self": "https://your-domain.atlassian.net/rest/api/3/issueType/3",
|
|
@@ -1190,8 +1131,7 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
|
|
|
1190
1131
|
* "description": "A problem with the software.",
|
|
1191
1132
|
* "entityId": "9d7dd6f7-e8b6-4247-954b-7b2c9b2a5ba2",
|
|
1192
1133
|
* "hierarchyLevel": 0,
|
|
1193
|
-
* "iconUrl":
|
|
1194
|
-
* "https://your-domain.atlassian.net/secure/viewavatar?size=xsmall&avatarId=10316&avatarType=issuetype\",",
|
|
1134
|
+
* "iconUrl": "https://your-domain.atlassian.net/secure/viewavatar?size=xsmall&avatarId=10316&avatarType=issuetype\",",
|
|
1195
1135
|
* "id": "1",
|
|
1196
1136
|
* "name": "Bug",
|
|
1197
1137
|
* "scope": {
|
|
@@ -1210,20 +1150,15 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
|
|
|
1210
1150
|
* "accountType": "atlassian",
|
|
1211
1151
|
* "active": false,
|
|
1212
1152
|
* "avatarUrls": {
|
|
1213
|
-
* "16x16":
|
|
1214
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
1215
|
-
* "
|
|
1216
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
1217
|
-
* "32x32":
|
|
1218
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
1219
|
-
* "48x48":
|
|
1220
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
1153
|
+
* "16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
1154
|
+
* "24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
1155
|
+
* "32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
1156
|
+
* "48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
1221
1157
|
* },
|
|
1222
1158
|
* "displayName": "Mia Krystof",
|
|
1223
1159
|
* "key": "",
|
|
1224
1160
|
* "name": "",
|
|
1225
|
-
* "self":
|
|
1226
|
-
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
1161
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
1227
1162
|
* },
|
|
1228
1163
|
* "name": "Example",
|
|
1229
1164
|
* "projectCategory": {
|
|
@@ -1236,8 +1171,7 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
|
|
|
1236
1171
|
* "propertyKey": "propertyValue"
|
|
1237
1172
|
* },
|
|
1238
1173
|
* "roles": {
|
|
1239
|
-
* "Developers":
|
|
1240
|
-
* "https://your-domain.atlassian.net/rest/api/3/project/EX/role/10000"
|
|
1174
|
+
* "Developers": "https://your-domain.atlassian.net/rest/api/3/project/EX/role/10000"
|
|
1241
1175
|
* },
|
|
1242
1176
|
* "self": "https://your-domain.atlassian.net/rest/api/3/project/EX",
|
|
1243
1177
|
* "simplified": false,
|
|
@@ -1245,14 +1179,12 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
|
|
|
1245
1179
|
* "url": "https://www.example.com",
|
|
1246
1180
|
* "versions": []
|
|
1247
1181
|
* }
|
|
1248
|
-
*
|
|
1182
|
+
* ```
|
|
1183
|
+
* @path POST `/rest/api/3/project/{projectIdOrKey}/restore`
|
|
1249
1184
|
* @scopes-current manage:jira-configuration
|
|
1250
|
-
* @scopes-beta read:issue-type:jira, read:project:jira, read:project.property:jira,
|
|
1251
|
-
* read:user:jira, write:project:jira, read:application-role:jira,
|
|
1252
|
-
* read:avatar:jira, read:group:jira, read:issue-type-hierarchy:jira,
|
|
1253
|
-
* read:project-category:jira, read:project-version:jira,
|
|
1254
|
-
* read:project.component:jira
|
|
1185
|
+
* @scopes-beta read:issue-type:jira, read:project:jira, read:project.property:jira, read:user:jira, write:project:jira, read:application-role:jira, read:avatar:jira, read:group:jira, read:issue-type-hierarchy:jira, read:project-category:jira, read:project-version:jira, read:project.component:jira
|
|
1255
1186
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-projects#api-rest-api-3-project-projectidorkey-restore-post
|
|
1187
|
+
* @param params
|
|
1256
1188
|
*/
|
|
1257
1189
|
this.restore = ({ projectIdOrKey, }) => {
|
|
1258
1190
|
return this.getClientInstance()
|
|
@@ -1289,26 +1221,22 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
|
|
|
1289
1221
|
*
|
|
1290
1222
|
* @returns Returned if the request is successful.
|
|
1291
1223
|
*
|
|
1292
|
-
* example:
|
|
1224
|
+
* example:
|
|
1225
|
+
* ```
|
|
1226
|
+
* {
|
|
1293
1227
|
* "isLast": false,
|
|
1294
1228
|
* "maxResults": 2,
|
|
1295
|
-
* "nextPage":
|
|
1296
|
-
* "https://your-domain.atlassian.net/rest/api/3/project/search?startAt=
|
|
1297
|
-
* "self":
|
|
1298
|
-
* "https://your-domain.atlassian.net/rest/api/3/project/search?startAt=0&maxResults=2",
|
|
1229
|
+
* "nextPage": "https://your-domain.atlassian.net/rest/api/3/project/search?startAt=2&maxResults=2",
|
|
1230
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/project/search?startAt=0&maxResults=2",
|
|
1299
1231
|
* "startAt": 0,
|
|
1300
1232
|
* "total": 7,
|
|
1301
1233
|
* "values": [
|
|
1302
1234
|
* {
|
|
1303
1235
|
* "avatarUrls": {
|
|
1304
|
-
* "16x16":
|
|
1305
|
-
* "https://your-domain.atlassian.net/secure/projectavatar?size=
|
|
1306
|
-
* "
|
|
1307
|
-
* "https://your-domain.atlassian.net/secure/projectavatar?size=
|
|
1308
|
-
* "32x32":
|
|
1309
|
-
* "https://your-domain.atlassian.net/secure/projectavatar?size=medium&pid=10000",
|
|
1310
|
-
* "48x48":
|
|
1311
|
-
* "https://your-domain.atlassian.net/secure/projectavatar?size=large&pid=10000"
|
|
1236
|
+
* "16x16": "https://your-domain.atlassian.net/secure/projectavatar?size=xsmall&pid=10000",
|
|
1237
|
+
* "24x24": "https://your-domain.atlassian.net/secure/projectavatar?size=small&pid=10000",
|
|
1238
|
+
* "32x32": "https://your-domain.atlassian.net/secure/projectavatar?size=medium&pid=10000",
|
|
1239
|
+
* "48x48": "https://your-domain.atlassian.net/secure/projectavatar?size=large&pid=10000"
|
|
1312
1240
|
* },
|
|
1313
1241
|
* "id": "10000",
|
|
1314
1242
|
* "insight": {
|
|
@@ -1321,8 +1249,7 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
|
|
|
1321
1249
|
* "description": "First Project Category",
|
|
1322
1250
|
* "id": "10000",
|
|
1323
1251
|
* "name": "FIRST",
|
|
1324
|
-
* "self":
|
|
1325
|
-
* "https://your-domain.atlassian.net/rest/api/3/projectCategory/10000"
|
|
1252
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/projectCategory/10000"
|
|
1326
1253
|
* },
|
|
1327
1254
|
* "self": "https://your-domain.atlassian.net/rest/api/3/project/EX",
|
|
1328
1255
|
* "simplified": false,
|
|
@@ -1330,14 +1257,10 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
|
|
|
1330
1257
|
* },
|
|
1331
1258
|
* {
|
|
1332
1259
|
* "avatarUrls": {
|
|
1333
|
-
* "16x16":
|
|
1334
|
-
* "https://your-domain.atlassian.net/secure/projectavatar?size=
|
|
1335
|
-
* "
|
|
1336
|
-
* "https://your-domain.atlassian.net/secure/projectavatar?size=
|
|
1337
|
-
* "32x32":
|
|
1338
|
-
* "https://your-domain.atlassian.net/secure/projectavatar?size=medium&pid=10001",
|
|
1339
|
-
* "48x48":
|
|
1340
|
-
* "https://your-domain.atlassian.net/secure/projectavatar?size=large&pid=10001"
|
|
1260
|
+
* "16x16": "https://your-domain.atlassian.net/secure/projectavatar?size=xsmall&pid=10001",
|
|
1261
|
+
* "24x24": "https://your-domain.atlassian.net/secure/projectavatar?size=small&pid=10001",
|
|
1262
|
+
* "32x32": "https://your-domain.atlassian.net/secure/projectavatar?size=medium&pid=10001",
|
|
1263
|
+
* "48x48": "https://your-domain.atlassian.net/secure/projectavatar?size=large&pid=10001"
|
|
1341
1264
|
* },
|
|
1342
1265
|
* "id": "10001",
|
|
1343
1266
|
* "insight": {
|
|
@@ -1350,8 +1273,7 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
|
|
|
1350
1273
|
* "description": "First Project Category",
|
|
1351
1274
|
* "id": "10000",
|
|
1352
1275
|
* "name": "FIRST",
|
|
1353
|
-
* "self":
|
|
1354
|
-
* "https://your-domain.atlassian.net/rest/api/3/projectCategory/10000"
|
|
1276
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/projectCategory/10000"
|
|
1355
1277
|
* },
|
|
1356
1278
|
* "self": "https://your-domain.atlassian.net/rest/api/3/project/ABC",
|
|
1357
1279
|
* "simplified": false,
|
|
@@ -1359,13 +1281,12 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
|
|
|
1359
1281
|
* }
|
|
1360
1282
|
* ]
|
|
1361
1283
|
* }
|
|
1362
|
-
*
|
|
1284
|
+
* ```
|
|
1285
|
+
* @path GET `/rest/api/3/project/search`
|
|
1363
1286
|
* @scopes-current read:jira-work
|
|
1364
|
-
* @scopes-beta read:issue-type:jira, read:project:jira, read:project.property:jira,
|
|
1365
|
-
* read:user:jira, read:application-role:jira, read:avatar:jira, read:group:jira,
|
|
1366
|
-
* read:issue-type-hierarchy:jira, read:project-category:jira,
|
|
1367
|
-
* read:project-version:jira, read:project.component:jira
|
|
1287
|
+
* @scopes-beta read:issue-type:jira, read:project:jira, read:project.property:jira, read:user:jira, read:application-role:jira, read:avatar:jira, read:group:jira, read:issue-type-hierarchy:jira, read:project-category:jira, read:project-version:jira, read:project.component:jira
|
|
1368
1288
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-projects#api-rest-api-3-project-search-get
|
|
1289
|
+
* @param params
|
|
1369
1290
|
*/
|
|
1370
1291
|
this.searchProjects = ({ startAt, maxResults, orderBy, id, keys, query, typeKey, categoryId, action, expand, status, properties, propertyQuery, } = {}) => {
|
|
1371
1292
|
return this.getClientInstance()
|
|
@@ -1412,41 +1333,33 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
|
|
|
1412
1333
|
*
|
|
1413
1334
|
* @returns Returned if the project is updated.
|
|
1414
1335
|
*
|
|
1415
|
-
* example:
|
|
1336
|
+
* example:
|
|
1337
|
+
* ```
|
|
1338
|
+
* {
|
|
1416
1339
|
* "assigneeType": "PROJECT_LEAD",
|
|
1417
1340
|
* "avatarUrls": {
|
|
1418
|
-
* "16x16":
|
|
1419
|
-
* "https://your-domain.atlassian.net/secure/projectavatar?size=
|
|
1420
|
-
* "
|
|
1421
|
-
* "https://your-domain.atlassian.net/secure/projectavatar?size=
|
|
1422
|
-
* "32x32":
|
|
1423
|
-
* "https://your-domain.atlassian.net/secure/projectavatar?size=medium&pid=10000",
|
|
1424
|
-
* "48x48":
|
|
1425
|
-
* "https://your-domain.atlassian.net/secure/projectavatar?size=large&pid=10000"
|
|
1341
|
+
* "16x16": "https://your-domain.atlassian.net/secure/projectavatar?size=xsmall&pid=10000",
|
|
1342
|
+
* "24x24": "https://your-domain.atlassian.net/secure/projectavatar?size=small&pid=10000",
|
|
1343
|
+
* "32x32": "https://your-domain.atlassian.net/secure/projectavatar?size=medium&pid=10000",
|
|
1344
|
+
* "48x48": "https://your-domain.atlassian.net/secure/projectavatar?size=large&pid=10000"
|
|
1426
1345
|
* },
|
|
1427
1346
|
* "components": [
|
|
1428
1347
|
* {
|
|
1429
|
-
* "ari":
|
|
1430
|
-
* "ari:cloud:compass:fdb3fdec-4e70-be56-11ee-0242ac120002:component/fdb3fdec-4e70-11ee-be56-0242ac120002/fdb3fdec-11ee-4e70-be56-0242ac120002",
|
|
1348
|
+
* "ari": "ari:cloud:compass:fdb3fdec-4e70-be56-11ee-0242ac120002:component/fdb3fdec-4e70-11ee-be56-0242ac120002/fdb3fdec-11ee-4e70-be56-0242ac120002",
|
|
1431
1349
|
* "assignee": {
|
|
1432
1350
|
* "accountId": "5b10a2844c20165700ede21g",
|
|
1433
1351
|
* "accountType": "atlassian",
|
|
1434
1352
|
* "active": false,
|
|
1435
1353
|
* "avatarUrls": {
|
|
1436
|
-
* "16x16":
|
|
1437
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
1438
|
-
* "
|
|
1439
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
1440
|
-
* "32x32":
|
|
1441
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
1442
|
-
* "48x48":
|
|
1443
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
1354
|
+
* "16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
1355
|
+
* "24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
1356
|
+
* "32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
1357
|
+
* "48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
1444
1358
|
* },
|
|
1445
1359
|
* "displayName": "Mia Krystof",
|
|
1446
1360
|
* "key": "",
|
|
1447
1361
|
* "name": "",
|
|
1448
|
-
* "self":
|
|
1449
|
-
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
1362
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
1450
1363
|
* },
|
|
1451
1364
|
* "assigneeType": "PROJECT_LEAD",
|
|
1452
1365
|
* "description": "This is a Jira component",
|
|
@@ -1457,20 +1370,15 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
|
|
|
1457
1370
|
* "accountType": "atlassian",
|
|
1458
1371
|
* "active": false,
|
|
1459
1372
|
* "avatarUrls": {
|
|
1460
|
-
* "16x16":
|
|
1461
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
1462
|
-
* "
|
|
1463
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
1464
|
-
* "32x32":
|
|
1465
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
1466
|
-
* "48x48":
|
|
1467
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
1373
|
+
* "16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
1374
|
+
* "24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
1375
|
+
* "32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
1376
|
+
* "48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
1468
1377
|
* },
|
|
1469
1378
|
* "displayName": "Mia Krystof",
|
|
1470
1379
|
* "key": "",
|
|
1471
1380
|
* "name": "",
|
|
1472
|
-
* "self":
|
|
1473
|
-
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
1381
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
1474
1382
|
* },
|
|
1475
1383
|
* "metadata": {
|
|
1476
1384
|
* "icon": "https://www.example.com/icon.png"
|
|
@@ -1483,20 +1391,15 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
|
|
|
1483
1391
|
* "accountType": "atlassian",
|
|
1484
1392
|
* "active": false,
|
|
1485
1393
|
* "avatarUrls": {
|
|
1486
|
-
* "16x16":
|
|
1487
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
1488
|
-
* "
|
|
1489
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
1490
|
-
* "32x32":
|
|
1491
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
1492
|
-
* "48x48":
|
|
1493
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
1394
|
+
* "16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
1395
|
+
* "24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
1396
|
+
* "32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
1397
|
+
* "48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
1494
1398
|
* },
|
|
1495
1399
|
* "displayName": "Mia Krystof",
|
|
1496
1400
|
* "key": "",
|
|
1497
1401
|
* "name": "",
|
|
1498
|
-
* "self":
|
|
1499
|
-
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
1402
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
1500
1403
|
* },
|
|
1501
1404
|
* "realAssigneeType": "PROJECT_LEAD",
|
|
1502
1405
|
* "self": "https://your-domain.atlassian.net/rest/api/3/component/10000"
|
|
@@ -1514,8 +1417,7 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
|
|
|
1514
1417
|
* "avatarId": 1,
|
|
1515
1418
|
* "description": "A task that needs to be done.",
|
|
1516
1419
|
* "hierarchyLevel": 0,
|
|
1517
|
-
* "iconUrl":
|
|
1518
|
-
* "https://your-domain.atlassian.net/secure/viewavatar?size=xsmall&avatarId=10299&avatarType=issuetype\",",
|
|
1420
|
+
* "iconUrl": "https://your-domain.atlassian.net/secure/viewavatar?size=xsmall&avatarId=10299&avatarType=issuetype\",",
|
|
1519
1421
|
* "id": "3",
|
|
1520
1422
|
* "name": "Task",
|
|
1521
1423
|
* "self": "https://your-domain.atlassian.net/rest/api/3/issueType/3",
|
|
@@ -1526,8 +1428,7 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
|
|
|
1526
1428
|
* "description": "A problem with the software.",
|
|
1527
1429
|
* "entityId": "9d7dd6f7-e8b6-4247-954b-7b2c9b2a5ba2",
|
|
1528
1430
|
* "hierarchyLevel": 0,
|
|
1529
|
-
* "iconUrl":
|
|
1530
|
-
* "https://your-domain.atlassian.net/secure/viewavatar?size=xsmall&avatarId=10316&avatarType=issuetype\",",
|
|
1431
|
+
* "iconUrl": "https://your-domain.atlassian.net/secure/viewavatar?size=xsmall&avatarId=10316&avatarType=issuetype\",",
|
|
1531
1432
|
* "id": "1",
|
|
1532
1433
|
* "name": "Bug",
|
|
1533
1434
|
* "scope": {
|
|
@@ -1546,20 +1447,15 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
|
|
|
1546
1447
|
* "accountType": "atlassian",
|
|
1547
1448
|
* "active": false,
|
|
1548
1449
|
* "avatarUrls": {
|
|
1549
|
-
* "16x16":
|
|
1550
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
1551
|
-
* "
|
|
1552
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
1553
|
-
* "32x32":
|
|
1554
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
1555
|
-
* "48x48":
|
|
1556
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
1450
|
+
* "16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
1451
|
+
* "24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
1452
|
+
* "32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
1453
|
+
* "48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
1557
1454
|
* },
|
|
1558
1455
|
* "displayName": "Mia Krystof",
|
|
1559
1456
|
* "key": "",
|
|
1560
1457
|
* "name": "",
|
|
1561
|
-
* "self":
|
|
1562
|
-
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
1458
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
1563
1459
|
* },
|
|
1564
1460
|
* "name": "Example",
|
|
1565
1461
|
* "projectCategory": {
|
|
@@ -1572,8 +1468,7 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
|
|
|
1572
1468
|
* "propertyKey": "propertyValue"
|
|
1573
1469
|
* },
|
|
1574
1470
|
* "roles": {
|
|
1575
|
-
* "Developers":
|
|
1576
|
-
* "https://your-domain.atlassian.net/rest/api/3/project/EX/role/10000"
|
|
1471
|
+
* "Developers": "https://your-domain.atlassian.net/rest/api/3/project/EX/role/10000"
|
|
1577
1472
|
* },
|
|
1578
1473
|
* "self": "https://your-domain.atlassian.net/rest/api/3/project/EX",
|
|
1579
1474
|
* "simplified": false,
|
|
@@ -1581,14 +1476,12 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
|
|
|
1581
1476
|
* "url": "https://www.example.com",
|
|
1582
1477
|
* "versions": []
|
|
1583
1478
|
* }
|
|
1584
|
-
*
|
|
1479
|
+
* ```
|
|
1480
|
+
* @path PUT `/rest/api/3/project/{projectIdOrKey}`
|
|
1585
1481
|
* @scopes-current manage:jira-project
|
|
1586
|
-
* @scopes-beta read:issue-type:jira, read:project:jira, read:project.property:jira,
|
|
1587
|
-
* read:user:jira, write:project:jira, write:project.avatar:jira,
|
|
1588
|
-
* read:application-role:jira, read:avatar:jira, read:group:jira,
|
|
1589
|
-
* read:issue-type-hierarchy:jira, read:project-category:jira,
|
|
1590
|
-
* read:project-version:jira, read:project.component:jira
|
|
1482
|
+
* @scopes-beta read:issue-type:jira, read:project:jira, read:project.property:jira, read:user:jira, write:project:jira, write:project.avatar:jira, read:application-role:jira, read:avatar:jira, read:group:jira, read:issue-type-hierarchy:jira, read:project-category:jira, read:project-version:jira, read:project.component:jira
|
|
1591
1483
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-projects#api-rest-api-3-project-projectidorkey-put
|
|
1484
|
+
* @param params
|
|
1592
1485
|
*/
|
|
1593
1486
|
this.updateProject = ({ projectIdOrKey, expand, updateProjectDetails, }) => {
|
|
1594
1487
|
return this.getClientInstance()
|