@resolution/jira-api-client 0.5.2 → 0.5.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +22 -0
- package/README.md +51 -19
- package/lib/openapi/{platform/core → core}/CommonHttpClient.d.ts +54 -3
- package/lib/openapi/{serviceManagement/core → core}/CommonHttpClient.js +14 -0
- package/lib/openapi/core/CommonHttpClient.js.map +1 -0
- package/lib/openapi/{software/core → core}/CommonHttpService.d.ts +17 -0
- package/lib/openapi/{platform/core → core}/CommonHttpService.js +11 -0
- package/lib/openapi/core/CommonHttpService.js.map +1 -0
- package/lib/openapi/core/CommonValidationSchemaStorage.js.map +1 -0
- package/lib/openapi/platform/BaseJiraPlatformApiClient.d.ts +5 -5
- package/lib/openapi/platform/BaseJiraPlatformApiClient.js +3 -3
- package/lib/openapi/platform/BaseJiraPlatformApiClient.js.map +1 -1
- package/lib/openapi/platform/models/announcementBanner.d.ts +1 -1
- package/lib/openapi/platform/models/appDataPolicies.d.ts +1 -1
- package/lib/openapi/platform/models/appMigration.d.ts +13 -7
- package/lib/openapi/platform/models/appMigration.js.map +1 -1
- package/lib/openapi/platform/models/appProperties.d.ts +3 -2
- package/lib/openapi/platform/models/appProperties.js.map +1 -1
- package/lib/openapi/platform/models/auditRecords.d.ts +1 -1
- package/lib/openapi/platform/models/avatars.d.ts +1 -1
- package/lib/openapi/platform/models/classificationLevels.d.ts +1 -1
- package/lib/openapi/platform/models/common.d.ts +3 -5
- package/lib/openapi/platform/models/common.js.map +1 -1
- package/lib/openapi/platform/models/dashboards.d.ts +2 -3
- package/lib/openapi/platform/models/dashboards.js.map +1 -1
- package/lib/openapi/platform/models/dynamicModules.d.ts +5 -3
- package/lib/openapi/platform/models/dynamicModules.js.map +1 -1
- package/lib/openapi/platform/models/filterSharing.d.ts +1 -1
- package/lib/openapi/platform/models/filters.d.ts +1 -1
- package/lib/openapi/platform/models/groupAndUserPicker.d.ts +1 -1
- package/lib/openapi/platform/models/groups.d.ts +1 -1
- package/lib/openapi/platform/models/issueAttachments.d.ts +1 -1
- package/lib/openapi/platform/models/issueBulkOperations.d.ts +2 -3
- package/lib/openapi/platform/models/issueBulkOperations.js.map +1 -1
- package/lib/openapi/platform/models/issueCommentProperties.d.ts +1 -1
- package/lib/openapi/platform/models/issueComments.d.ts +1 -1
- package/lib/openapi/platform/models/issueCustomFieldConfigurationApps.d.ts +1 -1
- package/lib/openapi/platform/models/issueCustomFieldContexts.d.ts +1 -1
- package/lib/openapi/platform/models/issueCustomFieldOptions.d.ts +1 -1
- package/lib/openapi/platform/models/issueCustomFieldOptionsApps.d.ts +1 -1
- package/lib/openapi/platform/models/issueCustomFieldValuesApps.d.ts +1 -1
- package/lib/openapi/platform/models/issueFieldConfigurations.d.ts +1 -1
- package/lib/openapi/platform/models/issueFields.d.ts +1 -1
- package/lib/openapi/platform/models/issueLinkTypes.d.ts +1 -1
- package/lib/openapi/platform/models/issueLinks.d.ts +1 -1
- package/lib/openapi/platform/models/issueNotificationSchemes.d.ts +1 -1
- package/lib/openapi/platform/models/issuePriorities.d.ts +1 -1
- package/lib/openapi/platform/models/issueProperties.d.ts +1 -1
- package/lib/openapi/platform/models/issueRemoteLinks.d.ts +1 -1
- package/lib/openapi/platform/models/issueResolutions.d.ts +1 -1
- package/lib/openapi/platform/models/issueSearch.d.ts +2 -3
- package/lib/openapi/platform/models/issueSearch.js.map +1 -1
- package/lib/openapi/platform/models/issueSecurityLevel.d.ts +1 -1
- package/lib/openapi/platform/models/issueSecuritySchemes.d.ts +1 -1
- package/lib/openapi/platform/models/issueTypeSchemes.d.ts +1 -1
- package/lib/openapi/platform/models/issueTypeScreenSchemes.d.ts +1 -1
- package/lib/openapi/platform/models/issueTypes.d.ts +1 -1
- package/lib/openapi/platform/models/issueVotes.d.ts +1 -1
- package/lib/openapi/platform/models/issueWatchers.d.ts +1 -1
- package/lib/openapi/platform/models/issueWorklogs.d.ts +1 -1
- package/lib/openapi/platform/models/issues.d.ts +16 -14
- package/lib/openapi/platform/models/issues.js.map +1 -1
- package/lib/openapi/platform/models/jiraExpressions.d.ts +8 -6
- package/lib/openapi/platform/models/jiraExpressions.js.map +1 -1
- package/lib/openapi/platform/models/jiraSettings.d.ts +1 -1
- package/lib/openapi/platform/models/jql.d.ts +9 -5
- package/lib/openapi/platform/models/jql.js.map +1 -1
- package/lib/openapi/platform/models/jqlFunctionsApps.d.ts +1 -1
- package/lib/openapi/platform/models/labels.d.ts +1 -1
- package/lib/openapi/platform/models/licenseMetrics.d.ts +1 -1
- package/lib/openapi/platform/models/myself.d.ts +1 -1
- package/lib/openapi/platform/models/permissionSchemes.d.ts +1 -1
- package/lib/openapi/platform/models/permissions.d.ts +2 -3
- package/lib/openapi/platform/models/permissions.js.map +1 -1
- package/lib/openapi/platform/models/prioritySchemes.d.ts +1 -1
- package/lib/openapi/platform/models/projectAvatars.d.ts +1 -1
- package/lib/openapi/platform/models/projectClassificationLevels.d.ts +1 -1
- package/lib/openapi/platform/models/projectComponents.d.ts +1 -1
- package/lib/openapi/platform/models/projectEmail.d.ts +1 -1
- package/lib/openapi/platform/models/projectFeatures.d.ts +1 -1
- package/lib/openapi/platform/models/projectPermissionSchemes.d.ts +1 -1
- package/lib/openapi/platform/models/projectRoleActors.d.ts +1 -1
- package/lib/openapi/platform/models/projectRoles.d.ts +1 -1
- package/lib/openapi/platform/models/projectTypes.d.ts +1 -1
- package/lib/openapi/platform/models/projectVersions.d.ts +1 -1
- package/lib/openapi/platform/models/projects.d.ts +1 -1
- package/lib/openapi/platform/models/screenSchemes.d.ts +2 -2
- package/lib/openapi/platform/models/screenSchemes.js +1 -1
- package/lib/openapi/platform/models/screenSchemes.js.map +1 -1
- package/lib/openapi/platform/models/screenTabFields.d.ts +1 -1
- package/lib/openapi/platform/models/screens.d.ts +1 -1
- package/lib/openapi/platform/models/serverInfo.d.ts +1 -1
- package/lib/openapi/platform/models/serviceRegistry.d.ts +3 -2
- package/lib/openapi/platform/models/serviceRegistry.js.map +1 -1
- package/lib/openapi/platform/models/status.d.ts +1 -1
- package/lib/openapi/platform/models/timeTracking.d.ts +1 -1
- package/lib/openapi/platform/models/uiModificationsApps.d.ts +1 -1
- package/lib/openapi/platform/models/userSearch.d.ts +1 -1
- package/lib/openapi/platform/models/users.d.ts +1 -1
- package/lib/openapi/platform/models/webhooks.d.ts +1 -1
- package/lib/openapi/platform/models/workflowSchemeDrafts.d.ts +1 -1
- package/lib/openapi/platform/models/workflowSchemeProjectAssociations.d.ts +1 -1
- package/lib/openapi/platform/models/workflowSchemes.d.ts +1 -1
- package/lib/openapi/platform/models/workflowTransitionProperties.d.ts +1 -1
- package/lib/openapi/platform/models/workflowTransitionRules.d.ts +1 -1
- package/lib/openapi/platform/models/workflows.d.ts +104 -70
- package/lib/openapi/platform/models/workflows.js +12 -0
- package/lib/openapi/platform/models/workflows.js.map +1 -1
- package/lib/openapi/platform/services/AnnouncementBannerService.d.ts +12 -9
- package/lib/openapi/platform/services/AnnouncementBannerService.js +10 -7
- package/lib/openapi/platform/services/AnnouncementBannerService.js.map +1 -1
- package/lib/openapi/platform/services/AppDataPoliciesService.d.ts +12 -5
- package/lib/openapi/platform/services/AppDataPoliciesService.js +13 -6
- package/lib/openapi/platform/services/AppDataPoliciesService.js.map +1 -1
- package/lib/openapi/platform/services/AppMigrationService.d.ts +13 -6
- package/lib/openapi/platform/services/AppMigrationService.js +12 -6
- package/lib/openapi/platform/services/AppMigrationService.js.map +1 -1
- package/lib/openapi/platform/services/AppPropertiesService.d.ts +43 -19
- package/lib/openapi/platform/services/AppPropertiesService.js +44 -20
- package/lib/openapi/platform/services/AppPropertiesService.js.map +1 -1
- package/lib/openapi/platform/services/ApplicationRolesService.d.ts +20 -21
- package/lib/openapi/platform/services/ApplicationRolesService.js +21 -22
- package/lib/openapi/platform/services/ApplicationRolesService.js.map +1 -1
- package/lib/openapi/platform/services/AuditRecordsService.d.ts +7 -3
- package/lib/openapi/platform/services/AuditRecordsService.js +8 -4
- package/lib/openapi/platform/services/AuditRecordsService.js.map +1 -1
- package/lib/openapi/platform/services/AvatarsService.d.ts +45 -38
- package/lib/openapi/platform/services/AvatarsService.js +45 -38
- package/lib/openapi/platform/services/AvatarsService.js.map +1 -1
- package/lib/openapi/platform/services/ClassificationLevelsService.d.ts +16 -22
- package/lib/openapi/platform/services/ClassificationLevelsService.js +17 -23
- package/lib/openapi/platform/services/ClassificationLevelsService.js.map +1 -1
- package/lib/openapi/platform/services/DashboardsService.d.ts +140 -146
- package/lib/openapi/platform/services/DashboardsService.js +122 -130
- package/lib/openapi/platform/services/DashboardsService.js.map +1 -1
- package/lib/openapi/platform/services/DynamicModulesService.d.ts +6 -4
- package/lib/openapi/platform/services/DynamicModulesService.js +7 -5
- package/lib/openapi/platform/services/DynamicModulesService.js.map +1 -1
- package/lib/openapi/platform/services/FilterSharingService.d.ts +73 -96
- package/lib/openapi/platform/services/FilterSharingService.js +70 -95
- package/lib/openapi/platform/services/FilterSharingService.js.map +1 -1
- package/lib/openapi/platform/services/FiltersService.d.ts +179 -258
- package/lib/openapi/platform/services/FiltersService.js +174 -256
- package/lib/openapi/platform/services/FiltersService.js.map +1 -1
- package/lib/openapi/platform/services/GroupAndUserPickerService.d.ts +9 -7
- package/lib/openapi/platform/services/GroupAndUserPickerService.js +10 -8
- package/lib/openapi/platform/services/GroupAndUserPickerService.js.map +1 -1
- package/lib/openapi/platform/services/GroupsService.d.ts +43 -27
- package/lib/openapi/platform/services/GroupsService.js +40 -26
- package/lib/openapi/platform/services/GroupsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueAttachmentsService.d.ts +174 -170
- package/lib/openapi/platform/services/IssueAttachmentsService.js +175 -171
- package/lib/openapi/platform/services/IssueAttachmentsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueBulkOperationsService.d.ts +36 -20
- package/lib/openapi/platform/services/IssueBulkOperationsService.js +35 -20
- package/lib/openapi/platform/services/IssueBulkOperationsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueCommentPropertiesService.d.ts +20 -10
- package/lib/openapi/platform/services/IssueCommentPropertiesService.js +21 -11
- package/lib/openapi/platform/services/IssueCommentPropertiesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueCommentsService.d.ts +66 -81
- package/lib/openapi/platform/services/IssueCommentsService.js +59 -71
- package/lib/openapi/platform/services/IssueCommentsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueCustomFieldConfigurationAppsService.d.ts +11 -5
- package/lib/openapi/platform/services/IssueCustomFieldConfigurationAppsService.js +10 -5
- package/lib/openapi/platform/services/IssueCustomFieldConfigurationAppsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueCustomFieldContextsService.d.ts +72 -38
- package/lib/openapi/platform/services/IssueCustomFieldContextsService.js +55 -27
- package/lib/openapi/platform/services/IssueCustomFieldContextsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueCustomFieldOptionsAppsService.d.ts +51 -29
- package/lib/openapi/platform/services/IssueCustomFieldOptionsAppsService.js +48 -28
- package/lib/openapi/platform/services/IssueCustomFieldOptionsAppsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueCustomFieldOptionsService.d.ts +38 -17
- package/lib/openapi/platform/services/IssueCustomFieldOptionsService.js +33 -15
- package/lib/openapi/platform/services/IssueCustomFieldOptionsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueCustomFieldValuesAppsService.d.ts +9 -5
- package/lib/openapi/platform/services/IssueCustomFieldValuesAppsService.js +6 -4
- package/lib/openapi/platform/services/IssueCustomFieldValuesAppsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueFieldConfigurationsService.d.ts +78 -35
- package/lib/openapi/platform/services/IssueFieldConfigurationsService.js +63 -28
- package/lib/openapi/platform/services/IssueFieldConfigurationsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueFieldsService.d.ts +57 -47
- package/lib/openapi/platform/services/IssueFieldsService.js +52 -42
- package/lib/openapi/platform/services/IssueFieldsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueLinkTypesService.d.ts +30 -12
- package/lib/openapi/platform/services/IssueLinkTypesService.js +27 -11
- package/lib/openapi/platform/services/IssueLinkTypesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueLinksService.d.ts +21 -24
- package/lib/openapi/platform/services/IssueLinksService.js +20 -24
- package/lib/openapi/platform/services/IssueLinksService.js.map +1 -1
- package/lib/openapi/platform/services/IssueNavigatorSettingsService.d.ts +8 -4
- package/lib/openapi/platform/services/IssueNavigatorSettingsService.js +9 -5
- package/lib/openapi/platform/services/IssueNavigatorSettingsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueNotificationSchemesService.d.ts +64 -70
- package/lib/openapi/platform/services/IssueNotificationSchemesService.js +59 -68
- package/lib/openapi/platform/services/IssueNotificationSchemesService.js.map +1 -1
- package/lib/openapi/platform/services/IssuePrioritiesService.d.ts +45 -27
- package/lib/openapi/platform/services/IssuePrioritiesService.js +38 -24
- package/lib/openapi/platform/services/IssuePrioritiesService.js.map +1 -1
- package/lib/openapi/platform/services/IssuePropertiesService.d.ts +34 -17
- package/lib/openapi/platform/services/IssuePropertiesService.js +29 -15
- package/lib/openapi/platform/services/IssuePropertiesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueRemoteLinksService.d.ts +42 -28
- package/lib/openapi/platform/services/IssueRemoteLinksService.js +39 -27
- package/lib/openapi/platform/services/IssueRemoteLinksService.js.map +1 -1
- package/lib/openapi/platform/services/IssueResolutionsService.d.ts +40 -17
- package/lib/openapi/platform/services/IssueResolutionsService.js +33 -14
- package/lib/openapi/platform/services/IssueResolutionsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueSearchService.d.ts +86 -139
- package/lib/openapi/platform/services/IssueSearchService.js +81 -137
- package/lib/openapi/platform/services/IssueSearchService.js.map +1 -1
- package/lib/openapi/platform/services/IssueSecurityLevelService.d.ts +20 -19
- package/lib/openapi/platform/services/IssueSecurityLevelService.js +21 -20
- package/lib/openapi/platform/services/IssueSecurityLevelService.js.map +1 -1
- package/lib/openapi/platform/services/IssueSecuritySchemesService.d.ts +78 -40
- package/lib/openapi/platform/services/IssueSecuritySchemesService.js +65 -34
- package/lib/openapi/platform/services/IssueSecuritySchemesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueTypePropertiesService.d.ts +22 -11
- package/lib/openapi/platform/services/IssueTypePropertiesService.js +21 -11
- package/lib/openapi/platform/services/IssueTypePropertiesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueTypeSchemesService.d.ts +53 -34
- package/lib/openapi/platform/services/IssueTypeSchemesService.js +42 -26
- package/lib/openapi/platform/services/IssueTypeSchemesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueTypeScreenSchemesService.d.ts +56 -27
- package/lib/openapi/platform/services/IssueTypeScreenSchemesService.js +45 -22
- package/lib/openapi/platform/services/IssueTypeScreenSchemesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueTypesService.d.ts +53 -42
- package/lib/openapi/platform/services/IssueTypesService.js +50 -41
- package/lib/openapi/platform/services/IssueTypesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueVotesService.d.ts +17 -17
- package/lib/openapi/platform/services/IssueVotesService.js +18 -18
- package/lib/openapi/platform/services/IssueVotesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueWatchersService.d.ts +20 -10
- package/lib/openapi/platform/services/IssueWatchersService.js +19 -10
- package/lib/openapi/platform/services/IssueWatchersService.js.map +1 -1
- package/lib/openapi/platform/services/IssueWorklogPropertiesService.d.ts +20 -13
- package/lib/openapi/platform/services/IssueWorklogPropertiesService.js +21 -14
- package/lib/openapi/platform/services/IssueWorklogPropertiesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueWorklogsService.d.ts +69 -67
- package/lib/openapi/platform/services/IssueWorklogsService.js +64 -65
- package/lib/openapi/platform/services/IssueWorklogsService.js.map +1 -1
- package/lib/openapi/platform/services/IssuesService.d.ts +226 -228
- package/lib/openapi/platform/services/IssuesService.js +197 -209
- package/lib/openapi/platform/services/IssuesService.js.map +1 -1
- package/lib/openapi/platform/services/JiraExpressionsService.d.ts +25 -24
- package/lib/openapi/platform/services/JiraExpressionsService.js +21 -20
- package/lib/openapi/platform/services/JiraExpressionsService.js.map +1 -1
- package/lib/openapi/platform/services/JiraSettingsService.d.ts +21 -9
- package/lib/openapi/platform/services/JiraSettingsService.js +20 -9
- package/lib/openapi/platform/services/JiraSettingsService.js.map +1 -1
- package/lib/openapi/platform/services/JqlFunctionsAppsService.d.ts +13 -9
- package/lib/openapi/platform/services/JqlFunctionsAppsService.js +12 -9
- package/lib/openapi/platform/services/JqlFunctionsAppsService.js.map +1 -1
- package/lib/openapi/platform/services/JqlService.d.ts +55 -43
- package/lib/openapi/platform/services/JqlService.js +45 -33
- package/lib/openapi/platform/services/JqlService.js.map +1 -1
- package/lib/openapi/platform/services/LabelsService.d.ts +7 -3
- package/lib/openapi/platform/services/LabelsService.js +8 -4
- package/lib/openapi/platform/services/LabelsService.js.map +1 -1
- package/lib/openapi/platform/services/LicenseMetricsService.d.ts +17 -7
- package/lib/openapi/platform/services/LicenseMetricsService.js +18 -8
- package/lib/openapi/platform/services/LicenseMetricsService.js.map +1 -1
- package/lib/openapi/platform/services/MyselfService.d.ts +28 -21
- package/lib/openapi/platform/services/MyselfService.js +27 -21
- package/lib/openapi/platform/services/MyselfService.js.map +1 -1
- package/lib/openapi/platform/services/PermissionSchemesService.d.ts +67 -55
- package/lib/openapi/platform/services/PermissionSchemesService.js +62 -53
- package/lib/openapi/platform/services/PermissionSchemesService.js.map +1 -1
- package/lib/openapi/platform/services/PermissionsService.d.ts +23 -11
- package/lib/openapi/platform/services/PermissionsService.js +22 -11
- package/lib/openapi/platform/services/PermissionsService.js.map +1 -1
- package/lib/openapi/platform/services/PrioritySchemesService.d.ts +60 -26
- package/lib/openapi/platform/services/PrioritySchemesService.js +54 -23
- package/lib/openapi/platform/services/PrioritySchemesService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectAvatarsService.d.ts +27 -24
- package/lib/openapi/platform/services/ProjectAvatarsService.js +26 -24
- package/lib/openapi/platform/services/ProjectAvatarsService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectCategoriesService.d.ts +30 -12
- package/lib/openapi/platform/services/ProjectCategoriesService.js +27 -11
- package/lib/openapi/platform/services/ProjectCategoriesService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectClassificationLevelsService.d.ts +17 -14
- package/lib/openapi/platform/services/ProjectClassificationLevelsService.js +15 -12
- package/lib/openapi/platform/services/ProjectClassificationLevelsService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectComponentsService.d.ts +198 -321
- package/lib/openapi/platform/services/ProjectComponentsService.js +195 -320
- package/lib/openapi/platform/services/ProjectComponentsService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectEmailService.d.ts +11 -5
- package/lib/openapi/platform/services/ProjectEmailService.js +10 -5
- package/lib/openapi/platform/services/ProjectEmailService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectFeaturesService.d.ts +23 -22
- package/lib/openapi/platform/services/ProjectFeaturesService.js +22 -22
- package/lib/openapi/platform/services/ProjectFeaturesService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectKeyAndNameValidationService.d.ts +19 -7
- package/lib/openapi/platform/services/ProjectKeyAndNameValidationService.js +20 -8
- package/lib/openapi/platform/services/ProjectKeyAndNameValidationService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectPermissionSchemesService.d.ts +32 -23
- package/lib/openapi/platform/services/ProjectPermissionSchemesService.js +31 -23
- package/lib/openapi/platform/services/ProjectPermissionSchemesService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectPropertiesService.d.ts +22 -11
- package/lib/openapi/platform/services/ProjectPropertiesService.js +21 -11
- package/lib/openapi/platform/services/ProjectPropertiesService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectRoleActorsService.d.ts +47 -33
- package/lib/openapi/platform/services/ProjectRoleActorsService.js +42 -31
- package/lib/openapi/platform/services/ProjectRoleActorsService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectRolesService.d.ts +67 -43
- package/lib/openapi/platform/services/ProjectRolesService.js +62 -41
- package/lib/openapi/platform/services/ProjectRolesService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectTypesService.d.ts +29 -21
- package/lib/openapi/platform/services/ProjectTypesService.js +30 -22
- package/lib/openapi/platform/services/ProjectTypesService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectVersionsService.d.ts +87 -36
- package/lib/openapi/platform/services/ProjectVersionsService.js +78 -32
- package/lib/openapi/platform/services/ProjectVersionsService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectsService.d.ts +207 -313
- package/lib/openapi/platform/services/ProjectsService.js +203 -310
- package/lib/openapi/platform/services/ProjectsService.js.map +1 -1
- package/lib/openapi/platform/services/ScreenSchemesService.d.ts +22 -11
- package/lib/openapi/platform/services/ScreenSchemesService.js +19 -10
- package/lib/openapi/platform/services/ScreenSchemesService.js.map +1 -1
- package/lib/openapi/platform/services/ScreenTabFieldsService.d.ts +15 -7
- package/lib/openapi/platform/services/ScreenTabFieldsService.js +14 -7
- package/lib/openapi/platform/services/ScreenTabFieldsService.js.map +1 -1
- package/lib/openapi/platform/services/ScreenTabsService.d.ts +27 -11
- package/lib/openapi/platform/services/ScreenTabsService.js +26 -11
- package/lib/openapi/platform/services/ScreenTabsService.js.map +1 -1
- package/lib/openapi/platform/services/ScreensService.d.ts +42 -28
- package/lib/openapi/platform/services/ScreensService.js +38 -25
- package/lib/openapi/platform/services/ScreensService.js.map +1 -1
- package/lib/openapi/platform/services/ServerInfoService.d.ts +6 -3
- package/lib/openapi/platform/services/ServerInfoService.js +7 -4
- package/lib/openapi/platform/services/ServerInfoService.js.map +1 -1
- package/lib/openapi/platform/services/ServiceRegistryService.d.ts +5 -3
- package/lib/openapi/platform/services/ServiceRegistryService.js +4 -3
- package/lib/openapi/platform/services/ServiceRegistryService.js.map +1 -1
- package/lib/openapi/platform/services/StatusService.d.ts +29 -15
- package/lib/openapi/platform/services/StatusService.js +26 -14
- package/lib/openapi/platform/services/StatusService.js.map +1 -1
- package/lib/openapi/platform/services/TasksService.d.ts +9 -4
- package/lib/openapi/platform/services/TasksService.js +10 -5
- package/lib/openapi/platform/services/TasksService.js.map +1 -1
- package/lib/openapi/platform/services/TimeTrackingService.d.ts +31 -14
- package/lib/openapi/platform/services/TimeTrackingService.js +27 -12
- package/lib/openapi/platform/services/TimeTrackingService.js.map +1 -1
- package/lib/openapi/platform/services/UiModificationsAppsService.d.ts +26 -19
- package/lib/openapi/platform/services/UiModificationsAppsService.js +23 -18
- package/lib/openapi/platform/services/UiModificationsAppsService.js.map +1 -1
- package/lib/openapi/platform/services/UserPropertiesService.d.ts +20 -10
- package/lib/openapi/platform/services/UserPropertiesService.js +21 -11
- package/lib/openapi/platform/services/UserPropertiesService.js.map +1 -1
- package/lib/openapi/platform/services/UserSearchService.d.ts +95 -126
- package/lib/openapi/platform/services/UserSearchService.js +96 -127
- package/lib/openapi/platform/services/UserSearchService.js.map +1 -1
- package/lib/openapi/platform/services/UsersService.d.ts +97 -95
- package/lib/openapi/platform/services/UsersService.js +96 -95
- package/lib/openapi/platform/services/UsersService.js.map +1 -1
- package/lib/openapi/platform/services/WebhooksService.d.ts +35 -18
- package/lib/openapi/platform/services/WebhooksService.js +30 -16
- package/lib/openapi/platform/services/WebhooksService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowSchemeDraftsService.d.ts +133 -147
- package/lib/openapi/platform/services/WorkflowSchemeDraftsService.js +124 -143
- package/lib/openapi/platform/services/WorkflowSchemeDraftsService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowSchemeProjectAssociationsService.d.ts +13 -10
- package/lib/openapi/platform/services/WorkflowSchemeProjectAssociationsService.js +12 -10
- package/lib/openapi/platform/services/WorkflowSchemeProjectAssociationsService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowSchemesService.d.ts +121 -82
- package/lib/openapi/platform/services/WorkflowSchemesService.js +106 -75
- package/lib/openapi/platform/services/WorkflowSchemesService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowStatusCategoriesService.d.ts +12 -5
- package/lib/openapi/platform/services/WorkflowStatusCategoriesService.js +13 -6
- package/lib/openapi/platform/services/WorkflowStatusCategoriesService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowStatusesService.d.ts +12 -5
- package/lib/openapi/platform/services/WorkflowStatusesService.js +13 -6
- package/lib/openapi/platform/services/WorkflowStatusesService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowTransitionPropertiesService.d.ts +25 -10
- package/lib/openapi/platform/services/WorkflowTransitionPropertiesService.js +22 -9
- package/lib/openapi/platform/services/WorkflowTransitionPropertiesService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowTransitionRulesService.d.ts +25 -13
- package/lib/openapi/platform/services/WorkflowTransitionRulesService.js +22 -12
- package/lib/openapi/platform/services/WorkflowTransitionRulesService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowsService.d.ts +791 -693
- package/lib/openapi/platform/services/WorkflowsService.js +754 -644
- package/lib/openapi/platform/services/WorkflowsService.js.map +1 -1
- package/lib/openapi/platform/validationSchemaStorage.d.ts +1 -1
- package/lib/openapi/platform/validationSchemaStorage.js +1 -1
- package/lib/openapi/platform/validationSchemaStorage.js.map +1 -1
- package/lib/openapi/serviceManagement/BaseJiraServiceManagementApiClient.d.ts +3 -3
- package/lib/openapi/serviceManagement/BaseJiraServiceManagementApiClient.js +3 -3
- package/lib/openapi/serviceManagement/BaseJiraServiceManagementApiClient.js.map +1 -1
- package/lib/openapi/serviceManagement/models/assets.d.ts +1 -1
- package/lib/openapi/serviceManagement/models/common.d.ts +1 -1
- package/lib/openapi/serviceManagement/models/customer.d.ts +1 -1
- package/lib/openapi/serviceManagement/models/info.d.ts +1 -1
- package/lib/openapi/serviceManagement/models/knowledgebase.d.ts +1 -1
- package/lib/openapi/serviceManagement/models/organization.d.ts +1 -1
- package/lib/openapi/serviceManagement/models/request.d.ts +1 -1
- package/lib/openapi/serviceManagement/models/servicedesk.d.ts +4 -7
- package/lib/openapi/serviceManagement/models/servicedesk.js.map +1 -1
- package/lib/openapi/serviceManagement/services/AssetsService.d.ts +11 -8
- package/lib/openapi/serviceManagement/services/AssetsService.js +12 -9
- package/lib/openapi/serviceManagement/services/AssetsService.js.map +1 -1
- package/lib/openapi/serviceManagement/services/CustomerService.d.ts +17 -20
- package/lib/openapi/serviceManagement/services/CustomerService.js +16 -20
- package/lib/openapi/serviceManagement/services/CustomerService.js.map +1 -1
- package/lib/openapi/serviceManagement/services/InfoService.d.ts +6 -3
- package/lib/openapi/serviceManagement/services/InfoService.js +7 -4
- package/lib/openapi/serviceManagement/services/InfoService.js.map +1 -1
- package/lib/openapi/serviceManagement/services/KnowledgebaseService.d.ts +11 -11
- package/lib/openapi/serviceManagement/services/KnowledgebaseService.js +12 -12
- package/lib/openapi/serviceManagement/services/KnowledgebaseService.js.map +1 -1
- package/lib/openapi/serviceManagement/services/OrganizationService.d.ts +108 -104
- package/lib/openapi/serviceManagement/services/OrganizationService.js +97 -99
- package/lib/openapi/serviceManagement/services/OrganizationService.js.map +1 -1
- package/lib/openapi/serviceManagement/services/RequestService.d.ts +420 -578
- package/lib/openapi/serviceManagement/services/RequestService.js +405 -571
- package/lib/openapi/serviceManagement/services/RequestService.js.map +1 -1
- package/lib/openapi/serviceManagement/services/RequesttypeService.d.ts +25 -39
- package/lib/openapi/serviceManagement/services/RequesttypeService.js +26 -40
- package/lib/openapi/serviceManagement/services/RequesttypeService.js.map +1 -1
- package/lib/openapi/serviceManagement/services/ServicedeskService.d.ts +195 -215
- package/lib/openapi/serviceManagement/services/ServicedeskService.js +190 -213
- package/lib/openapi/serviceManagement/services/ServicedeskService.js.map +1 -1
- package/lib/openapi/serviceManagement/validationSchemaStorage.d.ts +1 -1
- package/lib/openapi/serviceManagement/validationSchemaStorage.js +1 -1
- package/lib/openapi/serviceManagement/validationSchemaStorage.js.map +1 -1
- package/lib/openapi/software/BaseJiraSoftwareApiClient.d.ts +2 -2
- package/lib/openapi/software/BaseJiraSoftwareApiClient.js +2 -2
- package/lib/openapi/software/BaseJiraSoftwareApiClient.js.map +1 -1
- package/lib/openapi/software/models/board.d.ts +4 -7
- package/lib/openapi/software/models/board.js.map +1 -1
- package/lib/openapi/software/models/builds.d.ts +39 -20
- package/lib/openapi/software/models/builds.js.map +1 -1
- package/lib/openapi/software/models/common.d.ts +8 -6
- package/lib/openapi/software/models/common.js.map +1 -1
- package/lib/openapi/software/models/deployments.d.ts +37 -18
- package/lib/openapi/software/models/deployments.js.map +1 -1
- package/lib/openapi/software/models/devOpsComponents.d.ts +7 -4
- package/lib/openapi/software/models/devOpsComponents.js.map +1 -1
- package/lib/openapi/software/models/developmentInformation.d.ts +107 -55
- package/lib/openapi/software/models/developmentInformation.js.map +1 -1
- package/lib/openapi/software/models/epic.d.ts +1 -1
- package/lib/openapi/software/models/featureFlags.d.ts +17 -9
- package/lib/openapi/software/models/featureFlags.js.map +1 -1
- package/lib/openapi/software/models/issue.d.ts +1 -1
- package/lib/openapi/software/models/operations.d.ts +61 -31
- package/lib/openapi/software/models/operations.js.map +1 -1
- package/lib/openapi/software/models/remoteLinks.d.ts +37 -19
- package/lib/openapi/software/models/remoteLinks.js.map +1 -1
- package/lib/openapi/software/models/securityInformation.d.ts +53 -27
- package/lib/openapi/software/models/securityInformation.js.map +1 -1
- package/lib/openapi/software/models/sprint.d.ts +1 -1
- package/lib/openapi/software/services/BacklogService.d.ts +14 -8
- package/lib/openapi/software/services/BacklogService.js +11 -7
- package/lib/openapi/software/services/BacklogService.js.map +1 -1
- package/lib/openapi/software/services/BoardService.d.ts +200 -204
- package/lib/openapi/software/services/BoardService.js +197 -203
- package/lib/openapi/software/services/BoardService.js.map +1 -1
- package/lib/openapi/software/services/BuildsService.d.ts +11 -9
- package/lib/openapi/software/services/BuildsService.js +12 -10
- package/lib/openapi/software/services/BuildsService.js.map +1 -1
- package/lib/openapi/software/services/DeploymentsService.d.ts +13 -13
- package/lib/openapi/software/services/DeploymentsService.js +14 -14
- package/lib/openapi/software/services/DeploymentsService.js.map +1 -1
- package/lib/openapi/software/services/DevOpsComponentsService.d.ts +33 -20
- package/lib/openapi/software/services/DevOpsComponentsService.js +12 -10
- package/lib/openapi/software/services/DevOpsComponentsService.js.map +1 -1
- package/lib/openapi/software/services/DevelopmentInformationService.d.ts +14 -9
- package/lib/openapi/software/services/DevelopmentInformationService.js +15 -10
- package/lib/openapi/software/services/DevelopmentInformationService.js.map +1 -1
- package/lib/openapi/software/services/EpicService.d.ts +67 -76
- package/lib/openapi/software/services/EpicService.js +60 -73
- package/lib/openapi/software/services/EpicService.js.map +1 -1
- package/lib/openapi/software/services/FeatureFlagsService.d.ts +11 -9
- package/lib/openapi/software/services/FeatureFlagsService.js +12 -10
- package/lib/openapi/software/services/FeatureFlagsService.js.map +1 -1
- package/lib/openapi/software/services/IssueService.d.ts +45 -44
- package/lib/openapi/software/services/IssueService.js +42 -43
- package/lib/openapi/software/services/IssueService.js.map +1 -1
- package/lib/openapi/software/services/OperationsService.d.ts +66 -38
- package/lib/openapi/software/services/OperationsService.js +23 -17
- package/lib/openapi/software/services/OperationsService.js.map +1 -1
- package/lib/openapi/software/services/RemoteLinksService.d.ts +18 -13
- package/lib/openapi/software/services/RemoteLinksService.js +12 -10
- package/lib/openapi/software/services/RemoteLinksService.js.map +1 -1
- package/lib/openapi/software/services/SecurityInformationService.d.ts +19 -13
- package/lib/openapi/software/services/SecurityInformationService.js +20 -14
- package/lib/openapi/software/services/SecurityInformationService.js.map +1 -1
- package/lib/openapi/software/services/SprintService.d.ts +79 -55
- package/lib/openapi/software/services/SprintService.js +70 -51
- package/lib/openapi/software/services/SprintService.js.map +1 -1
- package/lib/openapi/software/validationSchemaStorage.d.ts +1 -1
- package/lib/openapi/software/validationSchemaStorage.js +1 -1
- package/lib/openapi/software/validationSchemaStorage.js.map +1 -1
- package/package.json +3 -3
- package/lib/openapi/platform/core/CommonHttpClient.js +0 -390
- package/lib/openapi/platform/core/CommonHttpClient.js.map +0 -1
- package/lib/openapi/platform/core/CommonHttpService.d.ts +0 -9
- package/lib/openapi/platform/core/CommonHttpService.js.map +0 -1
- package/lib/openapi/platform/core/CommonValidationSchemaStorage.js.map +0 -1
- package/lib/openapi/serviceManagement/core/CommonHttpClient.d.ts +0 -196
- package/lib/openapi/serviceManagement/core/CommonHttpClient.js.map +0 -1
- package/lib/openapi/serviceManagement/core/CommonHttpService.d.ts +0 -9
- package/lib/openapi/serviceManagement/core/CommonHttpService.js +0 -29
- package/lib/openapi/serviceManagement/core/CommonHttpService.js.map +0 -1
- package/lib/openapi/serviceManagement/core/CommonValidationSchemaStorage.d.ts +0 -35
- package/lib/openapi/serviceManagement/core/CommonValidationSchemaStorage.js +0 -65
- package/lib/openapi/serviceManagement/core/CommonValidationSchemaStorage.js.map +0 -1
- package/lib/openapi/software/core/CommonHttpClient.d.ts +0 -196
- package/lib/openapi/software/core/CommonHttpClient.js +0 -390
- package/lib/openapi/software/core/CommonHttpClient.js.map +0 -1
- package/lib/openapi/software/core/CommonHttpService.js +0 -29
- package/lib/openapi/software/core/CommonHttpService.js.map +0 -1
- package/lib/openapi/software/core/CommonValidationSchemaStorage.d.ts +0 -35
- package/lib/openapi/software/core/CommonValidationSchemaStorage.js +0 -65
- package/lib/openapi/software/core/CommonValidationSchemaStorage.js.map +0 -1
- /package/lib/openapi/{platform/core → core}/CommonValidationSchemaStorage.d.ts +0 -0
- /package/lib/openapi/{platform/core → core}/CommonValidationSchemaStorage.js +0 -0
|
@@ -5,8 +5,8 @@ exports.FiltersService = void 0;
|
|
|
5
5
|
// This file is generated by "api-typescript-generator".
|
|
6
6
|
// To update this file run "yarn build:openapi".
|
|
7
7
|
const zod_1 = require("zod");
|
|
8
|
-
const commonHttpClient = require("
|
|
9
|
-
const CommonHttpService_1 = require("
|
|
8
|
+
const commonHttpClient = require("../../core/CommonHttpClient");
|
|
9
|
+
const CommonHttpService_1 = require("../../core/CommonHttpService");
|
|
10
10
|
const common_1 = require("../models/common");
|
|
11
11
|
const filters_1 = require("../models/filters");
|
|
12
12
|
const validationSchemaStorage_1 = require("../validationSchemaStorage");
|
|
@@ -28,10 +28,11 @@ class FiltersService extends CommonHttpService_1.CommonHttpService {
|
|
|
28
28
|
* permission](https://confluence.atlassian.com/x/x4dKLg).
|
|
29
29
|
*
|
|
30
30
|
* @returns Returned if the request is successful.
|
|
31
|
-
* @path
|
|
31
|
+
* @path PUT `/rest/api/3/filter/{id}/owner`
|
|
32
32
|
* @scopes-beta read:filter:jira, write:filter:jira
|
|
33
33
|
* @scopes-current write:jira-work
|
|
34
34
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-filters#api-rest-api-3-filter-id-owner-put
|
|
35
|
+
* @param params
|
|
35
36
|
*/
|
|
36
37
|
this.changeFilterOwner = ({ id, changeFilterOwner, }) => {
|
|
37
38
|
return this.getClientInstance()
|
|
@@ -63,7 +64,9 @@ class FiltersService extends CommonHttpService_1.CommonHttpService {
|
|
|
63
64
|
*
|
|
64
65
|
* @returns Returned if the request is successful.
|
|
65
66
|
*
|
|
66
|
-
* example:
|
|
67
|
+
* example:
|
|
68
|
+
* ```
|
|
69
|
+
* {
|
|
67
70
|
* "approximateLastUsed": null,
|
|
68
71
|
* "description": "Lists all open bugs",
|
|
69
72
|
* "favourite": true,
|
|
@@ -76,23 +79,17 @@ class FiltersService extends CommonHttpService_1.CommonHttpService {
|
|
|
76
79
|
* "accountType": "atlassian",
|
|
77
80
|
* "active": false,
|
|
78
81
|
* "avatarUrls": {
|
|
79
|
-
* "16x16":
|
|
80
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
81
|
-
* "
|
|
82
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
83
|
-
* "32x32":
|
|
84
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
85
|
-
* "48x48":
|
|
86
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
82
|
+
* "16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
83
|
+
* "24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
84
|
+
* "32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
85
|
+
* "48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
87
86
|
* },
|
|
88
87
|
* "displayName": "Mia Krystof",
|
|
89
88
|
* "key": "",
|
|
90
89
|
* "name": "",
|
|
91
|
-
* "self":
|
|
92
|
-
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
90
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
93
91
|
* },
|
|
94
|
-
* "searchUrl":
|
|
95
|
-
* "https://your-domain.atlassian.net/rest/api/3/search?jql=type%20%3D%20Bug%20and%20resolutino%20is%20empty",
|
|
92
|
+
* "searchUrl": "https://your-domain.atlassian.net/rest/api/3/search?jql=type%20%3D%20Bug%20and%20resolutino%20is%20empty",
|
|
96
93
|
* "self": "https://your-domain.atlassian.net/rest/api/3/filter/10000",
|
|
97
94
|
* "sharePermissions": [],
|
|
98
95
|
* "subscriptions": {
|
|
@@ -104,14 +101,12 @@ class FiltersService extends CommonHttpService_1.CommonHttpService {
|
|
|
104
101
|
* },
|
|
105
102
|
* "viewUrl": "https://your-domain.atlassian.net/issues/?filter=10000"
|
|
106
103
|
* }
|
|
107
|
-
*
|
|
104
|
+
* ```
|
|
105
|
+
* @path POST `/rest/api/3/filter`
|
|
108
106
|
* @scopes-current write:jira-work
|
|
109
|
-
* @scopes-beta read:filter:jira, read:group:jira, read:project:jira, read:project-role:jira,
|
|
110
|
-
* read:user:jira, write:filter:jira, read:application-role:jira,
|
|
111
|
-
* read:avatar:jira, read:issue-type-hierarchy:jira, read:issue-type:jira,
|
|
112
|
-
* read:project-category:jira, read:project-version:jira,
|
|
113
|
-
* read:project.component:jira
|
|
107
|
+
* @scopes-beta read:filter:jira, read:group:jira, read:project:jira, read:project-role:jira, read:user:jira, write:filter:jira, read:application-role:jira, read:avatar:jira, read:issue-type-hierarchy:jira, read:issue-type:jira, read:project-category:jira, read:project-version:jira, read:project.component:jira
|
|
114
108
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-filters#api-rest-api-3-filter-post
|
|
109
|
+
* @param params
|
|
115
110
|
*/
|
|
116
111
|
this.createFilter = ({ expand, overrideSharePermissions, filter, }) => {
|
|
117
112
|
return this.getClientInstance()
|
|
@@ -147,7 +142,9 @@ class FiltersService extends CommonHttpService_1.CommonHttpService {
|
|
|
147
142
|
*
|
|
148
143
|
* @returns Returned if the request is successful.
|
|
149
144
|
*
|
|
150
|
-
* example:
|
|
145
|
+
* example:
|
|
146
|
+
* ```
|
|
147
|
+
* {
|
|
151
148
|
* "approximateLastUsed": "2023-03-01T13:15:00.000+0000",
|
|
152
149
|
* "description": "Lists all open bugs",
|
|
153
150
|
* "favourite": true,
|
|
@@ -160,23 +157,17 @@ class FiltersService extends CommonHttpService_1.CommonHttpService {
|
|
|
160
157
|
* "accountType": "atlassian",
|
|
161
158
|
* "active": false,
|
|
162
159
|
* "avatarUrls": {
|
|
163
|
-
* "16x16":
|
|
164
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
165
|
-
* "
|
|
166
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
167
|
-
* "32x32":
|
|
168
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
169
|
-
* "48x48":
|
|
170
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
160
|
+
* "16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
161
|
+
* "24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
162
|
+
* "32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
163
|
+
* "48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
171
164
|
* },
|
|
172
165
|
* "displayName": "Mia Krystof",
|
|
173
166
|
* "key": "",
|
|
174
167
|
* "name": "",
|
|
175
|
-
* "self":
|
|
176
|
-
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
168
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
177
169
|
* },
|
|
178
|
-
* "searchUrl":
|
|
179
|
-
* "https://your-domain.atlassian.net/rest/api/3/search?jql=type%20%3D%20Bug%20and%20resolutino%20is%20empty",
|
|
170
|
+
* "searchUrl": "https://your-domain.atlassian.net/rest/api/3/search?jql=type%20%3D%20Bug%20and%20resolutino%20is%20empty",
|
|
180
171
|
* "self": "https://your-domain.atlassian.net/rest/api/3/filter/10000",
|
|
181
172
|
* "sharePermissions": [],
|
|
182
173
|
* "subscriptions": {
|
|
@@ -188,14 +179,12 @@ class FiltersService extends CommonHttpService_1.CommonHttpService {
|
|
|
188
179
|
* },
|
|
189
180
|
* "viewUrl": "https://your-domain.atlassian.net/issues/?filter=10000"
|
|
190
181
|
* }
|
|
191
|
-
*
|
|
182
|
+
* ```
|
|
183
|
+
* @path DELETE `/rest/api/3/filter/{id}/favourite`
|
|
192
184
|
* @scopes-current write:jira-work
|
|
193
|
-
* @scopes-beta write:filter:jira, read:application-role:jira, read:avatar:jira,
|
|
194
|
-
* read:filter:jira, read:group:jira, read:issue-type-hierarchy:jira,
|
|
195
|
-
* read:issue-type:jira, read:project-category:jira, read:project-role:jira,
|
|
196
|
-
* read:project-version:jira, read:project.component:jira, read:project:jira,
|
|
197
|
-
* read:user:jira
|
|
185
|
+
* @scopes-beta write:filter:jira, read:application-role:jira, read:avatar:jira, read:filter:jira, read:group:jira, read:issue-type-hierarchy:jira, read:issue-type:jira, read:project-category:jira, read:project-role:jira, read:project-version:jira, read:project.component:jira, read:project:jira, read:user:jira
|
|
198
186
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-filters#api-rest-api-3-filter-id-favourite-delete
|
|
187
|
+
* @param params
|
|
199
188
|
*/
|
|
200
189
|
this.deleteFavouriteForFilter = ({ id, expand, }) => {
|
|
201
190
|
return this.getClientInstance()
|
|
@@ -226,10 +215,11 @@ class FiltersService extends CommonHttpService_1.CommonHttpService {
|
|
|
226
215
|
* *Administer Jira* [global
|
|
227
216
|
* permission](https://confluence.atlassian.com/x/x4dKLg).
|
|
228
217
|
*
|
|
229
|
-
* @path
|
|
218
|
+
* @path DELETE `/rest/api/3/filter/{id}`
|
|
230
219
|
* @scopes-current write:jira-work
|
|
231
220
|
* @scopes-beta delete:filter:jira
|
|
232
221
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-filters#api-rest-api-3-filter-id-delete
|
|
222
|
+
* @param params
|
|
233
223
|
*/
|
|
234
224
|
this.deleteFilter = ({ id, }) => {
|
|
235
225
|
return this.getClientInstance()
|
|
@@ -261,7 +251,9 @@ class FiltersService extends CommonHttpService_1.CommonHttpService {
|
|
|
261
251
|
*
|
|
262
252
|
* @returns Returned if the request is successful.
|
|
263
253
|
*
|
|
264
|
-
* example:
|
|
254
|
+
* example:
|
|
255
|
+
* ```
|
|
256
|
+
* [
|
|
265
257
|
* {
|
|
266
258
|
* "label": "Key",
|
|
267
259
|
* "value": "issuekey"
|
|
@@ -271,10 +263,12 @@ class FiltersService extends CommonHttpService_1.CommonHttpService {
|
|
|
271
263
|
* "value": "summary"
|
|
272
264
|
* }
|
|
273
265
|
* ]
|
|
274
|
-
*
|
|
266
|
+
* ```
|
|
267
|
+
* @path GET `/rest/api/3/filter/{id}/columns`
|
|
275
268
|
* @scopes-current read:jira-work
|
|
276
269
|
* @scopes-beta read:filter.column:jira
|
|
277
270
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-filters#api-rest-api-3-filter-id-columns-get
|
|
271
|
+
* @param params
|
|
278
272
|
*/
|
|
279
273
|
this.getColumns = ({ id, }) => {
|
|
280
274
|
return this.getClientInstance()
|
|
@@ -314,7 +308,9 @@ class FiltersService extends CommonHttpService_1.CommonHttpService {
|
|
|
314
308
|
*
|
|
315
309
|
* @returns Returned if the request is successful.
|
|
316
310
|
*
|
|
317
|
-
* example:
|
|
311
|
+
* example:
|
|
312
|
+
* ```
|
|
313
|
+
* [
|
|
318
314
|
* {
|
|
319
315
|
* "approximateLastUsed": "2023-03-01T13:15:00.000+0000",
|
|
320
316
|
* "description": "Lists all open bugs",
|
|
@@ -328,23 +324,17 @@ class FiltersService extends CommonHttpService_1.CommonHttpService {
|
|
|
328
324
|
* "accountType": "atlassian",
|
|
329
325
|
* "active": false,
|
|
330
326
|
* "avatarUrls": {
|
|
331
|
-
* "16x16":
|
|
332
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
333
|
-
* "
|
|
334
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
335
|
-
* "32x32":
|
|
336
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
337
|
-
* "48x48":
|
|
338
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
327
|
+
* "16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
328
|
+
* "24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
329
|
+
* "32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
330
|
+
* "48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
339
331
|
* },
|
|
340
332
|
* "displayName": "Mia Krystof",
|
|
341
333
|
* "key": "",
|
|
342
334
|
* "name": "",
|
|
343
|
-
* "self":
|
|
344
|
-
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
335
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
345
336
|
* },
|
|
346
|
-
* "searchUrl":
|
|
347
|
-
* "https://your-domain.atlassian.net/rest/api/3/search?jql=type%20%3D%20Bug%20and%20resolutino%20is%20empty",
|
|
337
|
+
* "searchUrl": "https://your-domain.atlassian.net/rest/api/3/search?jql=type%20%3D%20Bug%20and%20resolutino%20is%20empty",
|
|
348
338
|
* "self": "https://your-domain.atlassian.net/rest/api/3/filter/10000",
|
|
349
339
|
* "sharePermissions": [],
|
|
350
340
|
* "subscriptions": {
|
|
@@ -369,23 +359,17 @@ class FiltersService extends CommonHttpService_1.CommonHttpService {
|
|
|
369
359
|
* "accountType": "atlassian",
|
|
370
360
|
* "active": false,
|
|
371
361
|
* "avatarUrls": {
|
|
372
|
-
* "16x16":
|
|
373
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
374
|
-
* "
|
|
375
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
376
|
-
* "32x32":
|
|
377
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
378
|
-
* "48x48":
|
|
379
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
362
|
+
* "16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
363
|
+
* "24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
364
|
+
* "32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
365
|
+
* "48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
380
366
|
* },
|
|
381
367
|
* "displayName": "Mia Krystof",
|
|
382
368
|
* "key": "",
|
|
383
369
|
* "name": "",
|
|
384
|
-
* "self":
|
|
385
|
-
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
370
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
386
371
|
* },
|
|
387
|
-
* "searchUrl":
|
|
388
|
-
* "https://your-domain.atlassian.net/rest/api/3/search?jql=assignee+in+%28currentUser%28%29%29+and+resolution+is+empty",
|
|
372
|
+
* "searchUrl": "https://your-domain.atlassian.net/rest/api/3/search?jql=assignee+in+%28currentUser%28%29%29+and+resolution+is+empty",
|
|
389
373
|
* "self": "https://your-domain.atlassian.net/rest/api/3/filter/10010",
|
|
390
374
|
* "sharePermissions": [
|
|
391
375
|
* {
|
|
@@ -396,14 +380,10 @@ class FiltersService extends CommonHttpService_1.CommonHttpService {
|
|
|
396
380
|
* "id": 10010,
|
|
397
381
|
* "project": {
|
|
398
382
|
* "avatarUrls": {
|
|
399
|
-
* "16x16":
|
|
400
|
-
* "https://your-domain.atlassian.net/secure/projectavatar?size=
|
|
401
|
-
* "
|
|
402
|
-
* "https://your-domain.atlassian.net/secure/projectavatar?size=
|
|
403
|
-
* "32x32":
|
|
404
|
-
* "https://your-domain.atlassian.net/secure/projectavatar?size=medium&pid=10000",
|
|
405
|
-
* "48x48":
|
|
406
|
-
* "https://your-domain.atlassian.net/secure/projectavatar?size=large&pid=10000"
|
|
383
|
+
* "16x16": "https://your-domain.atlassian.net/secure/projectavatar?size=xsmall&pid=10000",
|
|
384
|
+
* "24x24": "https://your-domain.atlassian.net/secure/projectavatar?size=small&pid=10000",
|
|
385
|
+
* "32x32": "https://your-domain.atlassian.net/secure/projectavatar?size=medium&pid=10000",
|
|
386
|
+
* "48x48": "https://your-domain.atlassian.net/secure/projectavatar?size=large&pid=10000"
|
|
407
387
|
* },
|
|
408
388
|
* "id": "10000",
|
|
409
389
|
* "insight": {
|
|
@@ -416,8 +396,7 @@ class FiltersService extends CommonHttpService_1.CommonHttpService {
|
|
|
416
396
|
* "description": "First Project Category",
|
|
417
397
|
* "id": "10000",
|
|
418
398
|
* "name": "FIRST",
|
|
419
|
-
* "self":
|
|
420
|
-
* "https://your-domain.atlassian.net/rest/api/3/projectCategory/10000"
|
|
399
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/projectCategory/10000"
|
|
421
400
|
* },
|
|
422
401
|
* "self": "https://your-domain.atlassian.net/rest/api/3/project/EX",
|
|
423
402
|
* "simplified": false,
|
|
@@ -436,12 +415,12 @@ class FiltersService extends CommonHttpService_1.CommonHttpService {
|
|
|
436
415
|
* "viewUrl": "https://your-domain.atlassian.net/issues/?filter=10010"
|
|
437
416
|
* }
|
|
438
417
|
* ]
|
|
439
|
-
*
|
|
418
|
+
* ```
|
|
419
|
+
* @path GET `/rest/api/3/filter/favourite`
|
|
440
420
|
* @scopes-current read:jira-work
|
|
441
|
-
* @scopes-beta read:filter:jira, read:group:jira, read:project:jira, read:project-role:jira,
|
|
442
|
-
* read:user:jira, read:jql:jira, read:application-role:jira, read:avatar:jira,
|
|
443
|
-
* read:issue-type-hierarchy:jira
|
|
421
|
+
* @scopes-beta read:filter:jira, read:group:jira, read:project:jira, read:project-role:jira, read:user:jira, read:jql:jira, read:application-role:jira, read:avatar:jira, read:issue-type-hierarchy:jira
|
|
444
422
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-filters#api-rest-api-3-filter-favourite-get
|
|
423
|
+
* @param params
|
|
445
424
|
*/
|
|
446
425
|
this.getFavouriteFilters = ({ expand, } = {}) => {
|
|
447
426
|
return this.getClientInstance()
|
|
@@ -478,7 +457,9 @@ class FiltersService extends CommonHttpService_1.CommonHttpService {
|
|
|
478
457
|
*
|
|
479
458
|
* @returns Returned if the request is successful.
|
|
480
459
|
*
|
|
481
|
-
* example:
|
|
460
|
+
* example:
|
|
461
|
+
* ```
|
|
462
|
+
* {
|
|
482
463
|
* "approximateLastUsed": "2023-03-01T13:15:00.000+0000",
|
|
483
464
|
* "description": "Lists all open bugs",
|
|
484
465
|
* "favourite": true,
|
|
@@ -491,23 +472,17 @@ class FiltersService extends CommonHttpService_1.CommonHttpService {
|
|
|
491
472
|
* "accountType": "atlassian",
|
|
492
473
|
* "active": false,
|
|
493
474
|
* "avatarUrls": {
|
|
494
|
-
* "16x16":
|
|
495
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
496
|
-
* "
|
|
497
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
498
|
-
* "32x32":
|
|
499
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
500
|
-
* "48x48":
|
|
501
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
475
|
+
* "16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
476
|
+
* "24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
477
|
+
* "32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
478
|
+
* "48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
502
479
|
* },
|
|
503
480
|
* "displayName": "Mia Krystof",
|
|
504
481
|
* "key": "",
|
|
505
482
|
* "name": "",
|
|
506
|
-
* "self":
|
|
507
|
-
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
483
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
508
484
|
* },
|
|
509
|
-
* "searchUrl":
|
|
510
|
-
* "https://your-domain.atlassian.net/rest/api/3/search?jql=type%20%3D%20Bug%20and%20resolutino%20is%20empty",
|
|
485
|
+
* "searchUrl": "https://your-domain.atlassian.net/rest/api/3/search?jql=type%20%3D%20Bug%20and%20resolutino%20is%20empty",
|
|
511
486
|
* "self": "https://your-domain.atlassian.net/rest/api/3/filter/10000",
|
|
512
487
|
* "sharePermissions": [],
|
|
513
488
|
* "subscriptions": {
|
|
@@ -519,12 +494,12 @@ class FiltersService extends CommonHttpService_1.CommonHttpService {
|
|
|
519
494
|
* },
|
|
520
495
|
* "viewUrl": "https://your-domain.atlassian.net/issues/?filter=10000"
|
|
521
496
|
* }
|
|
522
|
-
*
|
|
497
|
+
* ```
|
|
498
|
+
* @path GET `/rest/api/3/filter/{id}`
|
|
523
499
|
* @scopes-current read:jira-work
|
|
524
|
-
* @scopes-beta read:filter:jira, read:group:jira, read:project:jira, read:project-role:jira,
|
|
525
|
-
* read:user:jira, read:jql:jira, read:application-role:jira, read:avatar:jira,
|
|
526
|
-
* read:issue-type-hierarchy:jira
|
|
500
|
+
* @scopes-beta read:filter:jira, read:group:jira, read:project:jira, read:project-role:jira, read:user:jira, read:jql:jira, read:application-role:jira, read:avatar:jira, read:issue-type-hierarchy:jira
|
|
527
501
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-filters#api-rest-api-3-filter-id-get
|
|
502
|
+
* @param params
|
|
528
503
|
*/
|
|
529
504
|
this.getFilter = ({ id, expand, overrideSharePermissions, }) => {
|
|
530
505
|
return this.getClientInstance()
|
|
@@ -570,11 +545,12 @@ class FiltersService extends CommonHttpService_1.CommonHttpService {
|
|
|
570
545
|
*
|
|
571
546
|
* @returns Returned if the request is successful.
|
|
572
547
|
*
|
|
573
|
-
* example:
|
|
548
|
+
* example:
|
|
549
|
+
* ```
|
|
550
|
+
* {
|
|
574
551
|
* "isLast": true,
|
|
575
552
|
* "maxResults": 100,
|
|
576
|
-
* "self":
|
|
577
|
-
* "https://your-domain.atlassian.net/rest/api/3/filter/search?accountId=&maxResults=50&filterName=&orderBy=name&startAt=0&expand=description,owner,jql,searchUrl,viewUrl,favourite,favouritedCount,sharePermissions,editPermissions,isWritable,subscriptions,approximateLastUsed",
|
|
553
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/filter/search?accountId=&maxResults=50&filterName=&orderBy=name&startAt=0&expand=description,owner,jql,searchUrl,viewUrl,favourite,favouritedCount,sharePermissions,editPermissions,isWritable,subscriptions,approximateLastUsed",
|
|
578
554
|
* "startAt": 0,
|
|
579
555
|
* "total": 2,
|
|
580
556
|
* "values": [
|
|
@@ -582,8 +558,7 @@ class FiltersService extends CommonHttpService_1.CommonHttpService {
|
|
|
582
558
|
* "approximateLastUsed": "2023-03-01T13:15:00.000+0000",
|
|
583
559
|
* "description": "Lists all open bugs",
|
|
584
560
|
* "editPermissions": [],
|
|
585
|
-
* "expand":
|
|
586
|
-
* "description,owner,jql,searchUrl,viewUrl,favourite,favouritedCount,sharePermissions,editPermissions,isWritable,approximateLastUsed,subscriptions",
|
|
561
|
+
* "expand": "description,owner,jql,searchUrl,viewUrl,favourite,favouritedCount,sharePermissions,editPermissions,isWritable,approximateLastUsed,subscriptions",
|
|
587
562
|
* "favourite": false,
|
|
588
563
|
* "favouritedCount": 0,
|
|
589
564
|
* "id": "10000",
|
|
@@ -594,23 +569,17 @@ class FiltersService extends CommonHttpService_1.CommonHttpService {
|
|
|
594
569
|
* "accountType": "atlassian",
|
|
595
570
|
* "active": false,
|
|
596
571
|
* "avatarUrls": {
|
|
597
|
-
* "16x16":
|
|
598
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
599
|
-
* "
|
|
600
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
601
|
-
* "32x32":
|
|
602
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
603
|
-
* "48x48":
|
|
604
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
572
|
+
* "16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
573
|
+
* "24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
574
|
+
* "32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
575
|
+
* "48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
605
576
|
* },
|
|
606
577
|
* "displayName": "Mia Krystof",
|
|
607
578
|
* "key": "",
|
|
608
579
|
* "name": "",
|
|
609
|
-
* "self":
|
|
610
|
-
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
580
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
611
581
|
* },
|
|
612
|
-
* "searchUrl":
|
|
613
|
-
* "https://your-domain.atlassian.net/rest/api/3/search?jql=type%20%3D%20Bug%20and%20resolutino%20is%20empty",
|
|
582
|
+
* "searchUrl": "https://your-domain.atlassian.net/rest/api/3/search?jql=type%20%3D%20Bug%20and%20resolutino%20is%20empty",
|
|
614
583
|
* "self": "https://your-domain.atlassian.net/rest/api/3/filter/10000",
|
|
615
584
|
* "sharePermissions": [],
|
|
616
585
|
* "subscriptions": [],
|
|
@@ -624,14 +593,10 @@ class FiltersService extends CommonHttpService_1.CommonHttpService {
|
|
|
624
593
|
* "id": 10010,
|
|
625
594
|
* "project": {
|
|
626
595
|
* "avatarUrls": {
|
|
627
|
-
* "16x16":
|
|
628
|
-
* "https://your-domain.atlassian.net/secure/projectavatar?size=
|
|
629
|
-
* "
|
|
630
|
-
* "https://your-domain.atlassian.net/secure/projectavatar?size=
|
|
631
|
-
* "32x32":
|
|
632
|
-
* "https://your-domain.atlassian.net/secure/projectavatar?size=medium&pid=10002",
|
|
633
|
-
* "48x48":
|
|
634
|
-
* "https://your-domain.atlassian.net/secure/projectavatar?size=large&pid=10002"
|
|
596
|
+
* "16x16": "https://your-domain.atlassian.net/secure/projectavatar?size=xsmall&pid=10002",
|
|
597
|
+
* "24x24": "https://your-domain.atlassian.net/secure/projectavatar?size=small&pid=10002",
|
|
598
|
+
* "32x32": "https://your-domain.atlassian.net/secure/projectavatar?size=medium&pid=10002",
|
|
599
|
+
* "48x48": "https://your-domain.atlassian.net/secure/projectavatar?size=large&pid=10002"
|
|
635
600
|
* },
|
|
636
601
|
* "deleted": true,
|
|
637
602
|
* "deletedBy": {
|
|
@@ -639,20 +604,15 @@ class FiltersService extends CommonHttpService_1.CommonHttpService {
|
|
|
639
604
|
* "accountType": "atlassian",
|
|
640
605
|
* "active": false,
|
|
641
606
|
* "avatarUrls": {
|
|
642
|
-
* "16x16":
|
|
643
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
644
|
-
* "
|
|
645
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
646
|
-
* "32x32":
|
|
647
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
648
|
-
* "48x48":
|
|
649
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
607
|
+
* "16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
608
|
+
* "24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
609
|
+
* "32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
610
|
+
* "48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
650
611
|
* },
|
|
651
612
|
* "displayName": "Mia Krystof",
|
|
652
613
|
* "key": "",
|
|
653
614
|
* "name": "",
|
|
654
|
-
* "self":
|
|
655
|
-
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
615
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
656
616
|
* },
|
|
657
617
|
* "deletedDate": "2022-11-11T13:35:29.000+0000",
|
|
658
618
|
* "id": "10002",
|
|
@@ -666,8 +626,7 @@ class FiltersService extends CommonHttpService_1.CommonHttpService {
|
|
|
666
626
|
* "description": "First Project Category",
|
|
667
627
|
* "id": "10000",
|
|
668
628
|
* "name": "FIRST",
|
|
669
|
-
* "self":
|
|
670
|
-
* "https://your-domain.atlassian.net/rest/api/3/projectCategory/10000"
|
|
629
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/projectCategory/10000"
|
|
671
630
|
* },
|
|
672
631
|
* "retentionTillDate": "2023-01-10T13:35:29.000+0000",
|
|
673
632
|
* "self": "https://your-domain.atlassian.net/rest/api/3/project/MKY",
|
|
@@ -675,12 +634,10 @@ class FiltersService extends CommonHttpService_1.CommonHttpService {
|
|
|
675
634
|
* "style": "classic"
|
|
676
635
|
* },
|
|
677
636
|
* "role": {
|
|
678
|
-
* "self":
|
|
679
|
-
* "https://your-domain.atlassian.net/rest/api/3/project/MKY/role/10360",
|
|
637
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/project/MKY/role/10360",
|
|
680
638
|
* "name": "Developers",
|
|
681
639
|
* "id": 10360,
|
|
682
|
-
* "description": "A project role that represents developers in a
|
|
683
|
-
* project",
|
|
640
|
+
* "description": "A project role that represents developers in a project",
|
|
684
641
|
* "actors": [
|
|
685
642
|
* {
|
|
686
643
|
* "actorGroup": {
|
|
@@ -717,15 +674,13 @@ class FiltersService extends CommonHttpService_1.CommonHttpService {
|
|
|
717
674
|
* "group": {
|
|
718
675
|
* "groupId": "276f955c-63d7-42c8-9520-92d01dca0625",
|
|
719
676
|
* "name": "jira-administrators",
|
|
720
|
-
* "self":
|
|
721
|
-
* "https://your-domain.atlassian.net/rest/api/3/group?groupId=276f955c-63d7-42c8-9520-92d01dca0625"
|
|
677
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/group?groupId=276f955c-63d7-42c8-9520-92d01dca0625"
|
|
722
678
|
* },
|
|
723
679
|
* "id": 10010,
|
|
724
680
|
* "type": "group"
|
|
725
681
|
* }
|
|
726
682
|
* ],
|
|
727
|
-
* "expand":
|
|
728
|
-
* "description,owner,jql,searchUrl,viewUrl,favourite,favouritedCount,sharePermissions,editPermissions,isWritable,approximateLastUsed,subscriptions",
|
|
683
|
+
* "expand": "description,owner,jql,searchUrl,viewUrl,favourite,favouritedCount,sharePermissions,editPermissions,isWritable,approximateLastUsed,subscriptions",
|
|
729
684
|
* "favourite": true,
|
|
730
685
|
* "favouritedCount": 123,
|
|
731
686
|
* "id": "10010",
|
|
@@ -736,23 +691,17 @@ class FiltersService extends CommonHttpService_1.CommonHttpService {
|
|
|
736
691
|
* "accountType": "atlassian",
|
|
737
692
|
* "active": false,
|
|
738
693
|
* "avatarUrls": {
|
|
739
|
-
* "16x16":
|
|
740
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
741
|
-
* "
|
|
742
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
743
|
-
* "32x32":
|
|
744
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
745
|
-
* "48x48":
|
|
746
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
694
|
+
* "16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
695
|
+
* "24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
696
|
+
* "32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
697
|
+
* "48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
747
698
|
* },
|
|
748
699
|
* "displayName": "Mia Krystof",
|
|
749
700
|
* "key": "",
|
|
750
701
|
* "name": "",
|
|
751
|
-
* "self":
|
|
752
|
-
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
702
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
753
703
|
* },
|
|
754
|
-
* "searchUrl":
|
|
755
|
-
* "https://your-domain.atlassian.net/rest/api/3/search?jql=assignee+in+%28currentUser%28%29%29+and+resolution+is+empty",
|
|
704
|
+
* "searchUrl": "https://your-domain.atlassian.net/rest/api/3/search?jql=assignee+in+%28currentUser%28%29%29+and+resolution+is+empty",
|
|
756
705
|
* "self": "https://your-domain.atlassian.net/rest/api/3/filter/10010",
|
|
757
706
|
* "sharePermissions": [
|
|
758
707
|
* {
|
|
@@ -763,14 +712,10 @@ class FiltersService extends CommonHttpService_1.CommonHttpService {
|
|
|
763
712
|
* "id": 10010,
|
|
764
713
|
* "project": {
|
|
765
714
|
* "avatarUrls": {
|
|
766
|
-
* "16x16":
|
|
767
|
-
* "https://your-domain.atlassian.net/secure/projectavatar?size=
|
|
768
|
-
* "
|
|
769
|
-
* "https://your-domain.atlassian.net/secure/projectavatar?size=
|
|
770
|
-
* "32x32":
|
|
771
|
-
* "https://your-domain.atlassian.net/secure/projectavatar?size=medium&pid=10000",
|
|
772
|
-
* "48x48":
|
|
773
|
-
* "https://your-domain.atlassian.net/secure/projectavatar?size=large&pid=10000"
|
|
715
|
+
* "16x16": "https://your-domain.atlassian.net/secure/projectavatar?size=xsmall&pid=10000",
|
|
716
|
+
* "24x24": "https://your-domain.atlassian.net/secure/projectavatar?size=small&pid=10000",
|
|
717
|
+
* "32x32": "https://your-domain.atlassian.net/secure/projectavatar?size=medium&pid=10000",
|
|
718
|
+
* "48x48": "https://your-domain.atlassian.net/secure/projectavatar?size=large&pid=10000"
|
|
774
719
|
* },
|
|
775
720
|
* "id": "10000",
|
|
776
721
|
* "insight": {
|
|
@@ -783,8 +728,7 @@ class FiltersService extends CommonHttpService_1.CommonHttpService {
|
|
|
783
728
|
* "description": "First Project Category",
|
|
784
729
|
* "id": "10000",
|
|
785
730
|
* "name": "FIRST",
|
|
786
|
-
* "self":
|
|
787
|
-
* "https://your-domain.atlassian.net/rest/api/3/projectCategory/10000"
|
|
731
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/projectCategory/10000"
|
|
788
732
|
* },
|
|
789
733
|
* "self": "https://your-domain.atlassian.net/rest/api/3/project/EX",
|
|
790
734
|
* "simplified": false,
|
|
@@ -805,14 +749,10 @@ class FiltersService extends CommonHttpService_1.CommonHttpService {
|
|
|
805
749
|
* "size": 1
|
|
806
750
|
* },
|
|
807
751
|
* "avatarUrls": {
|
|
808
|
-
* "16x16":
|
|
809
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
810
|
-
* "
|
|
811
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
812
|
-
* "32x32":
|
|
813
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
814
|
-
* "48x48":
|
|
815
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
752
|
+
* "16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
753
|
+
* "24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
754
|
+
* "32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
755
|
+
* "48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
816
756
|
* },
|
|
817
757
|
* "displayName": "Mia Krystof",
|
|
818
758
|
* "emailAddress": "mia@example.com",
|
|
@@ -822,8 +762,7 @@ class FiltersService extends CommonHttpService_1.CommonHttpService {
|
|
|
822
762
|
* },
|
|
823
763
|
* "key": "",
|
|
824
764
|
* "name": "",
|
|
825
|
-
* "self":
|
|
826
|
-
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g",
|
|
765
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g",
|
|
827
766
|
* "timeZone": "Australia/Sydney"
|
|
828
767
|
* }
|
|
829
768
|
* }
|
|
@@ -832,12 +771,12 @@ class FiltersService extends CommonHttpService_1.CommonHttpService {
|
|
|
832
771
|
* }
|
|
833
772
|
* ]
|
|
834
773
|
* }
|
|
835
|
-
*
|
|
774
|
+
* ```
|
|
775
|
+
* @path GET `/rest/api/3/filter/search`
|
|
836
776
|
* @scopes-current read:jira-work
|
|
837
|
-
* @scopes-beta read:filter:jira, read:group:jira, read:project:jira, read:project-role:jira,
|
|
838
|
-
* read:user:jira, read:jql:jira, read:application-role:jira, read:avatar:jira,
|
|
839
|
-
* read:issue-type-hierarchy:jira
|
|
777
|
+
* @scopes-beta read:filter:jira, read:group:jira, read:project:jira, read:project-role:jira, read:user:jira, read:jql:jira, read:application-role:jira, read:avatar:jira, read:issue-type-hierarchy:jira
|
|
840
778
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-filters#api-rest-api-3-filter-search-get
|
|
779
|
+
* @param params
|
|
841
780
|
*/
|
|
842
781
|
this.getFiltersPaginated = ({ filterName, accountId, owner, groupname, groupId, projectId, id, orderBy, startAt, maxResults, expand, overrideSharePermissions, } = {}) => {
|
|
843
782
|
return this.getClientInstance()
|
|
@@ -887,7 +826,9 @@ class FiltersService extends CommonHttpService_1.CommonHttpService {
|
|
|
887
826
|
*
|
|
888
827
|
* @returns Returned if the request is successful.
|
|
889
828
|
*
|
|
890
|
-
* example:
|
|
829
|
+
* example:
|
|
830
|
+
* ```
|
|
831
|
+
* [
|
|
891
832
|
* {
|
|
892
833
|
* "approximateLastUsed": "2023-03-01T13:15:00.000+0000",
|
|
893
834
|
* "description": "Lists all open bugs",
|
|
@@ -901,23 +842,17 @@ class FiltersService extends CommonHttpService_1.CommonHttpService {
|
|
|
901
842
|
* "accountType": "atlassian",
|
|
902
843
|
* "active": false,
|
|
903
844
|
* "avatarUrls": {
|
|
904
|
-
* "16x16":
|
|
905
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
906
|
-
* "
|
|
907
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
908
|
-
* "32x32":
|
|
909
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
910
|
-
* "48x48":
|
|
911
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
845
|
+
* "16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
846
|
+
* "24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
847
|
+
* "32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
848
|
+
* "48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
912
849
|
* },
|
|
913
850
|
* "displayName": "Mia Krystof",
|
|
914
851
|
* "key": "",
|
|
915
852
|
* "name": "",
|
|
916
|
-
* "self":
|
|
917
|
-
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
853
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
918
854
|
* },
|
|
919
|
-
* "searchUrl":
|
|
920
|
-
* "https://your-domain.atlassian.net/rest/api/3/search?jql=type%20%3D%20Bug%20and%20resolutino%20is%20empty",
|
|
855
|
+
* "searchUrl": "https://your-domain.atlassian.net/rest/api/3/search?jql=type%20%3D%20Bug%20and%20resolutino%20is%20empty",
|
|
921
856
|
* "self": "https://your-domain.atlassian.net/rest/api/3/filter/10000",
|
|
922
857
|
* "sharePermissions": [],
|
|
923
858
|
* "subscriptions": {
|
|
@@ -942,23 +877,17 @@ class FiltersService extends CommonHttpService_1.CommonHttpService {
|
|
|
942
877
|
* "accountType": "atlassian",
|
|
943
878
|
* "active": false,
|
|
944
879
|
* "avatarUrls": {
|
|
945
|
-
* "16x16":
|
|
946
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
947
|
-
* "
|
|
948
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
949
|
-
* "32x32":
|
|
950
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
951
|
-
* "48x48":
|
|
952
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
880
|
+
* "16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
881
|
+
* "24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
882
|
+
* "32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
883
|
+
* "48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
953
884
|
* },
|
|
954
885
|
* "displayName": "Mia Krystof",
|
|
955
886
|
* "key": "",
|
|
956
887
|
* "name": "",
|
|
957
|
-
* "self":
|
|
958
|
-
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
888
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
959
889
|
* },
|
|
960
|
-
* "searchUrl":
|
|
961
|
-
* "https://your-domain.atlassian.net/rest/api/3/search?jql=assignee+in+%28currentUser%28%29%29+and+resolution+is+empty",
|
|
890
|
+
* "searchUrl": "https://your-domain.atlassian.net/rest/api/3/search?jql=assignee+in+%28currentUser%28%29%29+and+resolution+is+empty",
|
|
962
891
|
* "self": "https://your-domain.atlassian.net/rest/api/3/filter/10010",
|
|
963
892
|
* "sharePermissions": [
|
|
964
893
|
* {
|
|
@@ -969,14 +898,10 @@ class FiltersService extends CommonHttpService_1.CommonHttpService {
|
|
|
969
898
|
* "id": 10010,
|
|
970
899
|
* "project": {
|
|
971
900
|
* "avatarUrls": {
|
|
972
|
-
* "16x16":
|
|
973
|
-
* "https://your-domain.atlassian.net/secure/projectavatar?size=
|
|
974
|
-
* "
|
|
975
|
-
* "https://your-domain.atlassian.net/secure/projectavatar?size=
|
|
976
|
-
* "32x32":
|
|
977
|
-
* "https://your-domain.atlassian.net/secure/projectavatar?size=medium&pid=10000",
|
|
978
|
-
* "48x48":
|
|
979
|
-
* "https://your-domain.atlassian.net/secure/projectavatar?size=large&pid=10000"
|
|
901
|
+
* "16x16": "https://your-domain.atlassian.net/secure/projectavatar?size=xsmall&pid=10000",
|
|
902
|
+
* "24x24": "https://your-domain.atlassian.net/secure/projectavatar?size=small&pid=10000",
|
|
903
|
+
* "32x32": "https://your-domain.atlassian.net/secure/projectavatar?size=medium&pid=10000",
|
|
904
|
+
* "48x48": "https://your-domain.atlassian.net/secure/projectavatar?size=large&pid=10000"
|
|
980
905
|
* },
|
|
981
906
|
* "id": "10000",
|
|
982
907
|
* "insight": {
|
|
@@ -989,8 +914,7 @@ class FiltersService extends CommonHttpService_1.CommonHttpService {
|
|
|
989
914
|
* "description": "First Project Category",
|
|
990
915
|
* "id": "10000",
|
|
991
916
|
* "name": "FIRST",
|
|
992
|
-
* "self":
|
|
993
|
-
* "https://your-domain.atlassian.net/rest/api/3/projectCategory/10000"
|
|
917
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/projectCategory/10000"
|
|
994
918
|
* },
|
|
995
919
|
* "self": "https://your-domain.atlassian.net/rest/api/3/project/EX",
|
|
996
920
|
* "simplified": false,
|
|
@@ -1009,12 +933,12 @@ class FiltersService extends CommonHttpService_1.CommonHttpService {
|
|
|
1009
933
|
* "viewUrl": "https://your-domain.atlassian.net/issues/?filter=10010"
|
|
1010
934
|
* }
|
|
1011
935
|
* ]
|
|
1012
|
-
*
|
|
936
|
+
* ```
|
|
937
|
+
* @path GET `/rest/api/3/filter/my`
|
|
1013
938
|
* @scopes-current read:jira-work
|
|
1014
|
-
* @scopes-beta read:filter:jira, read:group:jira, read:project:jira, read:project-role:jira,
|
|
1015
|
-
* read:user:jira, read:jql:jira, read:application-role:jira, read:avatar:jira,
|
|
1016
|
-
* read:issue-type-hierarchy:jira
|
|
939
|
+
* @scopes-beta read:filter:jira, read:group:jira, read:project:jira, read:project-role:jira, read:user:jira, read:jql:jira, read:application-role:jira, read:avatar:jira, read:issue-type-hierarchy:jira
|
|
1017
940
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-filters#api-rest-api-3-filter-my-get
|
|
941
|
+
* @param params
|
|
1018
942
|
*/
|
|
1019
943
|
this.getMyFilters = ({ expand, includeFavourites, } = {}) => {
|
|
1020
944
|
return this.getClientInstance()
|
|
@@ -1048,10 +972,11 @@ class FiltersService extends CommonHttpService_1.CommonHttpService {
|
|
|
1048
972
|
* * filters shared with a public project.
|
|
1049
973
|
* * filters shared with the public.
|
|
1050
974
|
*
|
|
1051
|
-
* @path
|
|
975
|
+
* @path DELETE `/rest/api/3/filter/{id}/columns`
|
|
1052
976
|
* @scopes-beta delete:filter.column:jira
|
|
1053
977
|
* @scopes-current write:jira-work
|
|
1054
978
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-filters#api-rest-api-3-filter-id-columns-delete
|
|
979
|
+
* @param params
|
|
1055
980
|
*/
|
|
1056
981
|
this.resetColumns = ({ id, }) => {
|
|
1057
982
|
return this.getClientInstance()
|
|
@@ -1086,10 +1011,11 @@ class FiltersService extends CommonHttpService_1.CommonHttpService {
|
|
|
1086
1011
|
* * filters shared with the public.
|
|
1087
1012
|
*
|
|
1088
1013
|
* @returns Returned if the request is successful.
|
|
1089
|
-
* @path
|
|
1014
|
+
* @path PUT `/rest/api/3/filter/{id}/columns`
|
|
1090
1015
|
* @scopes-current write:jira-work
|
|
1091
1016
|
* @scopes-beta write:filter.column:jira
|
|
1092
1017
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-filters#api-rest-api-3-filter-id-columns-put
|
|
1018
|
+
* @param params
|
|
1093
1019
|
*/
|
|
1094
1020
|
this.setColumns = ({ id, mediaType = "application/json", columnRequestBody, }) => {
|
|
1095
1021
|
return this.getClientInstance()
|
|
@@ -1128,7 +1054,9 @@ class FiltersService extends CommonHttpService_1.CommonHttpService {
|
|
|
1128
1054
|
*
|
|
1129
1055
|
* @returns Returned if the request is successful.
|
|
1130
1056
|
*
|
|
1131
|
-
* example:
|
|
1057
|
+
* example:
|
|
1058
|
+
* ```
|
|
1059
|
+
* {
|
|
1132
1060
|
* "approximateLastUsed": "2023-03-01T13:15:00.000+0000",
|
|
1133
1061
|
* "description": "Lists all open bugs",
|
|
1134
1062
|
* "favourite": true,
|
|
@@ -1141,23 +1069,17 @@ class FiltersService extends CommonHttpService_1.CommonHttpService {
|
|
|
1141
1069
|
* "accountType": "atlassian",
|
|
1142
1070
|
* "active": false,
|
|
1143
1071
|
* "avatarUrls": {
|
|
1144
|
-
* "16x16":
|
|
1145
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
1146
|
-
* "
|
|
1147
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
1148
|
-
* "32x32":
|
|
1149
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
1150
|
-
* "48x48":
|
|
1151
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
1072
|
+
* "16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
1073
|
+
* "24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
1074
|
+
* "32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
1075
|
+
* "48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
1152
1076
|
* },
|
|
1153
1077
|
* "displayName": "Mia Krystof",
|
|
1154
1078
|
* "key": "",
|
|
1155
1079
|
* "name": "",
|
|
1156
|
-
* "self":
|
|
1157
|
-
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
1080
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
1158
1081
|
* },
|
|
1159
|
-
* "searchUrl":
|
|
1160
|
-
* "https://your-domain.atlassian.net/rest/api/3/search?jql=type%20%3D%20Bug%20and%20resolutino%20is%20empty",
|
|
1082
|
+
* "searchUrl": "https://your-domain.atlassian.net/rest/api/3/search?jql=type%20%3D%20Bug%20and%20resolutino%20is%20empty",
|
|
1161
1083
|
* "self": "https://your-domain.atlassian.net/rest/api/3/filter/10000",
|
|
1162
1084
|
* "sharePermissions": [],
|
|
1163
1085
|
* "subscriptions": {
|
|
@@ -1169,12 +1091,12 @@ class FiltersService extends CommonHttpService_1.CommonHttpService {
|
|
|
1169
1091
|
* },
|
|
1170
1092
|
* "viewUrl": "https://your-domain.atlassian.net/issues/?filter=10000"
|
|
1171
1093
|
* }
|
|
1172
|
-
*
|
|
1094
|
+
* ```
|
|
1095
|
+
* @path PUT `/rest/api/3/filter/{id}/favourite`
|
|
1173
1096
|
* @scopes-current write:jira-work
|
|
1174
|
-
* @scopes-beta read:filter:jira, read:group:jira, read:project:jira, read:project-role:jira,
|
|
1175
|
-
* read:user:jira, write:filter:jira, read:jql:jira, read:application-role:jira,
|
|
1176
|
-
* read:avatar:jira, read:issue-type-hierarchy:jira
|
|
1097
|
+
* @scopes-beta read:filter:jira, read:group:jira, read:project:jira, read:project-role:jira, read:user:jira, write:filter:jira, read:jql:jira, read:application-role:jira, read:avatar:jira, read:issue-type-hierarchy:jira
|
|
1177
1098
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-filters#api-rest-api-3-filter-id-favourite-put
|
|
1099
|
+
* @param params
|
|
1178
1100
|
*/
|
|
1179
1101
|
this.setFavouriteForFilter = ({ id, expand, }) => {
|
|
1180
1102
|
return this.getClientInstance()
|
|
@@ -1206,7 +1128,9 @@ class FiltersService extends CommonHttpService_1.CommonHttpService {
|
|
|
1206
1128
|
*
|
|
1207
1129
|
* @returns Returned if the request is successful.
|
|
1208
1130
|
*
|
|
1209
|
-
* example:
|
|
1131
|
+
* example:
|
|
1132
|
+
* ```
|
|
1133
|
+
* {
|
|
1210
1134
|
* "approximateLastUsed": "2023-03-01T13:15:00.000+0000",
|
|
1211
1135
|
* "description": "Lists all open bugs",
|
|
1212
1136
|
* "favourite": true,
|
|
@@ -1219,23 +1143,17 @@ class FiltersService extends CommonHttpService_1.CommonHttpService {
|
|
|
1219
1143
|
* "accountType": "atlassian",
|
|
1220
1144
|
* "active": false,
|
|
1221
1145
|
* "avatarUrls": {
|
|
1222
|
-
* "16x16":
|
|
1223
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
1224
|
-
* "
|
|
1225
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
1226
|
-
* "32x32":
|
|
1227
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
1228
|
-
* "48x48":
|
|
1229
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
1146
|
+
* "16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
1147
|
+
* "24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
1148
|
+
* "32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
1149
|
+
* "48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
1230
1150
|
* },
|
|
1231
1151
|
* "displayName": "Mia Krystof",
|
|
1232
1152
|
* "key": "",
|
|
1233
1153
|
* "name": "",
|
|
1234
|
-
* "self":
|
|
1235
|
-
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
1154
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
1236
1155
|
* },
|
|
1237
|
-
* "searchUrl":
|
|
1238
|
-
* "https://your-domain.atlassian.net/rest/api/3/search?jql=type%20%3D%20Bug%20and%20resolutino%20is%20empty",
|
|
1156
|
+
* "searchUrl": "https://your-domain.atlassian.net/rest/api/3/search?jql=type%20%3D%20Bug%20and%20resolutino%20is%20empty",
|
|
1239
1157
|
* "self": "https://your-domain.atlassian.net/rest/api/3/filter/10000",
|
|
1240
1158
|
* "sharePermissions": [],
|
|
1241
1159
|
* "subscriptions": {
|
|
@@ -1247,12 +1165,12 @@ class FiltersService extends CommonHttpService_1.CommonHttpService {
|
|
|
1247
1165
|
* },
|
|
1248
1166
|
* "viewUrl": "https://your-domain.atlassian.net/issues/?filter=10000"
|
|
1249
1167
|
* }
|
|
1250
|
-
*
|
|
1168
|
+
* ```
|
|
1169
|
+
* @path PUT `/rest/api/3/filter/{id}`
|
|
1251
1170
|
* @scopes-current write:jira-work
|
|
1252
|
-
* @scopes-beta write:filter:jira, read:filter:jira, read:group:jira, read:project:jira,
|
|
1253
|
-
* read:project-role:jira, read:user:jira, read:jql:jira,
|
|
1254
|
-
* read:application-role:jira, read:avatar:jira, read:issue-type-hierarchy:jira
|
|
1171
|
+
* @scopes-beta write:filter:jira, read:filter:jira, read:group:jira, read:project:jira, read:project-role:jira, read:user:jira, read:jql:jira, read:application-role:jira, read:avatar:jira, read:issue-type-hierarchy:jira
|
|
1255
1172
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-filters#api-rest-api-3-filter-id-put
|
|
1173
|
+
* @param params
|
|
1256
1174
|
*/
|
|
1257
1175
|
this.updateFilter = ({ id, expand, overrideSharePermissions, filter, }) => {
|
|
1258
1176
|
return this.getClientInstance()
|