@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
|
@@ -0,0 +1,547 @@
|
|
|
1
|
+
import { type ZodTypeAny } from "zod";
|
|
2
|
+
import type { CommonValidationSchemaStorage } from "../core/CommonValidationSchemaStorage";
|
|
3
|
+
import { type ErrorMessage, type User } from "./common";
|
|
4
|
+
/** Bulk Edit Get Fields Response. */
|
|
5
|
+
export interface BulkEditGetFields {
|
|
6
|
+
/** The end cursor for use in pagination. */
|
|
7
|
+
endingBefore?: string;
|
|
8
|
+
/** List of all the fields */
|
|
9
|
+
fields?: IssueBulkEditField[];
|
|
10
|
+
/** The start cursor for use in pagination. */
|
|
11
|
+
startingAfter?: string;
|
|
12
|
+
}
|
|
13
|
+
export interface BulkOperationErrorResponse {
|
|
14
|
+
errors?: ErrorMessage[];
|
|
15
|
+
}
|
|
16
|
+
export interface BulkOperationProgress {
|
|
17
|
+
/** A timestamp of when the task was submitted. */
|
|
18
|
+
created?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Map of issue IDs for which the operation failed and that the user has
|
|
21
|
+
* permission to view, to their one or more reasons for failure. These reasons are
|
|
22
|
+
* open-ended text descriptions of the error and are not selected from a
|
|
23
|
+
* predefined list of standard reasons.
|
|
24
|
+
*/
|
|
25
|
+
failedAccessibleIssues?: {
|
|
26
|
+
[key: string]: string[];
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* The number of issues that are either invalid or issues that the user doesn't
|
|
30
|
+
* have permission to view, regardless of the success or failure of the operation.
|
|
31
|
+
*/
|
|
32
|
+
invalidOrInaccessibleIssueCount?: number;
|
|
33
|
+
/**
|
|
34
|
+
* List of issue IDs for which the operation was successful and that the user has
|
|
35
|
+
* permission to view.
|
|
36
|
+
*/
|
|
37
|
+
processedAccessibleIssues?: number[];
|
|
38
|
+
/** Progress of the task as a percentage. */
|
|
39
|
+
progressPercent?: number;
|
|
40
|
+
/** A timestamp of when the task was started. */
|
|
41
|
+
started?: string;
|
|
42
|
+
/** The status of the task. */
|
|
43
|
+
status?: "ENQUEUED" | "RUNNING" | "COMPLETE" | "FAILED" | "CANCEL_REQUESTED" | "CANCELLED" | "DEAD";
|
|
44
|
+
/**
|
|
45
|
+
* A user with details as permitted by the user's Atlassian Account privacy
|
|
46
|
+
* settings. However, be aware of these exceptions:
|
|
47
|
+
*
|
|
48
|
+
* * User record deleted from Atlassian: This occurs as the result of a right to
|
|
49
|
+
* be forgotten request. In this case, `displayName` provides an indication and
|
|
50
|
+
* other parameters have default values or are blank (for example, email is blank).
|
|
51
|
+
* * User record corrupted: This occurs as a results of events such as a server
|
|
52
|
+
* import and can only happen to deleted users. In this case, `accountId` returns
|
|
53
|
+
* *unknown* and all other parameters have fallback values.
|
|
54
|
+
* * User record unavailable: This usually occurs due to an internal service
|
|
55
|
+
* outage. In this case, all parameters have fallback values.
|
|
56
|
+
*/
|
|
57
|
+
submittedBy?: User;
|
|
58
|
+
/** The ID of the task. */
|
|
59
|
+
taskId?: string;
|
|
60
|
+
/** The number of issues that the bulk operation was attempted on. */
|
|
61
|
+
totalIssueCount?: number;
|
|
62
|
+
/** A timestamp of when the task progress was last updated. */
|
|
63
|
+
updated?: string;
|
|
64
|
+
}
|
|
65
|
+
export interface IssueBulkEditField {
|
|
66
|
+
/** Description of the field. */
|
|
67
|
+
description?: string;
|
|
68
|
+
/**
|
|
69
|
+
* A list of options related to the field, applicable in contexts where multiple
|
|
70
|
+
* selections are allowed.
|
|
71
|
+
*/
|
|
72
|
+
fieldOptions?: IssueBulkOperationsFieldOption[];
|
|
73
|
+
/** The unique ID of the field. */
|
|
74
|
+
id?: string;
|
|
75
|
+
/** Indicates whether the field is mandatory for the operation. */
|
|
76
|
+
isRequired?: boolean;
|
|
77
|
+
/**
|
|
78
|
+
* Specifies supported actions (like add, replace, remove) on multi-select fields
|
|
79
|
+
* via an enum.
|
|
80
|
+
*/
|
|
81
|
+
multiSelectFieldOptions?: ("ADD" | "REMOVE" | "REPLACE" | "REMOVE_ALL")[];
|
|
82
|
+
/** The display name of the field. */
|
|
83
|
+
name?: string;
|
|
84
|
+
/** A URL to fetch additional data for the field */
|
|
85
|
+
searchUrl?: string;
|
|
86
|
+
/** The type of the field. */
|
|
87
|
+
type?: string;
|
|
88
|
+
/** A message indicating why the field is unavailable for editing. */
|
|
89
|
+
unavailableMessage?: string;
|
|
90
|
+
}
|
|
91
|
+
/** Issue Bulk Edit Payload */
|
|
92
|
+
export interface IssueBulkEditPayload {
|
|
93
|
+
/**
|
|
94
|
+
* An object that defines the values to be updated in specified fields of an
|
|
95
|
+
* issue. The structure and content of this parameter vary depending on the type
|
|
96
|
+
* of field being edited. Although the order is not significant, ensure that field
|
|
97
|
+
* IDs align with those in selectedActions.
|
|
98
|
+
*/
|
|
99
|
+
editedFieldsInput: JiraIssueFields;
|
|
100
|
+
/**
|
|
101
|
+
* List of all the field IDs that are to be bulk edited. Each field ID in this
|
|
102
|
+
* list corresponds to a specific attribute of an issue that is set to be modified
|
|
103
|
+
* in the bulk edit operation. The relevant field ID can be obtained by calling
|
|
104
|
+
* the Bulk Edit Get Fields REST API (documentation available on this page itself).
|
|
105
|
+
*/
|
|
106
|
+
selectedActions: string[];
|
|
107
|
+
/**
|
|
108
|
+
* List of issue IDs or keys which are to be bulk edited. These IDs or keys can be
|
|
109
|
+
* from different projects and issue types.
|
|
110
|
+
*/
|
|
111
|
+
selectedIssueIdsOrKeys: string[];
|
|
112
|
+
}
|
|
113
|
+
/** Issue Bulk Move Payload */
|
|
114
|
+
export interface IssueBulkMovePayload {
|
|
115
|
+
/**
|
|
116
|
+
* An object representing the mapping of issues and data related to destination
|
|
117
|
+
* entities, like fields and statuses, that are required during a bulk move.
|
|
118
|
+
*
|
|
119
|
+
* The key is a string that is created by concatenating the following three
|
|
120
|
+
* entities in order, separated by commas. The format is `<project ID or
|
|
121
|
+
* key>,<issueType ID>,<parent ID or key>`. It should be unique across mappings
|
|
122
|
+
* provided in the payload. If you provide multiple mappings for the same key,
|
|
123
|
+
* only one will be processed. However, the operation won't fail, so the error may
|
|
124
|
+
* be hard to track down.
|
|
125
|
+
*
|
|
126
|
+
* * ***Destination project*** (Required): ID or key of the project to which the
|
|
127
|
+
* issues are being moved.
|
|
128
|
+
* * ***Destination issueType*** (Required): ID of the issueType to which the
|
|
129
|
+
* issues are being moved.
|
|
130
|
+
* * ***Destination parent ID or key*** (Optional): ID or key of the issue which
|
|
131
|
+
* will become the parent of the issues being moved. Only required when the
|
|
132
|
+
* destination issueType is a subtask.
|
|
133
|
+
*/
|
|
134
|
+
targetToSourcesMapping?: {
|
|
135
|
+
/**
|
|
136
|
+
* An object representing the mapping of issues and data related to destination
|
|
137
|
+
* entities, like fields and statuses, that are required during a bulk move.
|
|
138
|
+
*/
|
|
139
|
+
[key: string]: TargetToSourcesMapping;
|
|
140
|
+
};
|
|
141
|
+
}
|
|
142
|
+
export interface IssueBulkOperationsFieldOption {
|
|
143
|
+
}
|
|
144
|
+
export interface JiraCascadingSelectField {
|
|
145
|
+
childOptionValue?: JiraSelectedOptionField;
|
|
146
|
+
fieldId: string;
|
|
147
|
+
parentOptionValue: JiraSelectedOptionField;
|
|
148
|
+
}
|
|
149
|
+
export interface JiraColorField {
|
|
150
|
+
color: JiraColorInput;
|
|
151
|
+
fieldId: string;
|
|
152
|
+
}
|
|
153
|
+
export interface JiraColorInput {
|
|
154
|
+
name: string;
|
|
155
|
+
}
|
|
156
|
+
export interface JiraComponentField {
|
|
157
|
+
componentId: number;
|
|
158
|
+
}
|
|
159
|
+
export interface JiraDateField {
|
|
160
|
+
date?: JiraDateInput;
|
|
161
|
+
fieldId: string;
|
|
162
|
+
}
|
|
163
|
+
export interface JiraDateInput {
|
|
164
|
+
formattedDate: string;
|
|
165
|
+
}
|
|
166
|
+
export interface JiraDateTimeField {
|
|
167
|
+
dateTime: JiraDateTimeInput;
|
|
168
|
+
fieldId: string;
|
|
169
|
+
}
|
|
170
|
+
export interface JiraDateTimeInput {
|
|
171
|
+
formattedDateTime: string;
|
|
172
|
+
}
|
|
173
|
+
export interface JiraGroupInput {
|
|
174
|
+
groupName: string;
|
|
175
|
+
}
|
|
176
|
+
/**
|
|
177
|
+
* An object that defines the values to be updated in specified fields of an
|
|
178
|
+
* issue. The structure and content of this parameter vary depending on the type
|
|
179
|
+
* of field being edited. Although the order is not significant, ensure that field
|
|
180
|
+
* IDs align with those in selectedActions.
|
|
181
|
+
*/
|
|
182
|
+
export interface JiraIssueFields {
|
|
183
|
+
/**
|
|
184
|
+
* Add or clear a cascading select field:
|
|
185
|
+
*
|
|
186
|
+
* * To add, specify `optionId` for both parent and child.
|
|
187
|
+
* * To clear the child, set its `optionId` to null.
|
|
188
|
+
* * To clear both, set the parent's `optionId` to null.
|
|
189
|
+
*/
|
|
190
|
+
cascadingSelectFields?: JiraCascadingSelectField[];
|
|
191
|
+
/**
|
|
192
|
+
* Add or clear a number field:
|
|
193
|
+
*
|
|
194
|
+
* * To add, specify a numeric `value`.
|
|
195
|
+
* * To clear, set `value` to `null`.
|
|
196
|
+
*/
|
|
197
|
+
clearableNumberFields?: JiraNumberField[];
|
|
198
|
+
/**
|
|
199
|
+
* Add or clear a color field:
|
|
200
|
+
*
|
|
201
|
+
* * To add, specify the color `name`. Available colors are: `purple`, `blue`,
|
|
202
|
+
* `green`, `teal`, `yellow`, `orange`, `grey`, `dark purple`, `dark blue`, `dark
|
|
203
|
+
* green`, `dark teal`, `dark yellow`, `dark orange`, `dark grey`.
|
|
204
|
+
* * To clear, set the color `name` to an empty string.
|
|
205
|
+
*/
|
|
206
|
+
colorFields?: JiraColorField[];
|
|
207
|
+
/**
|
|
208
|
+
* Add or clear a date picker field:
|
|
209
|
+
*
|
|
210
|
+
* * To add, specify the date in `d/mmm/yy` format or ISO format `dd-mm-yyyy`.
|
|
211
|
+
* * To clear, set `formattedDate` to an empty string.
|
|
212
|
+
*/
|
|
213
|
+
datePickerFields?: JiraDateField[];
|
|
214
|
+
/**
|
|
215
|
+
* Add or clear the planned start date and time:
|
|
216
|
+
*
|
|
217
|
+
* * To add, specify the date and time in ISO format for `formattedDateTime`.
|
|
218
|
+
* * To clear, provide an empty string for `formattedDateTime`.
|
|
219
|
+
*/
|
|
220
|
+
dateTimePickerFields?: JiraDateTimeField[];
|
|
221
|
+
/** Set the issue type field by providing an `issueTypeId`. */
|
|
222
|
+
issueType?: JiraIssueTypeField;
|
|
223
|
+
/**
|
|
224
|
+
* Edit a labels field:
|
|
225
|
+
*
|
|
226
|
+
* * Options include `ADD`, `REPLACE`, `REMOVE`, or `REMOVE_ALL` for bulk edits.
|
|
227
|
+
* * To clear labels, use the `REMOVE_ALL` option with an empty `labels` array.
|
|
228
|
+
*/
|
|
229
|
+
labelsFields?: JiraLabelsField[];
|
|
230
|
+
/**
|
|
231
|
+
* Add or clear a multi-group picker field:
|
|
232
|
+
*
|
|
233
|
+
* * To add groups, provide an array of groups with `groupName`s.
|
|
234
|
+
* * To clear all groups, use an empty `groups` array.
|
|
235
|
+
*/
|
|
236
|
+
multipleGroupPickerFields?: JiraMultipleGroupPickerField[];
|
|
237
|
+
/**
|
|
238
|
+
* Assign or unassign multiple users to/from a field:
|
|
239
|
+
*
|
|
240
|
+
* * To assign, provide an array of user `accountId`s.
|
|
241
|
+
* * To clear, set `users` to `null`.
|
|
242
|
+
*/
|
|
243
|
+
multipleSelectClearableUserPickerFields?: JiraMultipleSelectUserPickerField[];
|
|
244
|
+
/**
|
|
245
|
+
* Add or clear a multi-select field:
|
|
246
|
+
*
|
|
247
|
+
* * To add, provide an array of options with `optionId`s.
|
|
248
|
+
* * To clear, use an empty `options` array.
|
|
249
|
+
*/
|
|
250
|
+
multipleSelectFields?: JiraMultipleSelectField[];
|
|
251
|
+
/**
|
|
252
|
+
* Edit a multi-version picker field like Fix Versions/Affects Versions:
|
|
253
|
+
*
|
|
254
|
+
* * Options include `ADD`, `REPLACE`, `REMOVE`, or `REMOVE_ALL` for bulk edits.
|
|
255
|
+
* * To clear the field, use the `REMOVE_ALL` option with an empty `versions`
|
|
256
|
+
* array.
|
|
257
|
+
*/
|
|
258
|
+
multipleVersionPickerFields?: JiraMultipleVersionPickerField[];
|
|
259
|
+
/**
|
|
260
|
+
* Edit a multi select components field:
|
|
261
|
+
*
|
|
262
|
+
* * Options include `ADD`, `REPLACE`, `REMOVE`, or `REMOVE_ALL` for bulk edits.
|
|
263
|
+
* * To clear, use the `REMOVE_ALL` option with an empty `components` array.
|
|
264
|
+
*/
|
|
265
|
+
multiselectComponents?: JiraMultiSelectComponentField;
|
|
266
|
+
/** Set the priority of an issue by specifying a `priorityId`. */
|
|
267
|
+
priority?: JiraPriorityField;
|
|
268
|
+
/**
|
|
269
|
+
* Add or clear a rich text field:
|
|
270
|
+
*
|
|
271
|
+
* * To add, provide `adfValue`. Note that rich text fields only support ADF
|
|
272
|
+
* values.
|
|
273
|
+
* * To clear, use an empty `richText` object.
|
|
274
|
+
*
|
|
275
|
+
* For ADF format details, refer to: [Atlassian Document
|
|
276
|
+
* Format](https://developer.atlassian.com/cloud/jira/platform/apis/document/structure).
|
|
277
|
+
*/
|
|
278
|
+
richTextFields?: JiraRichTextField[];
|
|
279
|
+
/**
|
|
280
|
+
* Add or clear a single group picker field:
|
|
281
|
+
*
|
|
282
|
+
* * To add, specify the group with `groupName`.
|
|
283
|
+
* * To clear, set `groupName` to an empty string.
|
|
284
|
+
*/
|
|
285
|
+
singleGroupPickerFields?: JiraSingleGroupPickerField[];
|
|
286
|
+
/**
|
|
287
|
+
* Add or clear a single line text field:
|
|
288
|
+
*
|
|
289
|
+
* * To add, provide the `text` value.
|
|
290
|
+
* * To clear, set `text` to an empty string.
|
|
291
|
+
*/
|
|
292
|
+
singleLineTextFields?: JiraSingleLineTextField[];
|
|
293
|
+
/**
|
|
294
|
+
* Edit assignment for single select user picker fields like Assignee/Reporter:
|
|
295
|
+
*
|
|
296
|
+
* * To assign an issue, specify the user's `accountId`.
|
|
297
|
+
* * To unassign an issue, set `user` to `null`.
|
|
298
|
+
* * For automatic assignment, set `accountId` to `-1`.
|
|
299
|
+
*/
|
|
300
|
+
singleSelectClearableUserPickerFields?: JiraSingleSelectUserPickerField[];
|
|
301
|
+
/**
|
|
302
|
+
* Add or clear a single select field:
|
|
303
|
+
*
|
|
304
|
+
* * To add, specify the option with an `optionId`.
|
|
305
|
+
* * To clear, pass an option with `optionId` as `-1`.
|
|
306
|
+
*/
|
|
307
|
+
singleSelectFields?: JiraSingleSelectField[];
|
|
308
|
+
/**
|
|
309
|
+
* Add or clear a single version picker field:
|
|
310
|
+
*
|
|
311
|
+
* * To add, specify the version with a `versionId`.
|
|
312
|
+
* * To clear, set `versionId` to `-1`.
|
|
313
|
+
*/
|
|
314
|
+
singleVersionPickerFields?: JiraSingleVersionPickerField[];
|
|
315
|
+
/**
|
|
316
|
+
* Add or clear a URL field:
|
|
317
|
+
*
|
|
318
|
+
* * To add, provide the `url` with the desired URL value.
|
|
319
|
+
* * To clear, set `url` to an empty string.
|
|
320
|
+
*/
|
|
321
|
+
urlFields?: JiraUrlField[];
|
|
322
|
+
}
|
|
323
|
+
/** Set the issue type field by providing an `issueTypeId`. */
|
|
324
|
+
export interface JiraIssueTypeField {
|
|
325
|
+
issueTypeId: string;
|
|
326
|
+
}
|
|
327
|
+
export interface JiraLabelsField {
|
|
328
|
+
bulkEditMultiSelectFieldOption: "ADD" | "REMOVE" | "REPLACE" | "REMOVE_ALL";
|
|
329
|
+
fieldId: string;
|
|
330
|
+
labels: JiraLabelsInput[];
|
|
331
|
+
}
|
|
332
|
+
export interface JiraLabelsInput {
|
|
333
|
+
name: string;
|
|
334
|
+
}
|
|
335
|
+
export interface JiraMultipleGroupPickerField {
|
|
336
|
+
fieldId: string;
|
|
337
|
+
groups: JiraGroupInput[];
|
|
338
|
+
}
|
|
339
|
+
export interface JiraMultipleSelectField {
|
|
340
|
+
fieldId: string;
|
|
341
|
+
options: JiraSelectedOptionField[];
|
|
342
|
+
}
|
|
343
|
+
export interface JiraMultipleSelectUserPickerField {
|
|
344
|
+
fieldId: string;
|
|
345
|
+
users?: JiraUserField[];
|
|
346
|
+
}
|
|
347
|
+
export interface JiraMultipleVersionPickerField {
|
|
348
|
+
bulkEditMultiSelectFieldOption: "ADD" | "REMOVE" | "REPLACE" | "REMOVE_ALL";
|
|
349
|
+
fieldId: string;
|
|
350
|
+
versions: JiraVersionField[];
|
|
351
|
+
}
|
|
352
|
+
/**
|
|
353
|
+
* Edit a multi select components field:
|
|
354
|
+
*
|
|
355
|
+
* * Options include `ADD`, `REPLACE`, `REMOVE`, or `REMOVE_ALL` for bulk edits.
|
|
356
|
+
* * To clear, use the `REMOVE_ALL` option with an empty `components` array.
|
|
357
|
+
*/
|
|
358
|
+
export interface JiraMultiSelectComponentField {
|
|
359
|
+
bulkEditMultiSelectFieldOption: "ADD" | "REMOVE" | "REPLACE" | "REMOVE_ALL";
|
|
360
|
+
components: JiraComponentField[];
|
|
361
|
+
fieldId: string;
|
|
362
|
+
}
|
|
363
|
+
export interface JiraNumberField {
|
|
364
|
+
fieldId: string;
|
|
365
|
+
value?: number;
|
|
366
|
+
}
|
|
367
|
+
/** Set the priority of an issue by specifying a `priorityId`. */
|
|
368
|
+
export interface JiraPriorityField {
|
|
369
|
+
priorityId: string;
|
|
370
|
+
}
|
|
371
|
+
export interface JiraRichTextField {
|
|
372
|
+
fieldId: string;
|
|
373
|
+
richText: JiraRichTextInput;
|
|
374
|
+
}
|
|
375
|
+
export interface JiraRichTextInput {
|
|
376
|
+
adfValue?: {
|
|
377
|
+
[key: string]: unknown;
|
|
378
|
+
};
|
|
379
|
+
}
|
|
380
|
+
export interface JiraSelectedOptionField {
|
|
381
|
+
optionId?: number;
|
|
382
|
+
}
|
|
383
|
+
export interface JiraSingleGroupPickerField {
|
|
384
|
+
fieldId: string;
|
|
385
|
+
group: JiraGroupInput;
|
|
386
|
+
}
|
|
387
|
+
export interface JiraSingleLineTextField {
|
|
388
|
+
fieldId: string;
|
|
389
|
+
text: string;
|
|
390
|
+
}
|
|
391
|
+
/**
|
|
392
|
+
* Add or clear a single select field:
|
|
393
|
+
*
|
|
394
|
+
* * To add, specify the option with an `optionId`.
|
|
395
|
+
* * To clear, pass an option with `optionId` as `-1`.
|
|
396
|
+
*/
|
|
397
|
+
export interface JiraSingleSelectField {
|
|
398
|
+
fieldId: string;
|
|
399
|
+
option: JiraSelectedOptionField;
|
|
400
|
+
}
|
|
401
|
+
export interface JiraSingleSelectUserPickerField {
|
|
402
|
+
fieldId: string;
|
|
403
|
+
user?: JiraUserField;
|
|
404
|
+
}
|
|
405
|
+
export interface JiraSingleVersionPickerField {
|
|
406
|
+
fieldId: string;
|
|
407
|
+
version: JiraVersionField;
|
|
408
|
+
}
|
|
409
|
+
export interface JiraUrlField {
|
|
410
|
+
fieldId: string;
|
|
411
|
+
url: string;
|
|
412
|
+
}
|
|
413
|
+
export interface JiraUserField {
|
|
414
|
+
accountId: string;
|
|
415
|
+
}
|
|
416
|
+
export interface JiraVersionField {
|
|
417
|
+
versionId?: string;
|
|
418
|
+
}
|
|
419
|
+
/** List of string of inputs */
|
|
420
|
+
export interface MandatoryFieldValue {
|
|
421
|
+
/** If `true`, will try to retain original non-null issue field values on move. */
|
|
422
|
+
retain?: boolean | null;
|
|
423
|
+
/** Will treat as `MandatoryFieldValue` if type is `raw` or `empty` */
|
|
424
|
+
type?: ("adf" | "raw") | null;
|
|
425
|
+
/** Value for each field. Provide a `list of strings` for non-ADF fields. */
|
|
426
|
+
value: string[];
|
|
427
|
+
}
|
|
428
|
+
/** An object notation input */
|
|
429
|
+
export interface MandatoryFieldValueForAdf {
|
|
430
|
+
/** If `true`, will try to retain original non-null issue field values on move. */
|
|
431
|
+
retain?: boolean | null;
|
|
432
|
+
/** Will treat as `MandatoryFieldValueForADF` if type is `adf` */
|
|
433
|
+
type: "adf" | "raw";
|
|
434
|
+
/**
|
|
435
|
+
* Value for each field. Accepts Atlassian Document Format (ADF) for rich text
|
|
436
|
+
* fields like `description`, `environments`. For ADF format details, refer to:
|
|
437
|
+
* [Atlassian Document
|
|
438
|
+
* Format](https://developer.atlassian.com/cloud/jira/platform/apis/document/structure)
|
|
439
|
+
*/
|
|
440
|
+
value: {
|
|
441
|
+
[key: string]: unknown;
|
|
442
|
+
};
|
|
443
|
+
}
|
|
444
|
+
export interface SubmittedBulkOperation {
|
|
445
|
+
taskId?: string;
|
|
446
|
+
}
|
|
447
|
+
/** Field mapping for mandatory fields in target */
|
|
448
|
+
export interface TargetMandatoryFields {
|
|
449
|
+
/** Contains the value of mandatory fields */
|
|
450
|
+
fields: {
|
|
451
|
+
/** Can contain multiple field values of following types depending on `type` key */
|
|
452
|
+
[key: string]: TargetMandatoryFieldsValue;
|
|
453
|
+
};
|
|
454
|
+
}
|
|
455
|
+
/** Can contain multiple field values of following types depending on `type` key */
|
|
456
|
+
export type TargetMandatoryFieldsValue = MandatoryFieldValue | MandatoryFieldValueForAdf;
|
|
457
|
+
/**
|
|
458
|
+
* Status mapping for statuses in source workflow to respective target status in
|
|
459
|
+
* target workflow.
|
|
460
|
+
*/
|
|
461
|
+
export interface TargetStatus {
|
|
462
|
+
/**
|
|
463
|
+
* An object with the key as the ID of the target status and value with the list
|
|
464
|
+
* of the IDs of the current source statuses.
|
|
465
|
+
*/
|
|
466
|
+
statuses: {
|
|
467
|
+
[key: string]: string[];
|
|
468
|
+
};
|
|
469
|
+
}
|
|
470
|
+
/**
|
|
471
|
+
* An object representing the mapping of issues and data related to destination
|
|
472
|
+
* entities, like fields and statuses, that are required during a bulk move.
|
|
473
|
+
*/
|
|
474
|
+
export interface TargetToSourcesMapping {
|
|
475
|
+
/**
|
|
476
|
+
* If `true`, values from the source issues will be retained for the mandatory
|
|
477
|
+
* fields in the field configuration of the destination project. The
|
|
478
|
+
* `targetMandatoryFields` property shouldn't be defined.
|
|
479
|
+
*
|
|
480
|
+
* If `false`, the user is required to set values for mandatory fields present in
|
|
481
|
+
* the field configuration of the destination project. Provide input by defining
|
|
482
|
+
* the `targetMandatoryFields` property
|
|
483
|
+
*/
|
|
484
|
+
inferFieldDefaults: boolean;
|
|
485
|
+
/**
|
|
486
|
+
* If `true`, the statuses of issues being moved in this target group that are not
|
|
487
|
+
* present in the target workflow will be changed to the default status of the
|
|
488
|
+
* target workflow (see below). Leave `targetStatus` empty when using this.
|
|
489
|
+
*
|
|
490
|
+
* If `false`, you must provide a `targetStatus` for each status not present in
|
|
491
|
+
* the target workflow.
|
|
492
|
+
*
|
|
493
|
+
* The default status in a workflow is referred to as the "initial status". Each
|
|
494
|
+
* workflow has its own unique initial status. When an issue is created, it is
|
|
495
|
+
* automatically assigned to this initial status. Read more about configuring
|
|
496
|
+
* initial statuses: [Configure the initial status | Atlassian
|
|
497
|
+
* Support.](https://support.atlassian.com/jira-cloud-administration/docs/configure-the-initial-status/)
|
|
498
|
+
*/
|
|
499
|
+
inferStatusDefaults: boolean;
|
|
500
|
+
/**
|
|
501
|
+
* When an issue is moved, its subtasks (if there are any) need to be moved with
|
|
502
|
+
* it. `inferSubtaskTypeDefault` helps with moving the subtasks by picking a
|
|
503
|
+
* random subtask type in the target project.
|
|
504
|
+
*
|
|
505
|
+
* If `true`, subtasks will automatically move to the same project as their parent.
|
|
506
|
+
*
|
|
507
|
+
* When they move:
|
|
508
|
+
*
|
|
509
|
+
* * Their `issueType` will be set to the default for subtasks in the target
|
|
510
|
+
* project.
|
|
511
|
+
* * Values for mandatory fields will be retained from the source issues
|
|
512
|
+
* * Specifying separate mapping for implicit subtasks won’t be allowed.
|
|
513
|
+
*
|
|
514
|
+
* If `false`, you must manually move the subtasks. They will retain the parent
|
|
515
|
+
* which they had in the current project after being moved.
|
|
516
|
+
*/
|
|
517
|
+
inferSubtaskTypeDefault: boolean;
|
|
518
|
+
/**
|
|
519
|
+
* List of issue IDs or keys to be moved. These issues must be from the same
|
|
520
|
+
* project, have the same issue type, and be from the same parent (if they’re
|
|
521
|
+
* subtasks).
|
|
522
|
+
*/
|
|
523
|
+
issueIdsOrKeys?: string[];
|
|
524
|
+
/**
|
|
525
|
+
* List of objects containing mandatory fields in the target field configuration
|
|
526
|
+
* and new values that need to be set during the bulk move operation.
|
|
527
|
+
*
|
|
528
|
+
* The new values will only be applied if the field is mandatory in the target
|
|
529
|
+
* project and at least one issue from the source has that field empty, or if the
|
|
530
|
+
* field context is different in the target project (e.g. project-scoped version
|
|
531
|
+
* fields).
|
|
532
|
+
*
|
|
533
|
+
* **You should only define this property when `inferFieldDefaults` is `false`.**
|
|
534
|
+
*/
|
|
535
|
+
targetMandatoryFields?: (TargetMandatoryFields | null)[] | null;
|
|
536
|
+
/**
|
|
537
|
+
* List of the objects containing statuses in the source workflow and their new
|
|
538
|
+
* values which need to be set during the bulk move operation.
|
|
539
|
+
*
|
|
540
|
+
* The new values will only be applied if the source status is invalid for the
|
|
541
|
+
* target project and issue type.
|
|
542
|
+
*
|
|
543
|
+
* **You should only define this property when `inferStatusDefaults` is `false`.**
|
|
544
|
+
*/
|
|
545
|
+
targetStatus?: (TargetStatus | null)[] | null;
|
|
546
|
+
}
|
|
547
|
+
export declare function registerIssueBulkOperationsValidationSchemas(validationSchemaStorage: CommonValidationSchemaStorage<ZodTypeAny>): void;
|