@resolution/jira-api-client 0.7.8 → 0.10.0
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/README.md +5 -5
- package/lib/index.d.ts +2 -0
- package/lib/index.js +2 -0
- package/lib/index.js.map +1 -1
- package/lib/openapi/core/CommonHttpClient.d.ts +29 -0
- package/lib/openapi/core/CommonHttpClient.js +29 -1
- package/lib/openapi/core/CommonHttpClient.js.map +1 -1
- package/lib/openapi/platform/BaseJiraPlatformApiClient.d.ts +27 -7
- package/lib/openapi/platform/BaseJiraPlatformApiClient.js +45 -1
- package/lib/openapi/platform/BaseJiraPlatformApiClient.js.map +1 -1
- package/lib/openapi/platform/models/appMigration.d.ts +12 -0
- package/lib/openapi/platform/models/appMigration.js.map +1 -1
- package/lib/openapi/platform/models/appProperties.d.ts +4 -2
- package/lib/openapi/platform/models/appProperties.js.map +1 -1
- package/lib/openapi/platform/models/common.d.ts +7 -43
- package/lib/openapi/platform/models/common.js +1 -21
- package/lib/openapi/platform/models/common.js.map +1 -1
- package/lib/openapi/platform/models/dashboards.d.ts +0 -30
- package/lib/openapi/platform/models/dashboards.js +0 -18
- package/lib/openapi/platform/models/dashboards.js.map +1 -1
- package/lib/openapi/platform/models/dynamicModules.d.ts +55 -51
- package/lib/openapi/platform/models/dynamicModules.js.map +1 -1
- package/lib/openapi/platform/models/issueBulkOperations.d.ts +102 -0
- package/lib/openapi/platform/models/issueBulkOperations.js +56 -0
- package/lib/openapi/platform/models/issueBulkOperations.js.map +1 -1
- package/lib/openapi/platform/models/issueCustomFieldOptions.d.ts +1 -4
- package/lib/openapi/platform/models/issueCustomFieldOptions.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/issues.d.ts +124 -10
- package/lib/openapi/platform/models/issues.js +78 -0
- package/lib/openapi/platform/models/issues.js.map +1 -1
- package/lib/openapi/platform/models/jiraExpressions.d.ts +8 -1
- package/lib/openapi/platform/models/jiraExpressions.js.map +1 -1
- package/lib/openapi/platform/models/jql.d.ts +8 -0
- package/lib/openapi/platform/models/jql.js.map +1 -1
- package/lib/openapi/platform/models/jqlFunctionsApps.d.ts +43 -1
- package/lib/openapi/platform/models/jqlFunctionsApps.js +52 -2
- package/lib/openapi/platform/models/jqlFunctionsApps.js.map +1 -1
- package/lib/openapi/platform/models/permissionSchemes.d.ts +3 -4
- package/lib/openapi/platform/models/permissionSchemes.js.map +1 -1
- package/lib/openapi/platform/models/plans.d.ts +268 -0
- package/lib/openapi/platform/models/plans.js +425 -0
- package/lib/openapi/platform/models/plans.js.map +1 -0
- package/lib/openapi/platform/models/projects.d.ts +1 -1
- package/lib/openapi/platform/models/projects.js +1 -0
- package/lib/openapi/platform/models/projects.js.map +1 -1
- package/lib/openapi/platform/models/serviceRegistry.d.ts +2 -0
- package/lib/openapi/platform/models/serviceRegistry.js.map +1 -1
- package/lib/openapi/platform/models/teamsInPlan.d.ts +79 -0
- package/lib/openapi/platform/models/teamsInPlan.js +86 -0
- package/lib/openapi/platform/models/teamsInPlan.js.map +1 -0
- package/lib/openapi/platform/models/workflows.d.ts +4 -0
- package/lib/openapi/platform/models/workflows.js +2 -0
- package/lib/openapi/platform/models/workflows.js.map +1 -1
- package/lib/openapi/platform/services/AnnouncementBannerService.d.ts +4 -4
- package/lib/openapi/platform/services/AppMigrationService.d.ts +87 -87
- package/lib/openapi/platform/services/AppMigrationService.js +49 -49
- package/lib/openapi/platform/services/AppPropertiesService.d.ts +17 -17
- package/lib/openapi/platform/services/AppPropertiesService.js +17 -17
- package/lib/openapi/platform/services/ApplicationRolesService.d.ts +2 -0
- package/lib/openapi/platform/services/ApplicationRolesService.js +2 -0
- package/lib/openapi/platform/services/ApplicationRolesService.js.map +1 -1
- package/lib/openapi/platform/services/DashboardsService.d.ts +64 -64
- package/lib/openapi/platform/services/FilterSharingService.d.ts +8 -4
- package/lib/openapi/platform/services/FilterSharingService.js +4 -0
- package/lib/openapi/platform/services/FilterSharingService.js.map +1 -1
- package/lib/openapi/platform/services/FiltersService.d.ts +21 -8
- package/lib/openapi/platform/services/FiltersService.js +8 -1
- package/lib/openapi/platform/services/FiltersService.js.map +1 -1
- package/lib/openapi/platform/services/GroupsService.d.ts +2 -2
- package/lib/openapi/platform/services/IssueAttachmentsService.d.ts +2 -0
- package/lib/openapi/platform/services/IssueAttachmentsService.js +2 -0
- package/lib/openapi/platform/services/IssueAttachmentsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueBulkOperationsService.d.ts +293 -78
- package/lib/openapi/platform/services/IssueBulkOperationsService.js +244 -2
- package/lib/openapi/platform/services/IssueBulkOperationsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueCommentsService.d.ts +42 -42
- package/lib/openapi/platform/services/IssueCustomFieldConfigurationAppsService.d.ts +29 -29
- package/lib/openapi/platform/services/IssueCustomFieldContextsService.d.ts +59 -59
- package/lib/openapi/platform/services/IssueCustomFieldOptionsAppsService.d.ts +59 -59
- package/lib/openapi/platform/services/IssueCustomFieldOptionsService.d.ts +37 -37
- package/lib/openapi/platform/services/IssueCustomFieldValuesAppsService.d.ts +25 -25
- package/lib/openapi/platform/services/IssueFieldConfigurationsService.d.ts +47 -47
- package/lib/openapi/platform/services/IssueFieldsService.d.ts +12 -11
- package/lib/openapi/platform/services/IssueFieldsService.js +3 -1
- package/lib/openapi/platform/services/IssueFieldsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueLinkTypesService.d.ts +6 -6
- package/lib/openapi/platform/services/IssueLinksService.d.ts +28 -28
- package/lib/openapi/platform/services/IssueNavigatorSettingsService.d.ts +2 -0
- package/lib/openapi/platform/services/IssueNavigatorSettingsService.js +2 -0
- package/lib/openapi/platform/services/IssueNavigatorSettingsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueNotificationSchemesService.d.ts +26 -26
- package/lib/openapi/platform/services/IssuePrioritiesService.d.ts +16 -14
- package/lib/openapi/platform/services/IssuePrioritiesService.js +2 -0
- package/lib/openapi/platform/services/IssuePrioritiesService.js.map +1 -1
- package/lib/openapi/platform/services/IssuePropertiesService.d.ts +38 -38
- package/lib/openapi/platform/services/IssueRemoteLinksService.d.ts +44 -42
- package/lib/openapi/platform/services/IssueRemoteLinksService.js +2 -0
- package/lib/openapi/platform/services/IssueRemoteLinksService.js.map +1 -1
- package/lib/openapi/platform/services/IssueResolutionsService.d.ts +12 -10
- package/lib/openapi/platform/services/IssueResolutionsService.js +2 -0
- package/lib/openapi/platform/services/IssueResolutionsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueSearchService.d.ts +28 -28
- package/lib/openapi/platform/services/IssueSecuritySchemesService.d.ts +58 -58
- package/lib/openapi/platform/services/IssueTypePropertiesService.d.ts +2 -2
- package/lib/openapi/platform/services/IssueTypeSchemesService.d.ts +24 -24
- package/lib/openapi/platform/services/IssueTypeScreenSchemesService.d.ts +39 -39
- package/lib/openapi/platform/services/IssueTypesService.d.ts +12 -6
- package/lib/openapi/platform/services/IssueTypesService.js +6 -0
- package/lib/openapi/platform/services/IssueTypesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueWatchersService.d.ts +5 -5
- package/lib/openapi/platform/services/IssueWorklogsService.d.ts +59 -57
- package/lib/openapi/platform/services/IssueWorklogsService.js +2 -0
- package/lib/openapi/platform/services/IssueWorklogsService.js.map +1 -1
- package/lib/openapi/platform/services/IssuesService.d.ts +692 -590
- package/lib/openapi/platform/services/IssuesService.js +121 -0
- package/lib/openapi/platform/services/IssuesService.js.map +1 -1
- package/lib/openapi/platform/services/JiraExpressionsService.d.ts +95 -95
- package/lib/openapi/platform/services/JiraSettingsService.d.ts +6 -2
- package/lib/openapi/platform/services/JiraSettingsService.js +4 -0
- package/lib/openapi/platform/services/JiraSettingsService.js.map +1 -1
- package/lib/openapi/platform/services/JqlFunctionsAppsService.d.ts +125 -28
- package/lib/openapi/platform/services/JqlFunctionsAppsService.js +137 -20
- package/lib/openapi/platform/services/JqlFunctionsAppsService.js.map +1 -1
- package/lib/openapi/platform/services/JqlService.d.ts +36 -36
- package/lib/openapi/platform/services/MyselfService.d.ts +1 -1
- package/lib/openapi/platform/services/PermissionSchemesService.d.ts +32 -35
- package/lib/openapi/platform/services/PermissionSchemesService.js +2 -5
- package/lib/openapi/platform/services/PermissionSchemesService.js.map +1 -1
- package/lib/openapi/platform/services/PermissionsService.d.ts +21 -21
- package/lib/openapi/platform/services/PlansService.d.ts +389 -0
- package/lib/openapi/platform/services/PlansService.js +459 -0
- package/lib/openapi/platform/services/PlansService.js.map +1 -0
- package/lib/openapi/platform/services/PrioritySchemesService.d.ts +83 -83
- package/lib/openapi/platform/services/ProjectAvatarsService.d.ts +1 -1
- package/lib/openapi/platform/services/ProjectCategoriesService.d.ts +6 -4
- package/lib/openapi/platform/services/ProjectCategoriesService.js +2 -0
- package/lib/openapi/platform/services/ProjectCategoriesService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectClassificationLevelsService.d.ts +1 -1
- package/lib/openapi/platform/services/ProjectComponentsService.d.ts +13 -11
- package/lib/openapi/platform/services/ProjectComponentsService.js +2 -0
- package/lib/openapi/platform/services/ProjectComponentsService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectEmailService.d.ts +1 -1
- package/lib/openapi/platform/services/ProjectFeaturesService.d.ts +1 -1
- package/lib/openapi/platform/services/ProjectPermissionSchemesService.d.ts +1 -1
- package/lib/openapi/platform/services/ProjectPropertiesService.d.ts +2 -2
- package/lib/openapi/platform/services/ProjectRoleActorsService.d.ts +14 -14
- package/lib/openapi/platform/services/ProjectRolesService.d.ts +10 -6
- package/lib/openapi/platform/services/ProjectRolesService.js +4 -0
- package/lib/openapi/platform/services/ProjectRolesService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectTypesService.d.ts +4 -0
- package/lib/openapi/platform/services/ProjectTypesService.js +4 -0
- package/lib/openapi/platform/services/ProjectTypesService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectVersionsService.d.ts +29 -25
- package/lib/openapi/platform/services/ProjectVersionsService.js +5 -1
- package/lib/openapi/platform/services/ProjectVersionsService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectsService.d.ts +30 -24
- package/lib/openapi/platform/services/ProjectsService.js +6 -0
- package/lib/openapi/platform/services/ProjectsService.js.map +1 -1
- package/lib/openapi/platform/services/ScreenSchemesService.d.ts +12 -12
- package/lib/openapi/platform/services/ScreenTabFieldsService.d.ts +1 -1
- package/lib/openapi/platform/services/ScreenTabsService.d.ts +1 -1
- package/lib/openapi/platform/services/ScreensService.d.ts +4 -4
- package/lib/openapi/platform/services/ServiceRegistryService.d.ts +2 -0
- package/lib/openapi/platform/services/ServiceRegistryService.js.map +1 -1
- package/lib/openapi/platform/services/StatusService.d.ts +24 -20
- package/lib/openapi/platform/services/StatusService.js +4 -0
- package/lib/openapi/platform/services/StatusService.js.map +1 -1
- package/lib/openapi/platform/services/TeamsInPlanService.d.ts +294 -0
- package/lib/openapi/platform/services/TeamsInPlanService.js +452 -0
- package/lib/openapi/platform/services/TeamsInPlanService.js.map +1 -0
- package/lib/openapi/platform/services/TimeTrackingService.d.ts +7 -5
- package/lib/openapi/platform/services/TimeTrackingService.js +2 -0
- package/lib/openapi/platform/services/TimeTrackingService.js.map +1 -1
- package/lib/openapi/platform/services/UiModificationsAppsService.d.ts +44 -44
- package/lib/openapi/platform/services/UserSearchService.d.ts +19 -8
- package/lib/openapi/platform/services/UserSearchService.js +15 -5
- package/lib/openapi/platform/services/UserSearchService.js.map +1 -1
- package/lib/openapi/platform/services/UsersService.d.ts +7 -1
- package/lib/openapi/platform/services/UsersService.js +6 -0
- package/lib/openapi/platform/services/UsersService.js.map +1 -1
- package/lib/openapi/platform/services/WebhooksService.d.ts +39 -39
- package/lib/openapi/platform/services/WorkflowSchemeDraftsService.d.ts +39 -39
- package/lib/openapi/platform/services/WorkflowSchemeProjectAssociationsService.d.ts +2 -2
- package/lib/openapi/platform/services/WorkflowSchemesService.d.ts +102 -100
- package/lib/openapi/platform/services/WorkflowSchemesService.js +2 -0
- package/lib/openapi/platform/services/WorkflowSchemesService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowStatusCategoriesService.d.ts +2 -0
- package/lib/openapi/platform/services/WorkflowStatusCategoriesService.js +2 -0
- package/lib/openapi/platform/services/WorkflowStatusCategoriesService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowStatusesService.d.ts +2 -0
- package/lib/openapi/platform/services/WorkflowStatusesService.js +2 -0
- package/lib/openapi/platform/services/WorkflowStatusesService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowTransitionPropertiesService.d.ts +4 -2
- package/lib/openapi/platform/services/WorkflowTransitionPropertiesService.js +2 -0
- package/lib/openapi/platform/services/WorkflowTransitionPropertiesService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowTransitionRulesService.d.ts +48 -48
- package/lib/openapi/platform/services/WorkflowsService.d.ts +591 -589
- package/lib/openapi/platform/services/WorkflowsService.js +2 -0
- package/lib/openapi/platform/services/WorkflowsService.js.map +1 -1
- package/lib/openapi/serviceManagement/BaseJiraServiceManagementApiClient.d.ts +1 -1
- package/lib/openapi/serviceManagement/BaseJiraServiceManagementApiClient.js +3 -1
- package/lib/openapi/serviceManagement/BaseJiraServiceManagementApiClient.js.map +1 -1
- package/lib/openapi/serviceManagement/models/organization.d.ts +5 -0
- package/lib/openapi/serviceManagement/models/organization.js +1 -0
- package/lib/openapi/serviceManagement/models/organization.js.map +1 -1
- package/lib/openapi/serviceManagement/services/CustomerService.d.ts +2 -2
- package/lib/openapi/serviceManagement/services/KnowledgebaseService.d.ts +11 -7
- package/lib/openapi/serviceManagement/services/KnowledgebaseService.js +3 -1
- package/lib/openapi/serviceManagement/services/KnowledgebaseService.js.map +1 -1
- package/lib/openapi/serviceManagement/services/OrganizationService.d.ts +39 -33
- package/lib/openapi/serviceManagement/services/OrganizationService.js +24 -18
- package/lib/openapi/serviceManagement/services/OrganizationService.js.map +1 -1
- package/lib/openapi/serviceManagement/services/RequestService.d.ts +68 -68
- package/lib/openapi/serviceManagement/services/RequestService.js +3 -3
- package/lib/openapi/serviceManagement/services/ServicedeskService.d.ts +39 -32
- package/lib/openapi/serviceManagement/services/ServicedeskService.js +4 -2
- package/lib/openapi/serviceManagement/services/ServicedeskService.js.map +1 -1
- package/lib/openapi/software/BaseJiraSoftwareApiClient.js +2 -0
- package/lib/openapi/software/BaseJiraSoftwareApiClient.js.map +1 -1
- package/lib/openapi/software/models/board.d.ts +2 -3
- package/lib/openapi/software/models/board.js.map +1 -1
- package/lib/openapi/software/models/builds.d.ts +40 -2
- package/lib/openapi/software/models/builds.js.map +1 -1
- package/lib/openapi/software/models/common.d.ts +8 -2
- package/lib/openapi/software/models/common.js.map +1 -1
- package/lib/openapi/software/models/deployments.d.ts +36 -2
- package/lib/openapi/software/models/deployments.js.map +1 -1
- package/lib/openapi/software/models/devOpsComponents.d.ts +10 -4
- package/lib/openapi/software/models/devOpsComponents.js.map +1 -1
- package/lib/openapi/software/models/developmentInformation.d.ts +106 -0
- package/lib/openapi/software/models/developmentInformation.js.map +1 -1
- package/lib/openapi/software/models/featureFlags.d.ts +20 -4
- package/lib/openapi/software/models/featureFlags.js.map +1 -1
- package/lib/openapi/software/models/operations.d.ts +76 -16
- package/lib/openapi/software/models/operations.js.map +1 -1
- package/lib/openapi/software/models/remoteLinks.d.ts +49 -13
- package/lib/openapi/software/models/remoteLinks.js.map +1 -1
- package/lib/openapi/software/models/securityInformation.d.ts +60 -8
- package/lib/openapi/software/models/securityInformation.js.map +1 -1
- package/lib/openapi/software/services/BacklogService.d.ts +12 -12
- package/lib/openapi/software/services/BoardService.d.ts +14 -14
- package/lib/openapi/software/services/EpicService.d.ts +18 -18
- package/lib/openapi/software/services/IssueService.d.ts +8 -8
- package/lib/openapi/software/services/OperationsService.d.ts +8 -4
- package/lib/openapi/software/services/OperationsService.js.map +1 -1
- package/lib/openapi/software/services/RemoteLinksService.d.ts +4 -2
- package/lib/openapi/software/services/RemoteLinksService.js.map +1 -1
- package/lib/openapi/software/services/SprintService.d.ts +20 -20
- package/package.json +5 -4
- package/CHANGELOG.md +0 -430
|
@@ -0,0 +1,294 @@
|
|
|
1
|
+
import { CommonHttpService } from "../../core/CommonHttpService";
|
|
2
|
+
import { type AddAtlassianTeamRequest, type CreatePlanOnlyTeamRequest, type GetAtlassianTeamResponse, type GetPlanOnlyTeamResponse, type PageWithCursorGetTeamResponseForPage } from "../models/teamsInPlan";
|
|
3
|
+
/**
|
|
4
|
+
* This resource represents planning settings for plan-only and Atlassian teams in
|
|
5
|
+
* a plan. Use it to get, create, update and delete planning settings.
|
|
6
|
+
*
|
|
7
|
+
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-teams-in-plan
|
|
8
|
+
* @category Services
|
|
9
|
+
*/
|
|
10
|
+
export declare class TeamsInPlanService extends CommonHttpService {
|
|
11
|
+
/**
|
|
12
|
+
* Adds an existing Atlassian team to a plan and configures their plannning
|
|
13
|
+
* settings.
|
|
14
|
+
*
|
|
15
|
+
* **[Permissions](#permissions) required:** *Administer Jira* [global
|
|
16
|
+
* permission](https://confluence.atlassian.com/x/x4dKLg).
|
|
17
|
+
*
|
|
18
|
+
* @returns Returned if the request is successful.
|
|
19
|
+
* @path POST `/rest/api/3/plans/plan/{planId}/team/atlassian`
|
|
20
|
+
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-teams-in-plan#api-rest-api-3-plans-plan-planid-team-atlassian-post
|
|
21
|
+
* @param params
|
|
22
|
+
*/
|
|
23
|
+
addAtlassianTeam: ({ planId, addAtlassianTeamRequest, }: {
|
|
24
|
+
/** The ID of the plan. */
|
|
25
|
+
planId: number;
|
|
26
|
+
/**
|
|
27
|
+
* @example
|
|
28
|
+
* {
|
|
29
|
+
* "capacity": 200,
|
|
30
|
+
* "id": "AtlassianTeamId",
|
|
31
|
+
* "issueSourceId": 0,
|
|
32
|
+
* "planningStyle": "Scrum",
|
|
33
|
+
* "sprintLength": 2
|
|
34
|
+
* }
|
|
35
|
+
*/
|
|
36
|
+
addAtlassianTeamRequest: AddAtlassianTeamRequest;
|
|
37
|
+
}) => Promise<void>;
|
|
38
|
+
/**
|
|
39
|
+
* Creates a plan-only team and configures their planning settings.
|
|
40
|
+
*
|
|
41
|
+
* **[Permissions](#permissions) required:** *Administer Jira* [global
|
|
42
|
+
* permission](https://confluence.atlassian.com/x/x4dKLg).
|
|
43
|
+
*
|
|
44
|
+
* @returns Returned if the request is successful.
|
|
45
|
+
* @path POST `/rest/api/3/plans/plan/{planId}/team/planonly`
|
|
46
|
+
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-teams-in-plan#api-rest-api-3-plans-plan-planid-team-planonly-post
|
|
47
|
+
* @param params
|
|
48
|
+
*/
|
|
49
|
+
createPlanOnlyTeam: ({ planId, createPlanOnlyTeamRequest, }: {
|
|
50
|
+
/** The ID of the plan. */
|
|
51
|
+
planId: number;
|
|
52
|
+
/**
|
|
53
|
+
* @example
|
|
54
|
+
* {
|
|
55
|
+
* "capacity": 200,
|
|
56
|
+
* "issueSourceId": 0,
|
|
57
|
+
* "memberAccountIds": [
|
|
58
|
+
* "member1AccountId",
|
|
59
|
+
* "member2AccountId"
|
|
60
|
+
* ],
|
|
61
|
+
* "name": "Team1",
|
|
62
|
+
* "planningStyle": "Scrum",
|
|
63
|
+
* "sprintLength": 2
|
|
64
|
+
* }
|
|
65
|
+
*/
|
|
66
|
+
createPlanOnlyTeamRequest: CreatePlanOnlyTeamRequest;
|
|
67
|
+
}) => Promise<number>;
|
|
68
|
+
/**
|
|
69
|
+
* Deletes a plan-only team and their planning settings.
|
|
70
|
+
*
|
|
71
|
+
* **[Permissions](#permissions) required:** *Administer Jira* [global
|
|
72
|
+
* permission](https://confluence.atlassian.com/x/x4dKLg).
|
|
73
|
+
*
|
|
74
|
+
* @returns Returned if the request is successful.
|
|
75
|
+
* @path DELETE `/rest/api/3/plans/plan/{planId}/team/planonly/{planOnlyTeamId}`
|
|
76
|
+
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-teams-in-plan#api-rest-api-3-plans-plan-planid-team-planonly-planonlyteamid-delete
|
|
77
|
+
* @param params
|
|
78
|
+
*/
|
|
79
|
+
deletePlanOnlyTeam: ({ planId, planOnlyTeamId, }: {
|
|
80
|
+
/** The ID of the plan. */
|
|
81
|
+
planId: number;
|
|
82
|
+
/** The ID of the plan-only team. */
|
|
83
|
+
planOnlyTeamId: number;
|
|
84
|
+
}) => Promise<void>;
|
|
85
|
+
/**
|
|
86
|
+
* Returns planning settings for an Atlassian team in a plan.
|
|
87
|
+
*
|
|
88
|
+
* **[Permissions](#permissions) required:** *Administer Jira* [global
|
|
89
|
+
* permission](https://confluence.atlassian.com/x/x4dKLg).
|
|
90
|
+
*
|
|
91
|
+
* @returns Returned if the request is successful.
|
|
92
|
+
*
|
|
93
|
+
* example:
|
|
94
|
+
* ```
|
|
95
|
+
* {
|
|
96
|
+
* "capacity": 220,
|
|
97
|
+
* "id": "98WA-2JBO-12N3-2298",
|
|
98
|
+
* "issueSourceId": 1,
|
|
99
|
+
* "planningStyle": "Scrum",
|
|
100
|
+
* "sprintLength": 2
|
|
101
|
+
* }
|
|
102
|
+
* ```
|
|
103
|
+
* @path GET `/rest/api/3/plans/plan/{planId}/team/atlassian/{atlassianTeamId}`
|
|
104
|
+
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-teams-in-plan#api-rest-api-3-plans-plan-planid-team-atlassian-atlassianteamid-get
|
|
105
|
+
* @param params
|
|
106
|
+
*/
|
|
107
|
+
getAtlassianTeam: ({ planId, atlassianTeamId, }: {
|
|
108
|
+
/** The ID of the plan. */
|
|
109
|
+
planId: number;
|
|
110
|
+
/** The ID of the Atlassian team. */
|
|
111
|
+
atlassianTeamId: string;
|
|
112
|
+
}) => Promise<GetAtlassianTeamResponse>;
|
|
113
|
+
/**
|
|
114
|
+
* Returns planning settings for a plan-only team.
|
|
115
|
+
*
|
|
116
|
+
* **[Permissions](#permissions) required:** *Administer Jira* [global
|
|
117
|
+
* permission](https://confluence.atlassian.com/x/x4dKLg).
|
|
118
|
+
*
|
|
119
|
+
* @returns Returned if the request is successful.
|
|
120
|
+
*
|
|
121
|
+
* example:
|
|
122
|
+
* ```
|
|
123
|
+
* {
|
|
124
|
+
* "capacity": 30,
|
|
125
|
+
* "id": 123,
|
|
126
|
+
* "issueSourceId": 1,
|
|
127
|
+
* "memberAccountIds": [
|
|
128
|
+
* "mek2-3jno-01n3",
|
|
129
|
+
* "kdsn-2nk3-2nn1"
|
|
130
|
+
* ],
|
|
131
|
+
* "name": "Team1",
|
|
132
|
+
* "planningStyle": "Scrum",
|
|
133
|
+
* "sprintLength": 2
|
|
134
|
+
* }
|
|
135
|
+
* ```
|
|
136
|
+
* @path GET `/rest/api/3/plans/plan/{planId}/team/planonly/{planOnlyTeamId}`
|
|
137
|
+
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-teams-in-plan#api-rest-api-3-plans-plan-planid-team-planonly-planonlyteamid-get
|
|
138
|
+
* @param params
|
|
139
|
+
*/
|
|
140
|
+
getPlanOnlyTeam: ({ planId, planOnlyTeamId, }: {
|
|
141
|
+
/** The ID of the plan. */
|
|
142
|
+
planId: number;
|
|
143
|
+
/** The ID of the plan-only team. */
|
|
144
|
+
planOnlyTeamId: number;
|
|
145
|
+
}) => Promise<GetPlanOnlyTeamResponse>;
|
|
146
|
+
/**
|
|
147
|
+
* Returns a [paginated](#pagination) list of plan-only and Atlassian teams in a
|
|
148
|
+
* plan.
|
|
149
|
+
*
|
|
150
|
+
* **[Permissions](#permissions) required:** *Administer Jira* [global
|
|
151
|
+
* permission](https://confluence.atlassian.com/x/x4dKLg).
|
|
152
|
+
*
|
|
153
|
+
* @returns Returned if the request is successful.
|
|
154
|
+
*
|
|
155
|
+
* example:
|
|
156
|
+
* ```
|
|
157
|
+
* {
|
|
158
|
+
* "cursor": "",
|
|
159
|
+
* "isLast": true,
|
|
160
|
+
* "maxResults": 2,
|
|
161
|
+
* "nextPageCursor": "2",
|
|
162
|
+
* "total": 10,
|
|
163
|
+
* "values": [
|
|
164
|
+
* {
|
|
165
|
+
* "id": "1",
|
|
166
|
+
* "name": "Team 1",
|
|
167
|
+
* "type": "PlanOnly"
|
|
168
|
+
* },
|
|
169
|
+
* {
|
|
170
|
+
* "id": "2",
|
|
171
|
+
* "type": "Atlassian"
|
|
172
|
+
* }
|
|
173
|
+
* ]
|
|
174
|
+
* }
|
|
175
|
+
* ```
|
|
176
|
+
* @path GET `/rest/api/3/plans/plan/{planId}/team`
|
|
177
|
+
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-teams-in-plan#api-rest-api-3-plans-plan-planid-team-get
|
|
178
|
+
* @param params
|
|
179
|
+
*/
|
|
180
|
+
getTeams: ({ planId, cursor, maxResults, }: {
|
|
181
|
+
/** The ID of the plan. */
|
|
182
|
+
planId: number;
|
|
183
|
+
/** The cursor to start from. If not provided, the first page will be returned. */
|
|
184
|
+
cursor?: string | undefined;
|
|
185
|
+
/**
|
|
186
|
+
* The maximum number of plan teams to return per page. The maximum value is 50.
|
|
187
|
+
* The default value is 50.
|
|
188
|
+
*/
|
|
189
|
+
maxResults?: number | undefined;
|
|
190
|
+
}) => Promise<PageWithCursorGetTeamResponseForPage>;
|
|
191
|
+
/**
|
|
192
|
+
* Removes an Atlassian team from a plan and deletes their planning settings.
|
|
193
|
+
*
|
|
194
|
+
* **[Permissions](#permissions) required:** *Administer Jira* [global
|
|
195
|
+
* permission](https://confluence.atlassian.com/x/x4dKLg).
|
|
196
|
+
*
|
|
197
|
+
* @returns Returned if the request is successful.
|
|
198
|
+
* @path DELETE `/rest/api/3/plans/plan/{planId}/team/atlassian/{atlassianTeamId}`
|
|
199
|
+
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-teams-in-plan#api-rest-api-3-plans-plan-planid-team-atlassian-atlassianteamid-delete
|
|
200
|
+
* @param params
|
|
201
|
+
*/
|
|
202
|
+
removeAtlassianTeam: ({ planId, atlassianTeamId, }: {
|
|
203
|
+
/** The ID of the plan. */
|
|
204
|
+
planId: number;
|
|
205
|
+
/** The ID of the Atlassian team. */
|
|
206
|
+
atlassianTeamId: string;
|
|
207
|
+
}) => Promise<void>;
|
|
208
|
+
/**
|
|
209
|
+
* Updates any of the following planning settings of an Atlassian team in a plan
|
|
210
|
+
* using [JSON Patch](https://datatracker.ietf.org/doc/html/rfc6902).
|
|
211
|
+
*
|
|
212
|
+
* * planningStyle
|
|
213
|
+
* * issueSourceId
|
|
214
|
+
* * sprintLength
|
|
215
|
+
* * capacity
|
|
216
|
+
*
|
|
217
|
+
* **[Permissions](#permissions) required:** *Administer Jira* [global
|
|
218
|
+
* permission](https://confluence.atlassian.com/x/x4dKLg).
|
|
219
|
+
*
|
|
220
|
+
* *Note that "add" operations do not respect array indexes in target locations.
|
|
221
|
+
* Call the "Get Atlassian team in plan" endpoint to find out the order of array
|
|
222
|
+
* elements.*
|
|
223
|
+
*
|
|
224
|
+
* @returns Returned if the request is successful.
|
|
225
|
+
* @path PUT `/rest/api/3/plans/plan/{planId}/team/atlassian/{atlassianTeamId}`
|
|
226
|
+
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-teams-in-plan#api-rest-api-3-plans-plan-planid-team-atlassian-atlassianteamid-put
|
|
227
|
+
* @param params
|
|
228
|
+
*/
|
|
229
|
+
updateAtlassianTeam: ({ planId, atlassianTeamId, requestBody, }: {
|
|
230
|
+
/** The ID of the plan. */
|
|
231
|
+
planId: number;
|
|
232
|
+
/** The ID of the Atlassian team. */
|
|
233
|
+
atlassianTeamId: string;
|
|
234
|
+
/**
|
|
235
|
+
* @example
|
|
236
|
+
* ```
|
|
237
|
+
* [
|
|
238
|
+
* {
|
|
239
|
+
* "op": "replace",
|
|
240
|
+
* "path": "/planningStyle",
|
|
241
|
+
* "value": "Kanban"
|
|
242
|
+
* }
|
|
243
|
+
* ]
|
|
244
|
+
* ```
|
|
245
|
+
*/
|
|
246
|
+
requestBody: {
|
|
247
|
+
[key: string]: unknown;
|
|
248
|
+
};
|
|
249
|
+
}) => Promise<void>;
|
|
250
|
+
/**
|
|
251
|
+
* Updates any of the following planning settings of a plan-only team using [JSON
|
|
252
|
+
* Patch](https://datatracker.ietf.org/doc/html/rfc6902).
|
|
253
|
+
*
|
|
254
|
+
* * name
|
|
255
|
+
* * planningStyle
|
|
256
|
+
* * issueSourceId
|
|
257
|
+
* * sprintLength
|
|
258
|
+
* * capacity
|
|
259
|
+
* * memberAccountIds
|
|
260
|
+
*
|
|
261
|
+
* **[Permissions](#permissions) required:** *Administer Jira* [global
|
|
262
|
+
* permission](https://confluence.atlassian.com/x/x4dKLg).
|
|
263
|
+
*
|
|
264
|
+
* *Note that "add" operations do not respect array indexes in target locations.
|
|
265
|
+
* Call the "Get plan-only team" endpoint to find out the order of array elements.*
|
|
266
|
+
*
|
|
267
|
+
* @returns Returned if the request is successful.
|
|
268
|
+
* @path PUT `/rest/api/3/plans/plan/{planId}/team/planonly/{planOnlyTeamId}`
|
|
269
|
+
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-teams-in-plan#api-rest-api-3-plans-plan-planid-team-planonly-planonlyteamid-put
|
|
270
|
+
* @param params
|
|
271
|
+
*/
|
|
272
|
+
updatePlanOnlyTeam: ({ planId, planOnlyTeamId, requestBody, }: {
|
|
273
|
+
/** The ID of the plan. */
|
|
274
|
+
planId: number;
|
|
275
|
+
/** The ID of the plan-only team. */
|
|
276
|
+
planOnlyTeamId: number;
|
|
277
|
+
/**
|
|
278
|
+
* @example
|
|
279
|
+
* ```
|
|
280
|
+
* [
|
|
281
|
+
* {
|
|
282
|
+
* "op": "replace",
|
|
283
|
+
* "path": "/planningStyle",
|
|
284
|
+
* "value": "Kanban"
|
|
285
|
+
* }
|
|
286
|
+
* ]
|
|
287
|
+
* ```
|
|
288
|
+
*/
|
|
289
|
+
requestBody: {
|
|
290
|
+
[key: string]: unknown;
|
|
291
|
+
};
|
|
292
|
+
}) => Promise<void>;
|
|
293
|
+
protected static initialize(): void;
|
|
294
|
+
}
|