@resolution/jira-api-client 0.4.2 → 0.4.5
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 +23 -0
- package/README.md +4 -0
- package/lib/openapi/platform/BaseJiraPlatformApiClient.d.ts +28 -4
- package/lib/openapi/platform/BaseJiraPlatformApiClient.js +24 -1
- package/lib/openapi/platform/BaseJiraPlatformApiClient.js.map +1 -1
- package/lib/openapi/platform/models/common.d.ts +6 -0
- package/lib/openapi/platform/models/common.js +12 -1
- package/lib/openapi/platform/models/common.js.map +1 -1
- package/lib/openapi/platform/models/dynamicModules.d.ts +0 -9
- package/lib/openapi/platform/models/dynamicModules.js +0 -6
- package/lib/openapi/platform/models/dynamicModules.js.map +1 -1
- package/lib/openapi/platform/models/issueBulkOperations.d.ts +547 -0
- package/lib/openapi/platform/models/issueBulkOperations.js +437 -0
- package/lib/openapi/platform/models/issueBulkOperations.js.map +1 -0
- package/lib/openapi/platform/services/AnnouncementBannerService.d.ts +3 -3
- package/lib/openapi/platform/services/AnnouncementBannerService.js +65 -62
- package/lib/openapi/platform/services/AnnouncementBannerService.js.map +1 -1
- package/lib/openapi/platform/services/AppDataPoliciesService.d.ts +4 -4
- package/lib/openapi/platform/services/AppDataPoliciesService.js +70 -67
- package/lib/openapi/platform/services/AppDataPoliciesService.js.map +1 -1
- package/lib/openapi/platform/services/AppMigrationService.d.ts +6 -6
- package/lib/openapi/platform/services/AppMigrationService.js +139 -136
- package/lib/openapi/platform/services/AppMigrationService.js.map +1 -1
- package/lib/openapi/platform/services/AppPropertiesService.d.ts +12 -12
- package/lib/openapi/platform/services/AppPropertiesService.js +254 -251
- package/lib/openapi/platform/services/AppPropertiesService.js.map +1 -1
- package/lib/openapi/platform/services/ApplicationRolesService.d.ts +3 -3
- package/lib/openapi/platform/services/ApplicationRolesService.js +177 -174
- package/lib/openapi/platform/services/ApplicationRolesService.js.map +1 -1
- package/lib/openapi/platform/services/AuditRecordsService.d.ts +7 -7
- package/lib/openapi/platform/services/AuditRecordsService.js +97 -94
- package/lib/openapi/platform/services/AuditRecordsService.js.map +1 -1
- package/lib/openapi/platform/services/AvatarsService.d.ts +25 -31
- package/lib/openapi/platform/services/AvatarsService.js +412 -415
- package/lib/openapi/platform/services/AvatarsService.js.map +1 -1
- package/lib/openapi/platform/services/ClassificationLevelsService.d.ts +4 -4
- package/lib/openapi/platform/services/ClassificationLevelsService.js +79 -76
- package/lib/openapi/platform/services/ClassificationLevelsService.js.map +1 -1
- package/lib/openapi/platform/services/DashboardsService.d.ts +62 -50
- package/lib/openapi/platform/services/DashboardsService.js +983 -974
- package/lib/openapi/platform/services/DashboardsService.js.map +1 -1
- package/lib/openapi/platform/services/DynamicModulesService.d.ts +6 -6
- package/lib/openapi/platform/services/DynamicModulesService.js +68 -65
- package/lib/openapi/platform/services/DynamicModulesService.js.map +1 -1
- package/lib/openapi/platform/services/FilterSharingService.d.ts +11 -11
- package/lib/openapi/platform/services/FilterSharingService.js +512 -509
- package/lib/openapi/platform/services/FilterSharingService.js.map +1 -1
- package/lib/openapi/platform/services/FiltersService.d.ts +50 -50
- package/lib/openapi/platform/services/FiltersService.js +1262 -1259
- package/lib/openapi/platform/services/FiltersService.js.map +1 -1
- package/lib/openapi/platform/services/GroupAndUserPickerService.d.ts +10 -10
- package/lib/openapi/platform/services/GroupAndUserPickerService.js +112 -109
- package/lib/openapi/platform/services/GroupAndUserPickerService.js.map +1 -1
- package/lib/openapi/platform/services/GroupsService.d.ts +46 -46
- package/lib/openapi/platform/services/GroupsService.js +385 -382
- package/lib/openapi/platform/services/GroupsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueAttachmentsService.d.ts +20 -20
- package/lib/openapi/platform/services/IssueAttachmentsService.js +644 -641
- package/lib/openapi/platform/services/IssueAttachmentsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueBulkOperationsService.d.ts +325 -0
- package/lib/openapi/platform/services/IssueBulkOperationsService.js +353 -0
- package/lib/openapi/platform/services/IssueBulkOperationsService.js.map +1 -0
- package/lib/openapi/platform/services/IssueCommentPropertiesService.d.ts +8 -8
- package/lib/openapi/platform/services/IssueCommentPropertiesService.js +187 -184
- package/lib/openapi/platform/services/IssueCommentPropertiesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueCommentsService.d.ts +22 -22
- package/lib/openapi/platform/services/IssueCommentsService.js +507 -504
- package/lib/openapi/platform/services/IssueCommentsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueCustomFieldConfigurationAppsService.d.ts +11 -11
- package/lib/openapi/platform/services/IssueCustomFieldConfigurationAppsService.js +126 -123
- package/lib/openapi/platform/services/IssueCustomFieldConfigurationAppsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueCustomFieldContextsService.d.ts +42 -42
- package/lib/openapi/platform/services/IssueCustomFieldContextsService.js +748 -745
- package/lib/openapi/platform/services/IssueCustomFieldContextsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueCustomFieldOptionsAppsService.d.ts +28 -28
- package/lib/openapi/platform/services/IssueCustomFieldOptionsAppsService.js +535 -532
- package/lib/openapi/platform/services/IssueCustomFieldOptionsAppsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueCustomFieldOptionsService.d.ts +20 -20
- package/lib/openapi/platform/services/IssueCustomFieldOptionsService.js +358 -355
- package/lib/openapi/platform/services/IssueCustomFieldOptionsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueCustomFieldValuesAppsService.d.ts +6 -6
- package/lib/openapi/platform/services/IssueCustomFieldValuesAppsService.js +86 -83
- package/lib/openapi/platform/services/IssueCustomFieldValuesAppsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueFieldConfigurationsService.d.ts +45 -45
- package/lib/openapi/platform/services/IssueFieldConfigurationsService.js +689 -686
- package/lib/openapi/platform/services/IssueFieldConfigurationsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueFieldsService.d.ts +32 -32
- package/lib/openapi/platform/services/IssueFieldsService.js +484 -481
- package/lib/openapi/platform/services/IssueFieldsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueLinkTypesService.d.ts +9 -9
- package/lib/openapi/platform/services/IssueLinkTypesService.js +212 -209
- package/lib/openapi/platform/services/IssueLinkTypesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueLinksService.d.ts +6 -6
- package/lib/openapi/platform/services/IssueLinksService.js +230 -227
- package/lib/openapi/platform/services/IssueLinksService.js.map +1 -1
- package/lib/openapi/platform/services/IssueNavigatorSettingsService.d.ts +3 -3
- package/lib/openapi/platform/services/IssueNavigatorSettingsService.js +72 -69
- package/lib/openapi/platform/services/IssueNavigatorSettingsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueNotificationSchemesService.d.ts +27 -27
- package/lib/openapi/platform/services/IssueNotificationSchemesService.js +816 -813
- package/lib/openapi/platform/services/IssueNotificationSchemesService.js.map +1 -1
- package/lib/openapi/platform/services/IssuePrioritiesService.d.ts +22 -22
- package/lib/openapi/platform/services/IssuePrioritiesService.js +307 -304
- package/lib/openapi/platform/services/IssuePrioritiesService.js.map +1 -1
- package/lib/openapi/platform/services/IssuePropertiesService.d.ts +16 -16
- package/lib/openapi/platform/services/IssuePropertiesService.js +390 -387
- package/lib/openapi/platform/services/IssuePropertiesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueRemoteLinksService.d.ts +13 -13
- package/lib/openapi/platform/services/IssueRemoteLinksService.js +368 -365
- package/lib/openapi/platform/services/IssueRemoteLinksService.js.map +1 -1
- package/lib/openapi/platform/services/IssueResolutionsService.d.ts +19 -19
- package/lib/openapi/platform/services/IssueResolutionsService.js +283 -280
- package/lib/openapi/platform/services/IssueResolutionsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueSearchService.d.ts +24 -24
- package/lib/openapi/platform/services/IssueSearchService.js +826 -823
- package/lib/openapi/platform/services/IssueSearchService.js.map +1 -1
- package/lib/openapi/platform/services/IssueSecurityLevelService.d.ts +8 -8
- package/lib/openapi/platform/services/IssueSecurityLevelService.js +137 -134
- package/lib/openapi/platform/services/IssueSecurityLevelService.js.map +1 -1
- package/lib/openapi/platform/services/IssueSecuritySchemesService.d.ts +51 -51
- package/lib/openapi/platform/services/IssueSecuritySchemesService.js +610 -607
- package/lib/openapi/platform/services/IssueSecuritySchemesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueTypePropertiesService.d.ts +8 -8
- package/lib/openapi/platform/services/IssueTypePropertiesService.js +175 -172
- package/lib/openapi/platform/services/IssueTypePropertiesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueTypeSchemesService.d.ts +31 -31
- package/lib/openapi/platform/services/IssueTypeSchemesService.js +527 -524
- package/lib/openapi/platform/services/IssueTypeSchemesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueTypeScreenSchemesService.d.ts +36 -36
- package/lib/openapi/platform/services/IssueTypeScreenSchemesService.js +508 -505
- package/lib/openapi/platform/services/IssueTypeScreenSchemesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueTypesService.d.ts +22 -28
- package/lib/openapi/platform/services/IssueTypesService.js +424 -427
- package/lib/openapi/platform/services/IssueTypesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueVotesService.d.ts +6 -6
- package/lib/openapi/platform/services/IssueVotesService.js +148 -145
- package/lib/openapi/platform/services/IssueVotesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueWatchersService.d.ts +10 -10
- package/lib/openapi/platform/services/IssueWatchersService.js +197 -194
- package/lib/openapi/platform/services/IssueWatchersService.js.map +1 -1
- package/lib/openapi/platform/services/IssueWorklogPropertiesService.d.ts +8 -8
- package/lib/openapi/platform/services/IssueWorklogPropertiesService.js +199 -196
- package/lib/openapi/platform/services/IssueWorklogPropertiesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueWorklogsService.d.ts +44 -44
- package/lib/openapi/platform/services/IssueWorklogsService.js +636 -633
- package/lib/openapi/platform/services/IssueWorklogsService.js.map +1 -1
- package/lib/openapi/platform/services/IssuesService.d.ts +71 -71
- package/lib/openapi/platform/services/IssuesService.js +1856 -1853
- package/lib/openapi/platform/services/IssuesService.js.map +1 -1
- package/lib/openapi/platform/services/JiraExpressionsService.d.ts +6 -6
- package/lib/openapi/platform/services/JiraExpressionsService.js +238 -235
- package/lib/openapi/platform/services/JiraExpressionsService.js.map +1 -1
- package/lib/openapi/platform/services/JiraSettingsService.d.ts +9 -9
- package/lib/openapi/platform/services/JiraSettingsService.js +279 -276
- package/lib/openapi/platform/services/JiraSettingsService.js.map +1 -1
- package/lib/openapi/platform/services/JqlFunctionsAppsService.d.ts +8 -8
- package/lib/openapi/platform/services/JqlFunctionsAppsService.js +107 -104
- package/lib/openapi/platform/services/JqlFunctionsAppsService.js.map +1 -1
- package/lib/openapi/platform/services/JqlService.d.ts +15 -15
- package/lib/openapi/platform/services/JqlService.js +635 -632
- package/lib/openapi/platform/services/JqlService.js.map +1 -1
- package/lib/openapi/platform/services/LabelsService.d.ts +4 -4
- package/lib/openapi/platform/services/LabelsService.js +41 -38
- package/lib/openapi/platform/services/LabelsService.js.map +1 -1
- package/lib/openapi/platform/services/LicenseMetricsService.d.ts +4 -4
- package/lib/openapi/platform/services/LicenseMetricsService.js +120 -117
- package/lib/openapi/platform/services/LicenseMetricsService.js.map +1 -1
- package/lib/openapi/platform/services/MyselfService.d.ts +14 -14
- package/lib/openapi/platform/services/MyselfService.js +321 -318
- package/lib/openapi/platform/services/MyselfService.js.map +1 -1
- package/lib/openapi/platform/services/PermissionSchemesService.d.ts +25 -25
- package/lib/openapi/platform/services/PermissionSchemesService.js +548 -545
- package/lib/openapi/platform/services/PermissionSchemesService.js.map +1 -1
- package/lib/openapi/platform/services/PermissionsService.d.ts +15 -15
- package/lib/openapi/platform/services/PermissionsService.js +235 -232
- package/lib/openapi/platform/services/PermissionsService.js.map +1 -1
- package/lib/openapi/platform/services/PrioritySchemesService.d.ts +34 -34
- package/lib/openapi/platform/services/PrioritySchemesService.js +571 -568
- package/lib/openapi/platform/services/PrioritySchemesService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectAvatarsService.d.ts +11 -11
- package/lib/openapi/platform/services/ProjectAvatarsService.js +213 -210
- package/lib/openapi/platform/services/ProjectAvatarsService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectCategoriesService.d.ts +9 -9
- package/lib/openapi/platform/services/ProjectCategoriesService.js +180 -177
- package/lib/openapi/platform/services/ProjectCategoriesService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectClassificationLevelsService.d.ts +6 -6
- package/lib/openapi/platform/services/ProjectClassificationLevelsService.js +125 -122
- package/lib/openapi/platform/services/ProjectClassificationLevelsService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectComponentsService.d.ts +28 -28
- package/lib/openapi/platform/services/ProjectComponentsService.js +1009 -1006
- package/lib/openapi/platform/services/ProjectComponentsService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectEmailService.d.ts +4 -4
- package/lib/openapi/platform/services/ProjectEmailService.js +78 -75
- package/lib/openapi/platform/services/ProjectEmailService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectFeaturesService.d.ts +4 -4
- package/lib/openapi/platform/services/ProjectFeaturesService.js +119 -116
- package/lib/openapi/platform/services/ProjectFeaturesService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectKeyAndNameValidationService.d.ts +8 -8
- package/lib/openapi/platform/services/ProjectKeyAndNameValidationService.js +100 -97
- package/lib/openapi/platform/services/ProjectKeyAndNameValidationService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectPermissionSchemesService.d.ts +10 -10
- package/lib/openapi/platform/services/ProjectPermissionSchemesService.js +199 -196
- package/lib/openapi/platform/services/ProjectPermissionSchemesService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectPropertiesService.d.ts +8 -8
- package/lib/openapi/platform/services/ProjectPropertiesService.js +172 -169
- package/lib/openapi/platform/services/ProjectPropertiesService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectRoleActorsService.d.ts +18 -18
- package/lib/openapi/platform/services/ProjectRoleActorsService.js +362 -359
- package/lib/openapi/platform/services/ProjectRoleActorsService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectRolesService.d.ts +21 -21
- package/lib/openapi/platform/services/ProjectRolesService.js +576 -573
- package/lib/openapi/platform/services/ProjectRolesService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectTypesService.d.ts +6 -6
- package/lib/openapi/platform/services/ProjectTypesService.js +173 -170
- package/lib/openapi/platform/services/ProjectTypesService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectVersionsService.d.ts +40 -40
- package/lib/openapi/platform/services/ProjectVersionsService.js +751 -748
- package/lib/openapi/platform/services/ProjectVersionsService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectsService.d.ts +49 -49
- package/lib/openapi/platform/services/ProjectsService.js +1597 -1594
- package/lib/openapi/platform/services/ProjectsService.js.map +1 -1
- package/lib/openapi/platform/services/ScreenSchemesService.d.ts +14 -14
- package/lib/openapi/platform/services/ScreenSchemesService.js +177 -174
- package/lib/openapi/platform/services/ScreenSchemesService.js.map +1 -1
- package/lib/openapi/platform/services/ScreenTabFieldsService.d.ts +9 -9
- package/lib/openapi/platform/services/ScreenTabFieldsService.js +144 -141
- package/lib/openapi/platform/services/ScreenTabFieldsService.js.map +1 -1
- package/lib/openapi/platform/services/ScreenTabsService.d.ts +17 -17
- package/lib/openapi/platform/services/ScreenTabsService.js +229 -226
- package/lib/openapi/platform/services/ScreenTabsService.js.map +1 -1
- package/lib/openapi/platform/services/ScreensService.d.ts +23 -23
- package/lib/openapi/platform/services/ScreensService.js +281 -278
- package/lib/openapi/platform/services/ScreensService.js.map +1 -1
- package/lib/openapi/platform/services/ServerInfoService.d.ts +1 -1
- package/lib/openapi/platform/services/ServerInfoService.js +51 -48
- package/lib/openapi/platform/services/ServerInfoService.js.map +1 -1
- package/lib/openapi/platform/services/ServiceRegistryService.d.ts +2 -2
- package/lib/openapi/platform/services/ServiceRegistryService.js +30 -27
- package/lib/openapi/platform/services/ServiceRegistryService.js.map +1 -1
- package/lib/openapi/platform/services/StatusService.d.ts +17 -17
- package/lib/openapi/platform/services/StatusService.js +271 -268
- package/lib/openapi/platform/services/StatusService.js.map +1 -1
- package/lib/openapi/platform/services/TasksService.d.ts +4 -4
- package/lib/openapi/platform/services/TasksService.js +93 -90
- package/lib/openapi/platform/services/TasksService.js.map +1 -1
- package/lib/openapi/platform/services/TimeTrackingService.d.ts +7 -7
- package/lib/openapi/platform/services/TimeTrackingService.js +190 -187
- package/lib/openapi/platform/services/TimeTrackingService.js.map +1 -1
- package/lib/openapi/platform/services/UiModificationsAppsService.d.ts +11 -11
- package/lib/openapi/platform/services/UiModificationsAppsService.js +214 -211
- package/lib/openapi/platform/services/UiModificationsAppsService.js.map +1 -1
- package/lib/openapi/platform/services/UserPropertiesService.d.ts +20 -20
- package/lib/openapi/platform/services/UserPropertiesService.js +196 -193
- package/lib/openapi/platform/services/UserPropertiesService.js.map +1 -1
- package/lib/openapi/platform/services/UserSearchService.d.ts +61 -61
- package/lib/openapi/platform/services/UserSearchService.js +709 -706
- package/lib/openapi/platform/services/UserSearchService.js.map +1 -1
- package/lib/openapi/platform/services/UsersService.d.ts +51 -51
- package/lib/openapi/platform/services/UsersService.js +637 -634
- package/lib/openapi/platform/services/UsersService.js.map +1 -1
- package/lib/openapi/platform/services/WebhooksService.d.ts +14 -14
- package/lib/openapi/platform/services/WebhooksService.js +262 -259
- package/lib/openapi/platform/services/WebhooksService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowSchemeDraftsService.d.ts +30 -30
- package/lib/openapi/platform/services/WorkflowSchemeDraftsService.js +861 -858
- package/lib/openapi/platform/services/WorkflowSchemeDraftsService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowSchemeProjectAssociationsService.d.ts +4 -4
- package/lib/openapi/platform/services/WorkflowSchemeProjectAssociationsService.js +98 -95
- package/lib/openapi/platform/services/WorkflowSchemeProjectAssociationsService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowSchemesService.d.ts +45 -45
- package/lib/openapi/platform/services/WorkflowSchemesService.js +899 -896
- package/lib/openapi/platform/services/WorkflowSchemesService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowStatusCategoriesService.d.ts +3 -3
- package/lib/openapi/platform/services/WorkflowStatusCategoriesService.js +82 -79
- package/lib/openapi/platform/services/WorkflowStatusCategoriesService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowStatusesService.d.ts +3 -3
- package/lib/openapi/platform/services/WorkflowStatusesService.js +110 -107
- package/lib/openapi/platform/services/WorkflowStatusesService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowTransitionPropertiesService.d.ts +14 -14
- package/lib/openapi/platform/services/WorkflowTransitionPropertiesService.js +182 -179
- package/lib/openapi/platform/services/WorkflowTransitionPropertiesService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowTransitionRulesService.d.ts +13 -13
- package/lib/openapi/platform/services/WorkflowTransitionRulesService.js +283 -280
- package/lib/openapi/platform/services/WorkflowTransitionRulesService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowsService.d.ts +33 -33
- package/lib/openapi/platform/services/WorkflowsService.js +2451 -2448
- package/lib/openapi/platform/services/WorkflowsService.js.map +1 -1
- package/lib/openapi/software/services/BacklogService.d.ts +4 -4
- package/lib/openapi/software/services/BacklogService.js +81 -78
- package/lib/openapi/software/services/BacklogService.js.map +1 -1
- package/lib/openapi/software/services/BoardService.d.ts +124 -124
- package/lib/openapi/software/services/BoardService.js +2048 -2045
- package/lib/openapi/software/services/BoardService.js.map +1 -1
- package/lib/openapi/software/services/BuildsService.d.ts +10 -10
- package/lib/openapi/software/services/BuildsService.js +164 -161
- package/lib/openapi/software/services/BuildsService.js.map +1 -1
- package/lib/openapi/software/services/DeploymentsService.d.ts +12 -12
- package/lib/openapi/software/services/DeploymentsService.js +192 -189
- package/lib/openapi/software/services/DeploymentsService.js.map +1 -1
- package/lib/openapi/software/services/DevOpsComponentsService.d.ts +8 -8
- package/lib/openapi/software/services/DevOpsComponentsService.js +145 -142
- package/lib/openapi/software/services/DevOpsComponentsService.js.map +1 -1
- package/lib/openapi/software/services/DevelopmentInformationService.d.ts +16 -16
- package/lib/openapi/software/services/DevelopmentInformationService.js +178 -175
- package/lib/openapi/software/services/DevelopmentInformationService.js.map +1 -1
- package/lib/openapi/software/services/EpicService.d.ts +26 -26
- package/lib/openapi/software/services/EpicService.js +597 -594
- package/lib/openapi/software/services/EpicService.js.map +1 -1
- package/lib/openapi/software/services/FeatureFlagsService.d.ts +10 -10
- package/lib/openapi/software/services/FeatureFlagsService.js +151 -148
- package/lib/openapi/software/services/FeatureFlagsService.js.map +1 -1
- package/lib/openapi/software/services/IssueService.d.ts +13 -13
- package/lib/openapi/software/services/IssueService.js +359 -356
- package/lib/openapi/software/services/IssueService.js.map +1 -1
- package/lib/openapi/software/services/OperationsService.d.ts +24 -24
- package/lib/openapi/software/services/OperationsService.js +301 -298
- package/lib/openapi/software/services/OperationsService.js.map +1 -1
- package/lib/openapi/software/services/RemoteLinksService.d.ts +15 -15
- package/lib/openapi/software/services/RemoteLinksService.js +160 -157
- package/lib/openapi/software/services/RemoteLinksService.js.map +1 -1
- package/lib/openapi/software/services/SecurityInformationService.d.ts +16 -16
- package/lib/openapi/software/services/SecurityInformationService.js +262 -259
- package/lib/openapi/software/services/SecurityInformationService.js.map +1 -1
- package/lib/openapi/software/services/SprintService.d.ts +33 -33
- package/lib/openapi/software/services/SprintService.js +594 -591
- package/lib/openapi/software/services/SprintService.js.map +1 -1
- package/package.json +4 -3
|
@@ -18,1012 +18,1015 @@ const validationSchemaStorage_1 = require("../validationSchemaStorage");
|
|
|
18
18
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-project-components
|
|
19
19
|
*/
|
|
20
20
|
class ProjectComponentsService extends CommonHttpService_1.CommonHttpService {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
21
|
+
constructor() {
|
|
22
|
+
super(...arguments);
|
|
23
|
+
/**
|
|
24
|
+
* Creates a component. Use components to provide containers for issues within a
|
|
25
|
+
* project. Use components to provide containers for issues within a project.
|
|
26
|
+
*
|
|
27
|
+
* This operation can be accessed anonymously.
|
|
28
|
+
*
|
|
29
|
+
* **[Permissions](#permissions) required:** *Administer projects* [project
|
|
30
|
+
* permission](https://confluence.atlassian.com/x/yodKLg) for the project in which
|
|
31
|
+
* the component is created or *Administer Jira* [global
|
|
32
|
+
* permission](https://confluence.atlassian.com/x/x4dKLg).
|
|
33
|
+
*
|
|
34
|
+
* @returns Returned if the request is successful.
|
|
35
|
+
*
|
|
36
|
+
* example: {
|
|
37
|
+
* "ari":
|
|
38
|
+
* "ari:cloud:compass:fdb3fdec-4e70-be56-11ee-0242ac120002:component/fdb3fdec-4e70-11ee-be56-0242ac120002/fdb3fdec-11ee-4e70-be56-0242ac120002",
|
|
39
|
+
* "assignee": {
|
|
40
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
41
|
+
* "accountType": "atlassian",
|
|
42
|
+
* "active": false,
|
|
43
|
+
* "avatarUrls": {
|
|
44
|
+
* "16x16":
|
|
45
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
46
|
+
* "24x24":
|
|
47
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
48
|
+
* "32x32":
|
|
49
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
50
|
+
* "48x48":
|
|
51
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
52
|
+
* },
|
|
53
|
+
* "displayName": "Mia Krystof",
|
|
54
|
+
* "key": "",
|
|
55
|
+
* "name": "",
|
|
56
|
+
* "self":
|
|
57
|
+
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
58
|
+
* },
|
|
59
|
+
* "assigneeType": "PROJECT_LEAD",
|
|
60
|
+
* "description": "This is a Jira component",
|
|
61
|
+
* "id": "10000",
|
|
62
|
+
* "isAssigneeTypeValid": false,
|
|
63
|
+
* "lead": {
|
|
64
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
65
|
+
* "accountType": "atlassian",
|
|
66
|
+
* "active": false,
|
|
67
|
+
* "avatarUrls": {
|
|
68
|
+
* "16x16":
|
|
69
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
70
|
+
* "24x24":
|
|
71
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
72
|
+
* "32x32":
|
|
73
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
74
|
+
* "48x48":
|
|
75
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
76
|
+
* },
|
|
77
|
+
* "displayName": "Mia Krystof",
|
|
78
|
+
* "key": "",
|
|
79
|
+
* "name": "",
|
|
80
|
+
* "self":
|
|
81
|
+
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
82
|
+
* },
|
|
83
|
+
* "metadata": {
|
|
84
|
+
* "icon": "https://www.example.com/icon.png"
|
|
85
|
+
* },
|
|
86
|
+
* "name": "Component 1",
|
|
87
|
+
* "project": "HSP",
|
|
88
|
+
* "projectId": 10000,
|
|
89
|
+
* "realAssignee": {
|
|
90
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
91
|
+
* "accountType": "atlassian",
|
|
92
|
+
* "active": false,
|
|
93
|
+
* "avatarUrls": {
|
|
94
|
+
* "16x16":
|
|
95
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
96
|
+
* "24x24":
|
|
97
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
98
|
+
* "32x32":
|
|
99
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
100
|
+
* "48x48":
|
|
101
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
102
|
+
* },
|
|
103
|
+
* "displayName": "Mia Krystof",
|
|
104
|
+
* "key": "",
|
|
105
|
+
* "name": "",
|
|
106
|
+
* "self":
|
|
107
|
+
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
108
|
+
* },
|
|
109
|
+
* "realAssigneeType": "PROJECT_LEAD",
|
|
110
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/component/10000"
|
|
111
|
+
* }
|
|
112
|
+
* @path {POST} /rest/api/3/component
|
|
113
|
+
* @scopes-current manage:jira-project
|
|
114
|
+
* @scopes-beta read:project:jira, read:user:jira, write:project.component:jira,
|
|
115
|
+
* read:application-role:jira, read:avatar:jira, read:group:jira,
|
|
116
|
+
* read:project.component:jira
|
|
117
|
+
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-project-components#api-rest-api-3-component-post
|
|
118
|
+
*/
|
|
119
|
+
this.createComponent = ({ projectComponent, }) => {
|
|
120
|
+
return this.getClientInstance()
|
|
121
|
+
.request({
|
|
122
|
+
path: "/rest/api/3/component",
|
|
123
|
+
method: "POST",
|
|
124
|
+
headers: {
|
|
125
|
+
"Content-Type": "application/json",
|
|
126
|
+
},
|
|
127
|
+
body: projectComponent,
|
|
128
|
+
})
|
|
129
|
+
.then(this.getClientInstance().responseHandler({
|
|
130
|
+
201: {
|
|
131
|
+
"application/json": "json",
|
|
132
|
+
},
|
|
133
|
+
}))
|
|
134
|
+
.then(commonHttpClient.castResponse())
|
|
135
|
+
.then(validationSchemaStorage_1.validationSchemaStorage.validator("ProjectComponentsService.createComponent.response"))
|
|
136
|
+
.then(commonHttpClient.getBody);
|
|
137
|
+
};
|
|
138
|
+
/**
|
|
139
|
+
* Deletes a component.
|
|
140
|
+
*
|
|
141
|
+
* This operation can be accessed anonymously.
|
|
142
|
+
*
|
|
143
|
+
* **[Permissions](#permissions) required:** *Administer projects* [project
|
|
144
|
+
* permission](https://confluence.atlassian.com/x/yodKLg) for the project
|
|
145
|
+
* containing the component or *Administer Jira* [global
|
|
146
|
+
* permission](https://confluence.atlassian.com/x/x4dKLg).
|
|
147
|
+
*
|
|
148
|
+
* @path {DELETE} /rest/api/3/component/{id}
|
|
149
|
+
* @scopes-current manage:jira-project
|
|
150
|
+
* @scopes-beta delete:project.component:jira
|
|
151
|
+
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-project-components#api-rest-api-3-component-id-delete
|
|
152
|
+
*/
|
|
153
|
+
this.deleteComponent = ({ id, moveIssuesTo, }) => {
|
|
154
|
+
return this.getClientInstance()
|
|
155
|
+
.request({
|
|
156
|
+
path: "/rest/api/3/component/{id}",
|
|
157
|
+
method: "DELETE",
|
|
158
|
+
pathParams: {
|
|
159
|
+
id,
|
|
160
|
+
},
|
|
161
|
+
query: {
|
|
162
|
+
moveIssuesTo,
|
|
163
|
+
},
|
|
164
|
+
})
|
|
165
|
+
.then(commonHttpClient.discardResult);
|
|
166
|
+
};
|
|
167
|
+
/**
|
|
168
|
+
* Returns a [paginated](#pagination) list of all components in a project,
|
|
169
|
+
* including global (Compass) components when applicable.
|
|
170
|
+
*
|
|
171
|
+
* This operation can be accessed anonymously.
|
|
172
|
+
*
|
|
173
|
+
* **[Permissions](#permissions) required:** *Browse Projects* [project
|
|
174
|
+
* permission](https://confluence.atlassian.com/x/yodKLg) for the project.
|
|
175
|
+
*
|
|
176
|
+
* @returns Returned if the request is successful.
|
|
177
|
+
*
|
|
178
|
+
* example:
|
|
179
|
+
* com.atlassian.jira.issue.fields.rest.json.beans.ComponentJsonBean#PAGED_EXAMPLE}
|
|
180
|
+
* }
|
|
181
|
+
* @path {GET} /rest/api/3/component
|
|
182
|
+
* @scopes-current read:jira-work
|
|
183
|
+
* @scopes-beta read:project:jira, read:project.component:jira, read:user:jira,
|
|
184
|
+
* read:application-role:jira, read:avatar:jira, read:group:jira
|
|
185
|
+
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-project-components#api-rest-api-3-component-get
|
|
186
|
+
*/
|
|
187
|
+
this.findComponentsForProjects = ({ projectIdsOrKeys, startAt, maxResults, orderBy, query, } = {}) => {
|
|
188
|
+
return this.getClientInstance()
|
|
189
|
+
.request({
|
|
190
|
+
path: "/rest/api/3/component",
|
|
191
|
+
method: "GET",
|
|
192
|
+
query: {
|
|
193
|
+
projectIdsOrKeys,
|
|
194
|
+
startAt,
|
|
195
|
+
maxResults,
|
|
196
|
+
orderBy,
|
|
197
|
+
query,
|
|
198
|
+
},
|
|
199
|
+
})
|
|
200
|
+
.then(this.getClientInstance().responseHandler({
|
|
201
|
+
200: {
|
|
202
|
+
"application/json": "json",
|
|
203
|
+
},
|
|
204
|
+
}))
|
|
205
|
+
.then(commonHttpClient.castResponse())
|
|
206
|
+
.then(validationSchemaStorage_1.validationSchemaStorage.validator("ProjectComponentsService.findComponentsForProjects.response"))
|
|
207
|
+
.then(commonHttpClient.getBody);
|
|
208
|
+
};
|
|
209
|
+
/**
|
|
210
|
+
* Returns a component.
|
|
211
|
+
*
|
|
212
|
+
* This operation can be accessed anonymously.
|
|
213
|
+
*
|
|
214
|
+
* **[Permissions](#permissions) required:** *Browse projects* [project
|
|
215
|
+
* permission](https://confluence.atlassian.com/x/yodKLg) for project containing
|
|
216
|
+
* the component.
|
|
217
|
+
*
|
|
218
|
+
* @returns Returned if the request is successful.
|
|
219
|
+
*
|
|
220
|
+
* example: {
|
|
221
|
+
* "ari":
|
|
222
|
+
* "ari:cloud:compass:fdb3fdec-4e70-be56-11ee-0242ac120002:component/fdb3fdec-4e70-11ee-be56-0242ac120002/fdb3fdec-11ee-4e70-be56-0242ac120002",
|
|
223
|
+
* "assignee": {
|
|
224
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
225
|
+
* "accountType": "atlassian",
|
|
226
|
+
* "active": false,
|
|
227
|
+
* "avatarUrls": {
|
|
228
|
+
* "16x16":
|
|
229
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
230
|
+
* "24x24":
|
|
231
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
232
|
+
* "32x32":
|
|
233
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
234
|
+
* "48x48":
|
|
235
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
236
|
+
* },
|
|
237
|
+
* "displayName": "Mia Krystof",
|
|
238
|
+
* "key": "",
|
|
239
|
+
* "name": "",
|
|
240
|
+
* "self":
|
|
241
|
+
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
242
|
+
* },
|
|
243
|
+
* "assigneeType": "PROJECT_LEAD",
|
|
244
|
+
* "description": "This is a Jira component",
|
|
245
|
+
* "id": "10000",
|
|
246
|
+
* "isAssigneeTypeValid": false,
|
|
247
|
+
* "lead": {
|
|
248
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
249
|
+
* "accountType": "atlassian",
|
|
250
|
+
* "active": false,
|
|
251
|
+
* "avatarUrls": {
|
|
252
|
+
* "16x16":
|
|
253
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
254
|
+
* "24x24":
|
|
255
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
256
|
+
* "32x32":
|
|
257
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
258
|
+
* "48x48":
|
|
259
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
260
|
+
* },
|
|
261
|
+
* "displayName": "Mia Krystof",
|
|
262
|
+
* "key": "",
|
|
263
|
+
* "name": "",
|
|
264
|
+
* "self":
|
|
265
|
+
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
266
|
+
* },
|
|
267
|
+
* "metadata": {
|
|
268
|
+
* "icon": "https://www.example.com/icon.png"
|
|
269
|
+
* },
|
|
270
|
+
* "name": "Component 1",
|
|
271
|
+
* "project": "HSP",
|
|
272
|
+
* "projectId": 10000,
|
|
273
|
+
* "realAssignee": {
|
|
274
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
275
|
+
* "accountType": "atlassian",
|
|
276
|
+
* "active": false,
|
|
277
|
+
* "avatarUrls": {
|
|
278
|
+
* "16x16":
|
|
279
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
280
|
+
* "24x24":
|
|
281
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
282
|
+
* "32x32":
|
|
283
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
284
|
+
* "48x48":
|
|
285
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
286
|
+
* },
|
|
287
|
+
* "displayName": "Mia Krystof",
|
|
288
|
+
* "key": "",
|
|
289
|
+
* "name": "",
|
|
290
|
+
* "self":
|
|
291
|
+
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
292
|
+
* },
|
|
293
|
+
* "realAssigneeType": "PROJECT_LEAD",
|
|
294
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/component/10000"
|
|
295
|
+
* }
|
|
296
|
+
* @path {GET} /rest/api/3/component/{id}
|
|
297
|
+
* @scopes-current read:jira-work
|
|
298
|
+
* @scopes-beta read:project:jira, read:project.component:jira, read:user:jira,
|
|
299
|
+
* read:application-role:jira, read:avatar:jira, read:group:jira
|
|
300
|
+
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-project-components#api-rest-api-3-component-id-get
|
|
301
|
+
*/
|
|
302
|
+
this.getComponent = ({ id, }) => {
|
|
303
|
+
return this.getClientInstance()
|
|
304
|
+
.request({
|
|
305
|
+
path: "/rest/api/3/component/{id}",
|
|
306
|
+
method: "GET",
|
|
307
|
+
pathParams: {
|
|
308
|
+
id,
|
|
309
|
+
},
|
|
310
|
+
})
|
|
311
|
+
.then(this.getClientInstance().responseHandler({
|
|
312
|
+
200: {
|
|
313
|
+
"application/json": "json",
|
|
314
|
+
},
|
|
315
|
+
}))
|
|
316
|
+
.then(commonHttpClient.castResponse())
|
|
317
|
+
.then(validationSchemaStorage_1.validationSchemaStorage.validator("ProjectComponentsService.getComponent.response"))
|
|
318
|
+
.then(commonHttpClient.getBody);
|
|
319
|
+
};
|
|
320
|
+
/**
|
|
321
|
+
* Returns the counts of issues assigned to the component.
|
|
322
|
+
*
|
|
323
|
+
* This operation can be accessed anonymously.
|
|
324
|
+
*
|
|
325
|
+
* **Deprecation notice:** The required OAuth 2.0 scopes will be updated on June
|
|
326
|
+
* 15, 2024.
|
|
327
|
+
*
|
|
328
|
+
* * **Classic**: `read:jira-work`
|
|
329
|
+
* * **Granular**: `read:field:jira`, `read:project.component:jira`
|
|
330
|
+
*
|
|
331
|
+
* **[Permissions](#permissions) required:** None.
|
|
332
|
+
*
|
|
333
|
+
* @returns Returned if the request is successful.
|
|
334
|
+
*
|
|
335
|
+
* example: {
|
|
336
|
+
* "issueCount": 23,
|
|
337
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/component/10000"
|
|
338
|
+
* }
|
|
339
|
+
* @path {GET} /rest/api/3/component/{id}/relatedIssueCounts
|
|
340
|
+
* @scopes-current read:jira-work
|
|
341
|
+
* @scopes-beta
|
|
342
|
+
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-project-components#api-rest-api-3-component-id-relatedissuecounts-get
|
|
343
|
+
*/
|
|
344
|
+
this.getComponentRelatedIssues = ({ id, }) => {
|
|
345
|
+
return this.getClientInstance()
|
|
346
|
+
.request({
|
|
347
|
+
path: "/rest/api/3/component/{id}/relatedIssueCounts",
|
|
348
|
+
method: "GET",
|
|
349
|
+
pathParams: {
|
|
350
|
+
id,
|
|
351
|
+
},
|
|
352
|
+
})
|
|
353
|
+
.then(this.getClientInstance().responseHandler({
|
|
354
|
+
200: {
|
|
355
|
+
"application/json": "json",
|
|
356
|
+
},
|
|
357
|
+
}))
|
|
358
|
+
.then(commonHttpClient.castResponse())
|
|
359
|
+
.then(validationSchemaStorage_1.validationSchemaStorage.validator("ProjectComponentsService.getComponentRelatedIssues.response"))
|
|
360
|
+
.then(commonHttpClient.getBody);
|
|
361
|
+
};
|
|
362
|
+
/**
|
|
363
|
+
* Returns all components in a project. See the [Get project components
|
|
364
|
+
* paginated](#api-rest-api-3-project-projectIdOrKey-component-get) resource if
|
|
365
|
+
* you want to get a full list of components with pagination.
|
|
366
|
+
*
|
|
367
|
+
* If your project uses Compass components, this API will return a paginated list
|
|
368
|
+
* of Compass components that are linked to issues in that project.
|
|
369
|
+
*
|
|
370
|
+
* This operation can be accessed anonymously.
|
|
371
|
+
*
|
|
372
|
+
* **[Permissions](#permissions) required:** *Browse Projects* [project
|
|
373
|
+
* permission](https://confluence.atlassian.com/x/yodKLg) for the project.
|
|
374
|
+
*
|
|
375
|
+
* @returns Returned if the request is successful.
|
|
376
|
+
*
|
|
377
|
+
* example: [
|
|
378
|
+
* {
|
|
379
|
+
* "ari":
|
|
380
|
+
* "ari:cloud:compass:fdb3fdec-4e70-be56-11ee-0242ac120002:component/fdb3fdec-4e70-11ee-be56-0242ac120002/fdb3fdec-11ee-4e70-be56-0242ac120002",
|
|
381
|
+
* "assignee": {
|
|
382
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
383
|
+
* "accountType": "atlassian",
|
|
384
|
+
* "active": false,
|
|
385
|
+
* "avatarUrls": {
|
|
386
|
+
* "16x16":
|
|
387
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
388
|
+
* "24x24":
|
|
389
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
390
|
+
* "32x32":
|
|
391
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
392
|
+
* "48x48":
|
|
393
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
394
|
+
* },
|
|
395
|
+
* "displayName": "Mia Krystof",
|
|
396
|
+
* "key": "",
|
|
397
|
+
* "name": "",
|
|
398
|
+
* "self":
|
|
399
|
+
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
400
|
+
* },
|
|
401
|
+
* "assigneeType": "PROJECT_LEAD",
|
|
402
|
+
* "description": "This is a Jira component",
|
|
403
|
+
* "id": "10000",
|
|
404
|
+
* "isAssigneeTypeValid": false,
|
|
405
|
+
* "lead": {
|
|
406
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
407
|
+
* "accountType": "atlassian",
|
|
408
|
+
* "active": false,
|
|
409
|
+
* "avatarUrls": {
|
|
410
|
+
* "16x16":
|
|
411
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
412
|
+
* "24x24":
|
|
413
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
414
|
+
* "32x32":
|
|
415
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
416
|
+
* "48x48":
|
|
417
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
418
|
+
* },
|
|
419
|
+
* "displayName": "Mia Krystof",
|
|
420
|
+
* "key": "",
|
|
421
|
+
* "name": "",
|
|
422
|
+
* "self":
|
|
423
|
+
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
424
|
+
* },
|
|
425
|
+
* "metadata": {
|
|
426
|
+
* "icon": "https://www.example.com/icon.png"
|
|
427
|
+
* },
|
|
428
|
+
* "name": "Component 1",
|
|
429
|
+
* "project": "HSP",
|
|
430
|
+
* "projectId": 10000,
|
|
431
|
+
* "realAssignee": {
|
|
432
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
433
|
+
* "accountType": "atlassian",
|
|
434
|
+
* "active": false,
|
|
435
|
+
* "avatarUrls": {
|
|
436
|
+
* "16x16":
|
|
437
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
438
|
+
* "24x24":
|
|
439
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
440
|
+
* "32x32":
|
|
441
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
442
|
+
* "48x48":
|
|
443
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
444
|
+
* },
|
|
445
|
+
* "displayName": "Mia Krystof",
|
|
446
|
+
* "key": "",
|
|
447
|
+
* "name": "",
|
|
448
|
+
* "self":
|
|
449
|
+
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
450
|
+
* },
|
|
451
|
+
* "realAssigneeType": "PROJECT_LEAD",
|
|
452
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/component/10000"
|
|
453
|
+
* },
|
|
454
|
+
* {
|
|
455
|
+
* "ari":
|
|
456
|
+
* "ari:cloud:compass:fdb3fdec-4e70-be56-11ee-0242ac120002:component/fdb3fdec-11ee-4e70-be56-0242ac120002/fdb3fdec-4e70-11ee-be56-0242ac120002",
|
|
457
|
+
* "assignee": {
|
|
458
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
459
|
+
* "accountType": "atlassian",
|
|
460
|
+
* "active": false,
|
|
461
|
+
* "avatarUrls": {
|
|
462
|
+
* "16x16":
|
|
463
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
464
|
+
* "24x24":
|
|
465
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
466
|
+
* "32x32":
|
|
467
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
468
|
+
* "48x48":
|
|
469
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
470
|
+
* },
|
|
471
|
+
* "displayName": "Mia Krystof",
|
|
472
|
+
* "key": "",
|
|
473
|
+
* "name": "",
|
|
474
|
+
* "self":
|
|
475
|
+
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
476
|
+
* },
|
|
477
|
+
* "assigneeType": "PROJECT_LEAD",
|
|
478
|
+
* "description": "This is a another Jira component",
|
|
479
|
+
* "id": "10050",
|
|
480
|
+
* "isAssigneeTypeValid": false,
|
|
481
|
+
* "lead": {
|
|
482
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
483
|
+
* "accountType": "atlassian",
|
|
484
|
+
* "active": false,
|
|
485
|
+
* "avatarUrls": {
|
|
486
|
+
* "16x16":
|
|
487
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
488
|
+
* "24x24":
|
|
489
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
490
|
+
* "32x32":
|
|
491
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
492
|
+
* "48x48":
|
|
493
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
494
|
+
* },
|
|
495
|
+
* "displayName": "Mia Krystof",
|
|
496
|
+
* "key": "",
|
|
497
|
+
* "name": "",
|
|
498
|
+
* "self":
|
|
499
|
+
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
500
|
+
* },
|
|
501
|
+
* "metadata": {
|
|
502
|
+
* "icon": "https://www.example.com/icon.png"
|
|
503
|
+
* },
|
|
504
|
+
* "name": "PXA",
|
|
505
|
+
* "project": "PROJECTKEY",
|
|
506
|
+
* "projectId": 10000,
|
|
507
|
+
* "realAssignee": {
|
|
508
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
509
|
+
* "accountType": "atlassian",
|
|
510
|
+
* "active": false,
|
|
511
|
+
* "avatarUrls": {
|
|
512
|
+
* "16x16":
|
|
513
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
514
|
+
* "24x24":
|
|
515
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
516
|
+
* "32x32":
|
|
517
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
518
|
+
* "48x48":
|
|
519
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
520
|
+
* },
|
|
521
|
+
* "displayName": "Mia Krystof",
|
|
522
|
+
* "key": "",
|
|
523
|
+
* "name": "",
|
|
524
|
+
* "self":
|
|
525
|
+
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
526
|
+
* },
|
|
527
|
+
* "realAssigneeType": "PROJECT_LEAD",
|
|
528
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/component/10000"
|
|
529
|
+
* }
|
|
530
|
+
* ]
|
|
531
|
+
* @path {GET} /rest/api/3/project/{projectIdOrKey}/components
|
|
532
|
+
* @scopes-current read:jira-work
|
|
533
|
+
* @scopes-beta read:project:jira, read:project.component:jira, read:user:jira,
|
|
534
|
+
* read:application-role:jira, read:avatar:jira, read:group:jira
|
|
535
|
+
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-project-components#api-rest-api-3-project-projectidorkey-components-get
|
|
536
|
+
*/
|
|
537
|
+
this.getProjectComponents = ({ projectIdOrKey, componentSource, }) => {
|
|
538
|
+
return this.getClientInstance()
|
|
539
|
+
.request({
|
|
540
|
+
path: "/rest/api/3/project/{projectIdOrKey}/components",
|
|
541
|
+
method: "GET",
|
|
542
|
+
pathParams: {
|
|
543
|
+
projectIdOrKey,
|
|
544
|
+
},
|
|
545
|
+
query: {
|
|
546
|
+
componentSource,
|
|
547
|
+
},
|
|
548
|
+
})
|
|
549
|
+
.then(this.getClientInstance().responseHandler({
|
|
550
|
+
200: {
|
|
551
|
+
"application/json": "json",
|
|
552
|
+
},
|
|
553
|
+
}))
|
|
554
|
+
.then(commonHttpClient.castResponse())
|
|
555
|
+
.then(validationSchemaStorage_1.validationSchemaStorage.validator("ProjectComponentsService.getProjectComponents.response"))
|
|
556
|
+
.then(commonHttpClient.getBody);
|
|
557
|
+
};
|
|
558
|
+
/**
|
|
559
|
+
* Returns a [paginated](#pagination) list of all components in a project. See the
|
|
560
|
+
* [Get project components](#api-rest-api-3-project-projectIdOrKey-components-get)
|
|
561
|
+
* resource if you want to get a full list of versions without pagination.
|
|
562
|
+
*
|
|
563
|
+
* If your project uses Compass components, this API will return a list of Compass
|
|
564
|
+
* components that are linked to issues in that project.
|
|
565
|
+
*
|
|
566
|
+
* This operation can be accessed anonymously.
|
|
567
|
+
*
|
|
568
|
+
* **[Permissions](#permissions) required:** *Browse Projects* [project
|
|
569
|
+
* permission](https://confluence.atlassian.com/x/yodKLg) for the project.
|
|
570
|
+
*
|
|
571
|
+
* @returns Returned if the request is successful.
|
|
572
|
+
*
|
|
573
|
+
* example: {
|
|
574
|
+
* "isLast": false,
|
|
575
|
+
* "maxResults": 2,
|
|
576
|
+
* "nextPage":
|
|
577
|
+
* "https://your-domain.atlassian.net/rest/api/3/project/PR/component?startAt=2&maxResults=2",
|
|
578
|
+
* "self":
|
|
579
|
+
* "https://your-domain.atlassian.net/rest/api/3/project/PR/component?startAt=0&maxResults=2",
|
|
580
|
+
* "startAt": 0,
|
|
581
|
+
* "total": 7,
|
|
582
|
+
* "values": [
|
|
583
|
+
* {
|
|
584
|
+
* "assignee": {
|
|
585
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
586
|
+
* "accountType": "atlassian",
|
|
587
|
+
* "active": false,
|
|
588
|
+
* "avatarUrls": {
|
|
589
|
+
* "16x16":
|
|
590
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
591
|
+
* "24x24":
|
|
592
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
593
|
+
* "32x32":
|
|
594
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
595
|
+
* "48x48":
|
|
596
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
597
|
+
* },
|
|
598
|
+
* "displayName": "Mia Krystof",
|
|
599
|
+
* "key": "",
|
|
600
|
+
* "name": "",
|
|
601
|
+
* "self":
|
|
602
|
+
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
603
|
+
* },
|
|
604
|
+
* "assigneeType": "PROJECT_LEAD",
|
|
605
|
+
* "componentBean": {
|
|
606
|
+
* "ari":
|
|
607
|
+
* "ari:cloud:compass:fdb3fdec-4e70-be56-11ee-0242ac120002:component/fdb3fdec-4e70-11ee-be56-0242ac120002/fdb3fdec-11ee-4e70-be56-0242ac120002",
|
|
608
|
+
* "assignee": {
|
|
609
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
610
|
+
* "accountType": "atlassian",
|
|
611
|
+
* "active": false,
|
|
612
|
+
* "avatarUrls": {
|
|
613
|
+
* "16x16":
|
|
614
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
615
|
+
* "24x24":
|
|
616
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
617
|
+
* "32x32":
|
|
618
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
619
|
+
* "48x48":
|
|
620
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
621
|
+
* },
|
|
622
|
+
* "displayName": "Mia Krystof",
|
|
623
|
+
* "key": "",
|
|
624
|
+
* "name": "",
|
|
625
|
+
* "self":
|
|
626
|
+
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
627
|
+
* },
|
|
628
|
+
* "assigneeType": "PROJECT_LEAD",
|
|
629
|
+
* "description": "This is a Jira component",
|
|
630
|
+
* "id": "10000",
|
|
631
|
+
* "isAssigneeTypeValid": false,
|
|
632
|
+
* "lead": {
|
|
633
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
634
|
+
* "accountType": "atlassian",
|
|
635
|
+
* "active": false,
|
|
636
|
+
* "avatarUrls": {
|
|
637
|
+
* "16x16":
|
|
638
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
639
|
+
* "24x24":
|
|
640
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
641
|
+
* "32x32":
|
|
642
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
643
|
+
* "48x48":
|
|
644
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
645
|
+
* },
|
|
646
|
+
* "displayName": "Mia Krystof",
|
|
647
|
+
* "key": "",
|
|
648
|
+
* "name": "",
|
|
649
|
+
* "self":
|
|
650
|
+
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
651
|
+
* },
|
|
652
|
+
* "metadata": {
|
|
653
|
+
* "icon": "https://www.example.com/icon.png"
|
|
654
|
+
* },
|
|
655
|
+
* "name": "Component 1",
|
|
656
|
+
* "project": "HSP",
|
|
657
|
+
* "projectId": 10000,
|
|
658
|
+
* "realAssignee": {
|
|
659
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
660
|
+
* "accountType": "atlassian",
|
|
661
|
+
* "active": false,
|
|
662
|
+
* "avatarUrls": {
|
|
663
|
+
* "16x16":
|
|
664
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
665
|
+
* "24x24":
|
|
666
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
667
|
+
* "32x32":
|
|
668
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
669
|
+
* "48x48":
|
|
670
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
671
|
+
* },
|
|
672
|
+
* "displayName": "Mia Krystof",
|
|
673
|
+
* "key": "",
|
|
674
|
+
* "name": "",
|
|
675
|
+
* "self":
|
|
676
|
+
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
677
|
+
* },
|
|
678
|
+
* "realAssigneeType": "PROJECT_LEAD",
|
|
679
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/component/10000"
|
|
680
|
+
* },
|
|
681
|
+
* "description": "This is a Jira component",
|
|
682
|
+
* "id": "10000",
|
|
683
|
+
* "isAssigneeTypeValid": false,
|
|
684
|
+
* "issueCount": 1,
|
|
685
|
+
* "lead": {
|
|
686
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
687
|
+
* "accountType": "atlassian",
|
|
688
|
+
* "active": false,
|
|
689
|
+
* "avatarUrls": {
|
|
690
|
+
* "16x16":
|
|
691
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
692
|
+
* "24x24":
|
|
693
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
694
|
+
* "32x32":
|
|
695
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
696
|
+
* "48x48":
|
|
697
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
698
|
+
* },
|
|
699
|
+
* "displayName": "Mia Krystof",
|
|
700
|
+
* "key": "",
|
|
701
|
+
* "name": "",
|
|
702
|
+
* "self":
|
|
703
|
+
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
704
|
+
* },
|
|
705
|
+
* "name": "Component 1",
|
|
706
|
+
* "project": "HSP",
|
|
707
|
+
* "projectId": 10000,
|
|
708
|
+
* "realAssignee": {
|
|
709
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
710
|
+
* "accountType": "atlassian",
|
|
711
|
+
* "active": false,
|
|
712
|
+
* "avatarUrls": {
|
|
713
|
+
* "16x16":
|
|
714
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
715
|
+
* "24x24":
|
|
716
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
717
|
+
* "32x32":
|
|
718
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
719
|
+
* "48x48":
|
|
720
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
721
|
+
* },
|
|
722
|
+
* "displayName": "Mia Krystof",
|
|
723
|
+
* "key": "",
|
|
724
|
+
* "name": "",
|
|
725
|
+
* "self":
|
|
726
|
+
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
727
|
+
* },
|
|
728
|
+
* "realAssigneeType": "PROJECT_LEAD",
|
|
729
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/component/10000"
|
|
730
|
+
* },
|
|
731
|
+
* {
|
|
732
|
+
* "assignee": {
|
|
733
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
734
|
+
* "accountType": "atlassian",
|
|
735
|
+
* "active": false,
|
|
736
|
+
* "avatarUrls": {
|
|
737
|
+
* "16x16":
|
|
738
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
739
|
+
* "24x24":
|
|
740
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
741
|
+
* "32x32":
|
|
742
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
743
|
+
* "48x48":
|
|
744
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
745
|
+
* },
|
|
746
|
+
* "displayName": "Mia Krystof",
|
|
747
|
+
* "key": "",
|
|
748
|
+
* "name": "",
|
|
749
|
+
* "self":
|
|
750
|
+
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
751
|
+
* },
|
|
752
|
+
* "assigneeType": "PROJECT_LEAD",
|
|
753
|
+
* "componentBean": {
|
|
754
|
+
* "ari":
|
|
755
|
+
* "ari:cloud:compass:fdb3fdec-4e70-be56-11ee-0242ac120002:component/fdb3fdec-11ee-4e70-be56-0242ac120002/fdb3fdec-4e70-11ee-be56-0242ac120002",
|
|
756
|
+
* "assignee": {
|
|
757
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
758
|
+
* "accountType": "atlassian",
|
|
759
|
+
* "active": false,
|
|
760
|
+
* "avatarUrls": {
|
|
761
|
+
* "16x16":
|
|
762
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
763
|
+
* "24x24":
|
|
764
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
765
|
+
* "32x32":
|
|
766
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
767
|
+
* "48x48":
|
|
768
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
769
|
+
* },
|
|
770
|
+
* "displayName": "Mia Krystof",
|
|
771
|
+
* "key": "",
|
|
772
|
+
* "name": "",
|
|
773
|
+
* "self":
|
|
774
|
+
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
775
|
+
* },
|
|
776
|
+
* "assigneeType": "PROJECT_LEAD",
|
|
777
|
+
* "description": "This is a another Jira component",
|
|
778
|
+
* "id": "10050",
|
|
779
|
+
* "isAssigneeTypeValid": false,
|
|
780
|
+
* "lead": {
|
|
781
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
782
|
+
* "accountType": "atlassian",
|
|
783
|
+
* "active": false,
|
|
784
|
+
* "avatarUrls": {
|
|
785
|
+
* "16x16":
|
|
786
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
787
|
+
* "24x24":
|
|
788
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
789
|
+
* "32x32":
|
|
790
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
791
|
+
* "48x48":
|
|
792
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
793
|
+
* },
|
|
794
|
+
* "displayName": "Mia Krystof",
|
|
795
|
+
* "key": "",
|
|
796
|
+
* "name": "",
|
|
797
|
+
* "self":
|
|
798
|
+
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
799
|
+
* },
|
|
800
|
+
* "metadata": {
|
|
801
|
+
* "icon": "https://www.example.com/icon.png"
|
|
802
|
+
* },
|
|
803
|
+
* "name": "PXA",
|
|
804
|
+
* "project": "PROJECTKEY",
|
|
805
|
+
* "projectId": 10000,
|
|
806
|
+
* "realAssignee": {
|
|
807
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
808
|
+
* "accountType": "atlassian",
|
|
809
|
+
* "active": false,
|
|
810
|
+
* "avatarUrls": {
|
|
811
|
+
* "16x16":
|
|
812
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
813
|
+
* "24x24":
|
|
814
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
815
|
+
* "32x32":
|
|
816
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
817
|
+
* "48x48":
|
|
818
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
819
|
+
* },
|
|
820
|
+
* "displayName": "Mia Krystof",
|
|
821
|
+
* "key": "",
|
|
822
|
+
* "name": "",
|
|
823
|
+
* "self":
|
|
824
|
+
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
825
|
+
* },
|
|
826
|
+
* "realAssigneeType": "PROJECT_LEAD",
|
|
827
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/component/10000"
|
|
828
|
+
* },
|
|
829
|
+
* "description": "This is a another Jira component",
|
|
830
|
+
* "id": "10050",
|
|
831
|
+
* "isAssigneeTypeValid": false,
|
|
832
|
+
* "issueCount": 5,
|
|
833
|
+
* "lead": {
|
|
834
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
835
|
+
* "accountType": "atlassian",
|
|
836
|
+
* "active": false,
|
|
837
|
+
* "avatarUrls": {
|
|
838
|
+
* "16x16":
|
|
839
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
840
|
+
* "24x24":
|
|
841
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
842
|
+
* "32x32":
|
|
843
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
844
|
+
* "48x48":
|
|
845
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
846
|
+
* },
|
|
847
|
+
* "displayName": "Mia Krystof",
|
|
848
|
+
* "key": "",
|
|
849
|
+
* "name": "",
|
|
850
|
+
* "self":
|
|
851
|
+
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
852
|
+
* },
|
|
853
|
+
* "name": "PXA",
|
|
854
|
+
* "project": "PROJECTKEY",
|
|
855
|
+
* "projectId": 10000,
|
|
856
|
+
* "realAssignee": {
|
|
857
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
858
|
+
* "accountType": "atlassian",
|
|
859
|
+
* "active": false,
|
|
860
|
+
* "avatarUrls": {
|
|
861
|
+
* "16x16":
|
|
862
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
863
|
+
* "24x24":
|
|
864
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
865
|
+
* "32x32":
|
|
866
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
867
|
+
* "48x48":
|
|
868
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
869
|
+
* },
|
|
870
|
+
* "displayName": "Mia Krystof",
|
|
871
|
+
* "key": "",
|
|
872
|
+
* "name": "",
|
|
873
|
+
* "self":
|
|
874
|
+
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
875
|
+
* },
|
|
876
|
+
* "realAssigneeType": "PROJECT_LEAD",
|
|
877
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/component/10000"
|
|
878
|
+
* }
|
|
879
|
+
* ]
|
|
880
|
+
* }
|
|
881
|
+
* @path {GET} /rest/api/3/project/{projectIdOrKey}/component
|
|
882
|
+
* @scopes-current read:jira-work
|
|
883
|
+
* @scopes-beta read:project:jira, read:project.component:jira, read:user:jira,
|
|
884
|
+
* read:application-role:jira, read:avatar:jira, read:group:jira
|
|
885
|
+
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-project-components#api-rest-api-3-project-projectidorkey-component-get
|
|
886
|
+
*/
|
|
887
|
+
this.getProjectComponentsPaginated = ({ projectIdOrKey, startAt, maxResults, orderBy, componentSource, query, }) => {
|
|
888
|
+
return this.getClientInstance()
|
|
889
|
+
.request({
|
|
890
|
+
path: "/rest/api/3/project/{projectIdOrKey}/component",
|
|
891
|
+
method: "GET",
|
|
892
|
+
pathParams: {
|
|
893
|
+
projectIdOrKey,
|
|
894
|
+
},
|
|
895
|
+
query: {
|
|
896
|
+
startAt,
|
|
897
|
+
maxResults,
|
|
898
|
+
orderBy,
|
|
899
|
+
componentSource,
|
|
900
|
+
query,
|
|
901
|
+
},
|
|
902
|
+
})
|
|
903
|
+
.then(this.getClientInstance().responseHandler({
|
|
904
|
+
200: {
|
|
905
|
+
"application/json": "json",
|
|
906
|
+
},
|
|
907
|
+
}))
|
|
908
|
+
.then(commonHttpClient.castResponse())
|
|
909
|
+
.then(validationSchemaStorage_1.validationSchemaStorage.validator("ProjectComponentsService.getProjectComponentsPaginated.response"))
|
|
910
|
+
.then(commonHttpClient.getBody);
|
|
911
|
+
};
|
|
912
|
+
/**
|
|
913
|
+
* Updates a component. Any fields included in the request are overwritten. If
|
|
914
|
+
* `leadAccountId` is an empty string ("") the component lead is removed.
|
|
915
|
+
*
|
|
916
|
+
* This operation can be accessed anonymously.
|
|
917
|
+
*
|
|
918
|
+
* **[Permissions](#permissions) required:** *Administer projects* [project
|
|
919
|
+
* permission](https://confluence.atlassian.com/x/yodKLg) for the project
|
|
920
|
+
* containing the component or *Administer Jira* [global
|
|
921
|
+
* permission](https://confluence.atlassian.com/x/x4dKLg).
|
|
922
|
+
*
|
|
923
|
+
* @returns Returned if the request is successful.
|
|
924
|
+
*
|
|
925
|
+
* example: {
|
|
926
|
+
* "ari":
|
|
927
|
+
* "ari:cloud:compass:fdb3fdec-4e70-be56-11ee-0242ac120002:component/fdb3fdec-4e70-11ee-be56-0242ac120002/fdb3fdec-11ee-4e70-be56-0242ac120002",
|
|
928
|
+
* "assignee": {
|
|
929
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
930
|
+
* "accountType": "atlassian",
|
|
931
|
+
* "active": false,
|
|
932
|
+
* "avatarUrls": {
|
|
933
|
+
* "16x16":
|
|
934
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
935
|
+
* "24x24":
|
|
936
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
937
|
+
* "32x32":
|
|
938
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
939
|
+
* "48x48":
|
|
940
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
941
|
+
* },
|
|
942
|
+
* "displayName": "Mia Krystof",
|
|
943
|
+
* "key": "",
|
|
944
|
+
* "name": "",
|
|
945
|
+
* "self":
|
|
946
|
+
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
947
|
+
* },
|
|
948
|
+
* "assigneeType": "PROJECT_LEAD",
|
|
949
|
+
* "description": "This is a Jira component",
|
|
950
|
+
* "id": "10000",
|
|
951
|
+
* "isAssigneeTypeValid": false,
|
|
952
|
+
* "lead": {
|
|
953
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
954
|
+
* "accountType": "atlassian",
|
|
955
|
+
* "active": false,
|
|
956
|
+
* "avatarUrls": {
|
|
957
|
+
* "16x16":
|
|
958
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
959
|
+
* "24x24":
|
|
960
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
961
|
+
* "32x32":
|
|
962
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
963
|
+
* "48x48":
|
|
964
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
965
|
+
* },
|
|
966
|
+
* "displayName": "Mia Krystof",
|
|
967
|
+
* "key": "",
|
|
968
|
+
* "name": "",
|
|
969
|
+
* "self":
|
|
970
|
+
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
971
|
+
* },
|
|
972
|
+
* "metadata": {
|
|
973
|
+
* "icon": "https://www.example.com/icon.png"
|
|
974
|
+
* },
|
|
975
|
+
* "name": "Component 1",
|
|
976
|
+
* "project": "HSP",
|
|
977
|
+
* "projectId": 10000,
|
|
978
|
+
* "realAssignee": {
|
|
979
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
980
|
+
* "accountType": "atlassian",
|
|
981
|
+
* "active": false,
|
|
982
|
+
* "avatarUrls": {
|
|
983
|
+
* "16x16":
|
|
984
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
985
|
+
* "24x24":
|
|
986
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
987
|
+
* "32x32":
|
|
988
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
989
|
+
* "48x48":
|
|
990
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
991
|
+
* },
|
|
992
|
+
* "displayName": "Mia Krystof",
|
|
993
|
+
* "key": "",
|
|
994
|
+
* "name": "",
|
|
995
|
+
* "self":
|
|
996
|
+
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
997
|
+
* },
|
|
998
|
+
* "realAssigneeType": "PROJECT_LEAD",
|
|
999
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/component/10000"
|
|
1000
|
+
* }
|
|
1001
|
+
* @path {PUT} /rest/api/3/component/{id}
|
|
1002
|
+
* @scopes-current manage:jira-project
|
|
1003
|
+
* @scopes-beta read:project:jira, read:user:jira, write:project.component:jira,
|
|
1004
|
+
* read:application-role:jira, read:avatar:jira, read:group:jira,
|
|
1005
|
+
* read:project.component:jira
|
|
1006
|
+
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-project-components#api-rest-api-3-component-id-put
|
|
1007
|
+
*/
|
|
1008
|
+
this.updateComponent = ({ id, projectComponent, }) => {
|
|
1009
|
+
return this.getClientInstance()
|
|
1010
|
+
.request({
|
|
1011
|
+
path: "/rest/api/3/component/{id}",
|
|
1012
|
+
method: "PUT",
|
|
1013
|
+
pathParams: {
|
|
1014
|
+
id,
|
|
1015
|
+
},
|
|
1016
|
+
headers: {
|
|
1017
|
+
"Content-Type": "application/json",
|
|
1018
|
+
},
|
|
1019
|
+
body: projectComponent,
|
|
1020
|
+
})
|
|
1021
|
+
.then(this.getClientInstance().responseHandler({
|
|
1022
|
+
200: {
|
|
1023
|
+
"application/json": "json",
|
|
1024
|
+
},
|
|
1025
|
+
}))
|
|
1026
|
+
.then(commonHttpClient.castResponse())
|
|
1027
|
+
.then(validationSchemaStorage_1.validationSchemaStorage.validator("ProjectComponentsService.updateComponent.response"))
|
|
1028
|
+
.then(commonHttpClient.getBody);
|
|
1029
|
+
};
|
|
1027
1030
|
}
|
|
1028
1031
|
static initialize() {
|
|
1029
1032
|
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ProjectComponentsService.findComponentsForProjects.response", zod_1.z
|