@resolution/jira-api-client 0.16.8 → 0.16.9
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/lib/openapi/platform/BaseJiraPlatformApiClient.d.ts +5 -5
- package/lib/openapi/platform/BaseJiraPlatformApiClient.js +1 -3
- package/lib/openapi/platform/BaseJiraPlatformApiClient.js.map +1 -1
- package/lib/openapi/platform/models/fieldSchemes.d.ts +7 -0
- package/lib/openapi/platform/models/fieldSchemes.js +5 -0
- package/lib/openapi/platform/models/fieldSchemes.js.map +1 -1
- package/lib/openapi/platform/models/issueCustomFieldContexts.d.ts +22 -0
- package/lib/openapi/platform/models/issueCustomFieldContexts.js +11 -0
- package/lib/openapi/platform/models/issueCustomFieldContexts.js.map +1 -1
- package/lib/openapi/platform/models/issueSearch.d.ts +27 -0
- package/lib/openapi/platform/models/issueSearch.js +12 -1
- package/lib/openapi/platform/models/issueSearch.js.map +1 -1
- package/lib/openapi/platform/models/projectTemplates.d.ts +23 -1
- package/lib/openapi/platform/models/projectTemplates.js +4 -0
- package/lib/openapi/platform/models/projectTemplates.js.map +1 -1
- package/lib/openapi/platform/models/projects.d.ts +1 -1
- package/lib/openapi/platform/models/projects.js +1 -1
- package/lib/openapi/platform/models/projects.js.map +1 -1
- package/lib/openapi/platform/models/workflowTransitionRules.d.ts +6 -2
- package/lib/openapi/platform/models/workflowTransitionRules.js +1 -1
- package/lib/openapi/platform/models/workflowTransitionRules.js.map +1 -1
- package/lib/openapi/platform/models/workflows.d.ts +3 -231
- package/lib/openapi/platform/models/workflows.js +1 -60
- package/lib/openapi/platform/models/workflows.js.map +1 -1
- package/lib/openapi/platform/services/FieldSchemesService.d.ts +2 -0
- package/lib/openapi/platform/services/FieldSchemesService.js +2 -0
- package/lib/openapi/platform/services/FieldSchemesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueCustomFieldContextsService.d.ts +12 -0
- package/lib/openapi/platform/services/IssueCustomFieldContextsService.js +12 -0
- package/lib/openapi/platform/services/IssueCustomFieldContextsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueCustomFieldValuesAppsService.d.ts +24 -2
- package/lib/openapi/platform/services/IssueCustomFieldValuesAppsService.js +6 -4
- package/lib/openapi/platform/services/IssueCustomFieldValuesAppsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueFieldsService.d.ts +2 -0
- package/lib/openapi/platform/services/IssueFieldsService.js +2 -0
- package/lib/openapi/platform/services/IssueFieldsService.js.map +1 -1
- package/lib/openapi/platform/services/IssuesService.d.ts +5 -0
- package/lib/openapi/platform/services/IssuesService.js +5 -0
- package/lib/openapi/platform/services/IssuesService.js.map +1 -1
- package/lib/openapi/platform/services/PrioritySchemesService.d.ts +10 -5
- package/lib/openapi/platform/services/PrioritySchemesService.js +10 -5
- package/lib/openapi/platform/services/PrioritySchemesService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectTemplatesService.d.ts +3 -0
- package/lib/openapi/platform/services/ProjectTemplatesService.js +3 -0
- package/lib/openapi/platform/services/ProjectTemplatesService.js.map +1 -1
- package/lib/openapi/platform/services/ScreenTabFieldsService.d.ts +2 -1
- package/lib/openapi/platform/services/ScreenTabFieldsService.js +4 -1
- package/lib/openapi/platform/services/ScreenTabFieldsService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowTransitionRulesService.d.ts +12 -2
- package/lib/openapi/platform/services/WorkflowTransitionRulesService.js +8 -0
- package/lib/openapi/platform/services/WorkflowTransitionRulesService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowsService.d.ts +26 -1028
- package/lib/openapi/platform/services/WorkflowsService.js +25 -953
- package/lib/openapi/platform/services/WorkflowsService.js.map +1 -1
- package/lib/openapi/serviceManagement/BaseJiraServiceManagementApiClient.d.ts +3 -3
- package/lib/openapi/serviceManagement/BaseJiraServiceManagementApiClient.js +1 -1
- package/lib/openapi/serviceManagement/models/servicedesk.d.ts +7 -0
- package/lib/openapi/serviceManagement/models/servicedesk.js +4 -0
- package/lib/openapi/serviceManagement/models/servicedesk.js.map +1 -1
- package/lib/openapi/serviceManagement/services/RequestService.d.ts +12 -4
- package/lib/openapi/serviceManagement/services/RequestService.js +12 -4
- package/lib/openapi/serviceManagement/services/RequestService.js.map +1 -1
- package/lib/openapi/serviceManagement/services/ServicedeskService.d.ts +59 -1
- package/lib/openapi/serviceManagement/services/ServicedeskService.js +64 -0
- package/lib/openapi/serviceManagement/services/ServicedeskService.js.map +1 -1
- package/lib/openapi/software/BaseJiraSoftwareApiClient.d.ts +3 -3
- package/lib/openapi/software/BaseJiraSoftwareApiClient.js +11 -1
- package/lib/openapi/software/BaseJiraSoftwareApiClient.js.map +1 -1
- package/lib/openapi/software/models/board.d.ts +5 -0
- package/lib/openapi/software/models/board.js +3 -0
- package/lib/openapi/software/models/board.js.map +1 -1
- package/lib/openapi/software/models/common.d.ts +28 -0
- package/lib/openapi/software/models/common.js +9 -0
- package/lib/openapi/software/models/common.js.map +1 -1
- package/lib/openapi/software/services/BoardService.d.ts +1596 -240
- package/lib/openapi/software/services/BoardService.js +1526 -220
- package/lib/openapi/software/services/BoardService.js.map +1 -1
- package/lib/openapi/software/services/EpicService.d.ts +524 -1
- package/lib/openapi/software/services/EpicService.js +496 -0
- package/lib/openapi/software/services/EpicService.js.map +1 -1
- package/lib/openapi/software/services/SprintService.d.ts +257 -1
- package/lib/openapi/software/services/SprintService.js +242 -0
- package/lib/openapi/software/services/SprintService.js.map +1 -1
- package/package.json +3 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CommonHttpService } from "../../core/CommonHttpService";
|
|
2
|
-
import type
|
|
2
|
+
import { type IssueAssignRequestBean, type SoftwareIssueResults } from "../models/common";
|
|
3
3
|
import type { EpicUpdateBean, EpicRankRequestBean } from "../models/epic";
|
|
4
4
|
/**
|
|
5
5
|
* Apis related to epics
|
|
@@ -48,6 +48,7 @@ export declare class EpicService extends CommonHttpService {
|
|
|
48
48
|
* `parent` clause. For more information on the `parent` JQL field, see [Advanced
|
|
49
49
|
* searching](https://confluence.atlassian.com/x/dAiiLQ#Advancedsearching-fieldsreference-Parent).
|
|
50
50
|
*
|
|
51
|
+
* @deprecated
|
|
51
52
|
* @returns Returns the requested issues, at the specified page of the results.
|
|
52
53
|
*
|
|
53
54
|
* example:
|
|
@@ -253,6 +254,268 @@ export declare class EpicService extends CommonHttpService {
|
|
|
253
254
|
/** A comma-separated list of the parameters to expand. */
|
|
254
255
|
expand?: string | undefined;
|
|
255
256
|
}) => Promise<unknown>;
|
|
257
|
+
/**
|
|
258
|
+
* Returns all issues that belong to the epic, for the given epic ID. Result
|
|
259
|
+
* pagination is token based, using `nextPageToken` and `maxResults`. This only
|
|
260
|
+
* includes issues that the user has permission to view. Issues returned from this
|
|
261
|
+
* resource include Software project fields, like sprint, closedSprints, flagged,
|
|
262
|
+
* and epic. By default, the returned issues are ordered by rank. **Note:** If you
|
|
263
|
+
* are querying a Team Managed project, do not use this operation. Instead, search
|
|
264
|
+
* for issues that belong to an epic by using the [Search for issues using JQL
|
|
265
|
+
* enhanced
|
|
266
|
+
* search](https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-search/#api-rest-api-3-search-jql-get)
|
|
267
|
+
* operation in the Jira platform REST API. Build your JQL query using the
|
|
268
|
+
* `parent` clause. For more information on the `parent` JQL field, see [Advanced
|
|
269
|
+
* searching](https://confluence.atlassian.com/x/dAiiLQ#Advancedsearching-fieldsreference-Parent).
|
|
270
|
+
*
|
|
271
|
+
* @returns Returns the requested issues, at the specified page of the results.
|
|
272
|
+
*
|
|
273
|
+
* example:
|
|
274
|
+
* ```
|
|
275
|
+
* {
|
|
276
|
+
* "expand": "names,schema",
|
|
277
|
+
* "isLast": true,
|
|
278
|
+
* "issues": [
|
|
279
|
+
* {
|
|
280
|
+
* "expand": "",
|
|
281
|
+
* "fields": {
|
|
282
|
+
* "watcher": {
|
|
283
|
+
* "isWatching": false,
|
|
284
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/issue/EX-1/watchers",
|
|
285
|
+
* "watchCount": 1
|
|
286
|
+
* },
|
|
287
|
+
* "attachment": [
|
|
288
|
+
* {
|
|
289
|
+
* "author": {
|
|
290
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
291
|
+
* "accountType": "atlassian",
|
|
292
|
+
* "active": false,
|
|
293
|
+
* "avatarUrls": {
|
|
294
|
+
* "16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
295
|
+
* "24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
296
|
+
* "32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
297
|
+
* "48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
298
|
+
* },
|
|
299
|
+
* "displayName": "Mia Krystof",
|
|
300
|
+
* "key": "",
|
|
301
|
+
* "name": "",
|
|
302
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
303
|
+
* },
|
|
304
|
+
* "content": "https://your-domain.atlassian.net/jira/rest/api/3/attachment/content/10001",
|
|
305
|
+
* "created": "2023-06-24T19:24:50.000+0000",
|
|
306
|
+
* "filename": "debuglog.txt",
|
|
307
|
+
* "id": 10001,
|
|
308
|
+
* "mimeType": "text/plain",
|
|
309
|
+
* "self": "https://your-domain.atlassian.net/rest/api/2/attachments/10001",
|
|
310
|
+
* "size": 2460
|
|
311
|
+
* }
|
|
312
|
+
* ],
|
|
313
|
+
* "sub-tasks": [
|
|
314
|
+
* {
|
|
315
|
+
* "id": "10000",
|
|
316
|
+
* "outwardIssue": {
|
|
317
|
+
* "fields": {
|
|
318
|
+
* "status": {
|
|
319
|
+
* "iconUrl": "https://your-domain.atlassian.net/images/icons/statuses/open.png",
|
|
320
|
+
* "name": "Open"
|
|
321
|
+
* }
|
|
322
|
+
* },
|
|
323
|
+
* "id": "10003",
|
|
324
|
+
* "key": "ED-2",
|
|
325
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/issue/ED-2"
|
|
326
|
+
* },
|
|
327
|
+
* "type": {
|
|
328
|
+
* "id": "10000",
|
|
329
|
+
* "inward": "Parent",
|
|
330
|
+
* "name": "",
|
|
331
|
+
* "outward": "Sub-task"
|
|
332
|
+
* }
|
|
333
|
+
* }
|
|
334
|
+
* ],
|
|
335
|
+
* "description": "Main order flow broken",
|
|
336
|
+
* "project": {
|
|
337
|
+
* "avatarUrls": {
|
|
338
|
+
* "16x16": "https://your-domain.atlassian.net/secure/projectavatar?size=xsmall&pid=10000",
|
|
339
|
+
* "24x24": "https://your-domain.atlassian.net/secure/projectavatar?size=small&pid=10000",
|
|
340
|
+
* "32x32": "https://your-domain.atlassian.net/secure/projectavatar?size=medium&pid=10000",
|
|
341
|
+
* "48x48": "https://your-domain.atlassian.net/secure/projectavatar?size=large&pid=10000"
|
|
342
|
+
* },
|
|
343
|
+
* "id": "10000",
|
|
344
|
+
* "insight": {
|
|
345
|
+
* "lastIssueUpdateTime": "2021-04-22T05:37:05.000+0000",
|
|
346
|
+
* "totalIssueCount": 100
|
|
347
|
+
* },
|
|
348
|
+
* "key": "EX",
|
|
349
|
+
* "name": "Example",
|
|
350
|
+
* "projectCategory": {
|
|
351
|
+
* "description": "First Project Category",
|
|
352
|
+
* "id": "10000",
|
|
353
|
+
* "name": "FIRST",
|
|
354
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/projectCategory/10000"
|
|
355
|
+
* },
|
|
356
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/project/EX",
|
|
357
|
+
* "simplified": false,
|
|
358
|
+
* "style": "classic"
|
|
359
|
+
* },
|
|
360
|
+
* "comment": [
|
|
361
|
+
* {
|
|
362
|
+
* "author": {
|
|
363
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
364
|
+
* "active": false,
|
|
365
|
+
* "displayName": "Mia Krystof",
|
|
366
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
367
|
+
* },
|
|
368
|
+
* "body": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque eget venenatis elit. Duis eu justo eget augue iaculis fermentum. Sed semper quam laoreet nisi egestas at posuere augue semper.",
|
|
369
|
+
* "created": "2021-01-17T12:34:00.000+0000",
|
|
370
|
+
* "id": "10000",
|
|
371
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/issue/10010/comment/10000",
|
|
372
|
+
* "updateAuthor": {
|
|
373
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
374
|
+
* "active": false,
|
|
375
|
+
* "displayName": "Mia Krystof",
|
|
376
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
377
|
+
* },
|
|
378
|
+
* "updated": "2021-01-18T23:45:00.000+0000",
|
|
379
|
+
* "visibility": {
|
|
380
|
+
* "identifier": "Administrators",
|
|
381
|
+
* "type": "role",
|
|
382
|
+
* "value": "Administrators"
|
|
383
|
+
* }
|
|
384
|
+
* }
|
|
385
|
+
* ],
|
|
386
|
+
* "issuelinks": [
|
|
387
|
+
* {
|
|
388
|
+
* "id": "10001",
|
|
389
|
+
* "outwardIssue": {
|
|
390
|
+
* "fields": {
|
|
391
|
+
* "status": {
|
|
392
|
+
* "iconUrl": "https://your-domain.atlassian.net/images/icons/statuses/open.png",
|
|
393
|
+
* "name": "Open"
|
|
394
|
+
* }
|
|
395
|
+
* },
|
|
396
|
+
* "id": "10004L",
|
|
397
|
+
* "key": "PR-2",
|
|
398
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/issue/PR-2"
|
|
399
|
+
* },
|
|
400
|
+
* "type": {
|
|
401
|
+
* "id": "10000",
|
|
402
|
+
* "inward": "depends on",
|
|
403
|
+
* "name": "Dependent",
|
|
404
|
+
* "outward": "is depended by"
|
|
405
|
+
* }
|
|
406
|
+
* },
|
|
407
|
+
* {
|
|
408
|
+
* "id": "10002",
|
|
409
|
+
* "inwardIssue": {
|
|
410
|
+
* "fields": {
|
|
411
|
+
* "status": {
|
|
412
|
+
* "iconUrl": "https://your-domain.atlassian.net/images/icons/statuses/open.png",
|
|
413
|
+
* "name": "Open"
|
|
414
|
+
* }
|
|
415
|
+
* },
|
|
416
|
+
* "id": "10004",
|
|
417
|
+
* "key": "PR-3",
|
|
418
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/issue/PR-3"
|
|
419
|
+
* },
|
|
420
|
+
* "type": {
|
|
421
|
+
* "id": "10000",
|
|
422
|
+
* "inward": "depends on",
|
|
423
|
+
* "name": "Dependent",
|
|
424
|
+
* "outward": "is depended by"
|
|
425
|
+
* }
|
|
426
|
+
* }
|
|
427
|
+
* ],
|
|
428
|
+
* "worklog": [
|
|
429
|
+
* {
|
|
430
|
+
* "author": {
|
|
431
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
432
|
+
* "active": false,
|
|
433
|
+
* "displayName": "Mia Krystof",
|
|
434
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
435
|
+
* },
|
|
436
|
+
* "comment": "I did some work here.",
|
|
437
|
+
* "id": "100028",
|
|
438
|
+
* "issueId": "10002",
|
|
439
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/issue/10010/worklog/10000",
|
|
440
|
+
* "started": "2021-01-17T12:34:00.000+0000",
|
|
441
|
+
* "timeSpent": "3h 20m",
|
|
442
|
+
* "timeSpentSeconds": 12000,
|
|
443
|
+
* "updateAuthor": {
|
|
444
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
445
|
+
* "active": false,
|
|
446
|
+
* "displayName": "Mia Krystof",
|
|
447
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
448
|
+
* },
|
|
449
|
+
* "updated": "2021-01-18T23:45:00.000+0000",
|
|
450
|
+
* "visibility": {
|
|
451
|
+
* "identifier": "276f955c-63d7-42c8-9520-92d01dca0625",
|
|
452
|
+
* "type": "group",
|
|
453
|
+
* "value": "jira-developers"
|
|
454
|
+
* }
|
|
455
|
+
* }
|
|
456
|
+
* ],
|
|
457
|
+
* "updated": 1,
|
|
458
|
+
* "timetracking": {
|
|
459
|
+
* "originalEstimate": "10m",
|
|
460
|
+
* "originalEstimateSeconds": 600,
|
|
461
|
+
* "remainingEstimate": "3m",
|
|
462
|
+
* "remainingEstimateSeconds": 200,
|
|
463
|
+
* "timeSpent": "6m",
|
|
464
|
+
* "timeSpentSeconds": 400
|
|
465
|
+
* }
|
|
466
|
+
* },
|
|
467
|
+
* "id": "10002",
|
|
468
|
+
* "key": "ED-1",
|
|
469
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/issue/10002"
|
|
470
|
+
* }
|
|
471
|
+
* ]
|
|
472
|
+
* }
|
|
473
|
+
* ```
|
|
474
|
+
* @path GET `/rest/software/1.0/epic/{epicIdOrKey}/issue`
|
|
475
|
+
* @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-epic#api-rest-software-1-0-epic-epicidorkey-issue-get
|
|
476
|
+
* @param params
|
|
477
|
+
*/
|
|
478
|
+
getIssuesForEpicJsis: ({ epicIdOrKey, nextPageToken, maxResults, reconcileIssues, jql, validateQuery, fields, expand }: {
|
|
479
|
+
/** The ID or key of the epic that contains the requested issues. */
|
|
480
|
+
epicIdOrKey: string;
|
|
481
|
+
/**
|
|
482
|
+
* The token for a page to fetch that is not the first page. The first page has a
|
|
483
|
+
* `nextPageToken` of `null`. Use the `nextPageToken` to fetch the next page of
|
|
484
|
+
* issues.
|
|
485
|
+
*
|
|
486
|
+
* Note: The `nextPageToken` field is **not included** in the response for the
|
|
487
|
+
* last page, indicating there is no next page.
|
|
488
|
+
*/
|
|
489
|
+
nextPageToken?: string | undefined;
|
|
490
|
+
/**
|
|
491
|
+
* The maximum number of items to return per page. To manage page size, the API
|
|
492
|
+
* may return fewer items per page where there is a large number of fields or
|
|
493
|
+
* properties returned. It returns max 5000 issues.
|
|
494
|
+
*/
|
|
495
|
+
maxResults?: number | undefined;
|
|
496
|
+
/**
|
|
497
|
+
* Strong consistency issue IDs to be reconciled with search results. Accepts max
|
|
498
|
+
* 50 IDs. This list of IDs should be consistent with each paginated request
|
|
499
|
+
* across different pages.
|
|
500
|
+
*/
|
|
501
|
+
reconcileIssues?: number[] | undefined;
|
|
502
|
+
/**
|
|
503
|
+
* Filters results using a JQL query. If you define an order in your JQL query, it
|
|
504
|
+
* will override the default order of the returned issues.
|
|
505
|
+
* Note that `username` and `userkey` can't be used as search terms for this
|
|
506
|
+
* parameter due to privacy reasons. Use `accountId` instead.
|
|
507
|
+
*/
|
|
508
|
+
jql?: string | undefined;
|
|
509
|
+
/** Specifies whether to validate the JQL query or not. Default: true. */
|
|
510
|
+
validateQuery?: boolean | undefined;
|
|
511
|
+
/**
|
|
512
|
+
* The list of fields to return for each issue. By default, all navigable and
|
|
513
|
+
* Software project fields are returned.
|
|
514
|
+
*/
|
|
515
|
+
fields?: {}[] | undefined;
|
|
516
|
+
/** A comma-separated list of the parameters to expand. */
|
|
517
|
+
expand?: string | undefined;
|
|
518
|
+
}) => Promise<SoftwareIssueResults>;
|
|
256
519
|
/**
|
|
257
520
|
* Returns all issues that do not belong to any epic. This only includes issues
|
|
258
521
|
* that the user has permission to view. Issues returned from this resource
|
|
@@ -265,6 +528,7 @@ export declare class EpicService extends CommonHttpService {
|
|
|
265
528
|
* is empty` clause. For more information on the `parent` JQL field, see [Advanced
|
|
266
529
|
* searching](https://confluence.atlassian.com/x/dAiiLQ#Advancedsearching-fieldsreference-Parent).
|
|
267
530
|
*
|
|
531
|
+
* @deprecated
|
|
268
532
|
* @returns Returns the requested issues, at the specified page of the results.
|
|
269
533
|
*
|
|
270
534
|
* example:
|
|
@@ -465,6 +729,265 @@ export declare class EpicService extends CommonHttpService {
|
|
|
465
729
|
/** A comma-separated list of the parameters to expand. */
|
|
466
730
|
expand?: string | undefined;
|
|
467
731
|
}) => Promise<unknown>;
|
|
732
|
+
/**
|
|
733
|
+
* Returns all issues that do not belong to any epic. Result pagination is token
|
|
734
|
+
* based, using `nextPageToken` and `maxResults`. This only includes issues that
|
|
735
|
+
* the user has permission to view. Issues returned from this resource include
|
|
736
|
+
* Software project fields, like sprint, closedSprints, flagged, and epic. By
|
|
737
|
+
* default, the returned issues are ordered by rank. **Note:** If you are querying
|
|
738
|
+
* a Team Managed project, do not use this operation. Instead, search for issues
|
|
739
|
+
* that don't belong to an epic by using the [Search for issues using JQL enhanced
|
|
740
|
+
* search](https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-search/#api-rest-api-3-search-jql-get)
|
|
741
|
+
* operation in the Jira platform REST API. Build your JQL query using the `parent
|
|
742
|
+
* is empty` clause. For more information on the `parent` JQL field, see [Advanced
|
|
743
|
+
* searching](https://confluence.atlassian.com/x/dAiiLQ#Advancedsearching-fieldsreference-Parent).
|
|
744
|
+
*
|
|
745
|
+
* @returns Returns the requested issues, at the specified page of the results.
|
|
746
|
+
*
|
|
747
|
+
* example:
|
|
748
|
+
* ```
|
|
749
|
+
* {
|
|
750
|
+
* "expand": "names,schema",
|
|
751
|
+
* "isLast": true,
|
|
752
|
+
* "issues": [
|
|
753
|
+
* {
|
|
754
|
+
* "expand": "",
|
|
755
|
+
* "fields": {
|
|
756
|
+
* "watcher": {
|
|
757
|
+
* "isWatching": false,
|
|
758
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/issue/EX-1/watchers",
|
|
759
|
+
* "watchCount": 1
|
|
760
|
+
* },
|
|
761
|
+
* "attachment": [
|
|
762
|
+
* {
|
|
763
|
+
* "author": {
|
|
764
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
765
|
+
* "accountType": "atlassian",
|
|
766
|
+
* "active": false,
|
|
767
|
+
* "avatarUrls": {
|
|
768
|
+
* "16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
769
|
+
* "24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
770
|
+
* "32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
771
|
+
* "48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
772
|
+
* },
|
|
773
|
+
* "displayName": "Mia Krystof",
|
|
774
|
+
* "key": "",
|
|
775
|
+
* "name": "",
|
|
776
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
777
|
+
* },
|
|
778
|
+
* "content": "https://your-domain.atlassian.net/jira/rest/api/3/attachment/content/10001",
|
|
779
|
+
* "created": "2023-06-24T19:24:50.000+0000",
|
|
780
|
+
* "filename": "debuglog.txt",
|
|
781
|
+
* "id": 10001,
|
|
782
|
+
* "mimeType": "text/plain",
|
|
783
|
+
* "self": "https://your-domain.atlassian.net/rest/api/2/attachments/10001",
|
|
784
|
+
* "size": 2460
|
|
785
|
+
* }
|
|
786
|
+
* ],
|
|
787
|
+
* "sub-tasks": [
|
|
788
|
+
* {
|
|
789
|
+
* "id": "10000",
|
|
790
|
+
* "outwardIssue": {
|
|
791
|
+
* "fields": {
|
|
792
|
+
* "status": {
|
|
793
|
+
* "iconUrl": "https://your-domain.atlassian.net/images/icons/statuses/open.png",
|
|
794
|
+
* "name": "Open"
|
|
795
|
+
* }
|
|
796
|
+
* },
|
|
797
|
+
* "id": "10003",
|
|
798
|
+
* "key": "ED-2",
|
|
799
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/issue/ED-2"
|
|
800
|
+
* },
|
|
801
|
+
* "type": {
|
|
802
|
+
* "id": "10000",
|
|
803
|
+
* "inward": "Parent",
|
|
804
|
+
* "name": "",
|
|
805
|
+
* "outward": "Sub-task"
|
|
806
|
+
* }
|
|
807
|
+
* }
|
|
808
|
+
* ],
|
|
809
|
+
* "description": "Main order flow broken",
|
|
810
|
+
* "project": {
|
|
811
|
+
* "avatarUrls": {
|
|
812
|
+
* "16x16": "https://your-domain.atlassian.net/secure/projectavatar?size=xsmall&pid=10000",
|
|
813
|
+
* "24x24": "https://your-domain.atlassian.net/secure/projectavatar?size=small&pid=10000",
|
|
814
|
+
* "32x32": "https://your-domain.atlassian.net/secure/projectavatar?size=medium&pid=10000",
|
|
815
|
+
* "48x48": "https://your-domain.atlassian.net/secure/projectavatar?size=large&pid=10000"
|
|
816
|
+
* },
|
|
817
|
+
* "id": "10000",
|
|
818
|
+
* "insight": {
|
|
819
|
+
* "lastIssueUpdateTime": "2021-04-22T05:37:05.000+0000",
|
|
820
|
+
* "totalIssueCount": 100
|
|
821
|
+
* },
|
|
822
|
+
* "key": "EX",
|
|
823
|
+
* "name": "Example",
|
|
824
|
+
* "projectCategory": {
|
|
825
|
+
* "description": "First Project Category",
|
|
826
|
+
* "id": "10000",
|
|
827
|
+
* "name": "FIRST",
|
|
828
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/projectCategory/10000"
|
|
829
|
+
* },
|
|
830
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/project/EX",
|
|
831
|
+
* "simplified": false,
|
|
832
|
+
* "style": "classic"
|
|
833
|
+
* },
|
|
834
|
+
* "comment": [
|
|
835
|
+
* {
|
|
836
|
+
* "author": {
|
|
837
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
838
|
+
* "active": false,
|
|
839
|
+
* "displayName": "Mia Krystof",
|
|
840
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
841
|
+
* },
|
|
842
|
+
* "body": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque eget venenatis elit. Duis eu justo eget augue iaculis fermentum. Sed semper quam laoreet nisi egestas at posuere augue semper.",
|
|
843
|
+
* "created": "2021-01-17T12:34:00.000+0000",
|
|
844
|
+
* "id": "10000",
|
|
845
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/issue/10010/comment/10000",
|
|
846
|
+
* "updateAuthor": {
|
|
847
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
848
|
+
* "active": false,
|
|
849
|
+
* "displayName": "Mia Krystof",
|
|
850
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
851
|
+
* },
|
|
852
|
+
* "updated": "2021-01-18T23:45:00.000+0000",
|
|
853
|
+
* "visibility": {
|
|
854
|
+
* "identifier": "Administrators",
|
|
855
|
+
* "type": "role",
|
|
856
|
+
* "value": "Administrators"
|
|
857
|
+
* }
|
|
858
|
+
* }
|
|
859
|
+
* ],
|
|
860
|
+
* "issuelinks": [
|
|
861
|
+
* {
|
|
862
|
+
* "id": "10001",
|
|
863
|
+
* "outwardIssue": {
|
|
864
|
+
* "fields": {
|
|
865
|
+
* "status": {
|
|
866
|
+
* "iconUrl": "https://your-domain.atlassian.net/images/icons/statuses/open.png",
|
|
867
|
+
* "name": "Open"
|
|
868
|
+
* }
|
|
869
|
+
* },
|
|
870
|
+
* "id": "10004L",
|
|
871
|
+
* "key": "PR-2",
|
|
872
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/issue/PR-2"
|
|
873
|
+
* },
|
|
874
|
+
* "type": {
|
|
875
|
+
* "id": "10000",
|
|
876
|
+
* "inward": "depends on",
|
|
877
|
+
* "name": "Dependent",
|
|
878
|
+
* "outward": "is depended by"
|
|
879
|
+
* }
|
|
880
|
+
* },
|
|
881
|
+
* {
|
|
882
|
+
* "id": "10002",
|
|
883
|
+
* "inwardIssue": {
|
|
884
|
+
* "fields": {
|
|
885
|
+
* "status": {
|
|
886
|
+
* "iconUrl": "https://your-domain.atlassian.net/images/icons/statuses/open.png",
|
|
887
|
+
* "name": "Open"
|
|
888
|
+
* }
|
|
889
|
+
* },
|
|
890
|
+
* "id": "10004",
|
|
891
|
+
* "key": "PR-3",
|
|
892
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/issue/PR-3"
|
|
893
|
+
* },
|
|
894
|
+
* "type": {
|
|
895
|
+
* "id": "10000",
|
|
896
|
+
* "inward": "depends on",
|
|
897
|
+
* "name": "Dependent",
|
|
898
|
+
* "outward": "is depended by"
|
|
899
|
+
* }
|
|
900
|
+
* }
|
|
901
|
+
* ],
|
|
902
|
+
* "worklog": [
|
|
903
|
+
* {
|
|
904
|
+
* "author": {
|
|
905
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
906
|
+
* "active": false,
|
|
907
|
+
* "displayName": "Mia Krystof",
|
|
908
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
909
|
+
* },
|
|
910
|
+
* "comment": "I did some work here.",
|
|
911
|
+
* "id": "100028",
|
|
912
|
+
* "issueId": "10002",
|
|
913
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/issue/10010/worklog/10000",
|
|
914
|
+
* "started": "2021-01-17T12:34:00.000+0000",
|
|
915
|
+
* "timeSpent": "3h 20m",
|
|
916
|
+
* "timeSpentSeconds": 12000,
|
|
917
|
+
* "updateAuthor": {
|
|
918
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
919
|
+
* "active": false,
|
|
920
|
+
* "displayName": "Mia Krystof",
|
|
921
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
922
|
+
* },
|
|
923
|
+
* "updated": "2021-01-18T23:45:00.000+0000",
|
|
924
|
+
* "visibility": {
|
|
925
|
+
* "identifier": "276f955c-63d7-42c8-9520-92d01dca0625",
|
|
926
|
+
* "type": "group",
|
|
927
|
+
* "value": "jira-developers"
|
|
928
|
+
* }
|
|
929
|
+
* }
|
|
930
|
+
* ],
|
|
931
|
+
* "updated": 1,
|
|
932
|
+
* "timetracking": {
|
|
933
|
+
* "originalEstimate": "10m",
|
|
934
|
+
* "originalEstimateSeconds": 600,
|
|
935
|
+
* "remainingEstimate": "3m",
|
|
936
|
+
* "remainingEstimateSeconds": 200,
|
|
937
|
+
* "timeSpent": "6m",
|
|
938
|
+
* "timeSpentSeconds": 400
|
|
939
|
+
* }
|
|
940
|
+
* },
|
|
941
|
+
* "id": "10002",
|
|
942
|
+
* "key": "ED-1",
|
|
943
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/issue/10002"
|
|
944
|
+
* }
|
|
945
|
+
* ]
|
|
946
|
+
* }
|
|
947
|
+
* ```
|
|
948
|
+
* @path GET `/rest/software/1.0/epic/none/issue`
|
|
949
|
+
* @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-epic#api-rest-software-1-0-epic-none-issue-get
|
|
950
|
+
* @param params
|
|
951
|
+
*/
|
|
952
|
+
getIssuesWithoutEpicJsis: ({ nextPageToken, maxResults, reconcileIssues, jql, validateQuery, fields, expand }?: {
|
|
953
|
+
/**
|
|
954
|
+
* The token for a page to fetch that is not the first page. The first page has a
|
|
955
|
+
* `nextPageToken` of `null`. Use the `nextPageToken` to fetch the next page of
|
|
956
|
+
* issues.
|
|
957
|
+
*
|
|
958
|
+
* Note: The `nextPageToken` field is **not included** in the response for the
|
|
959
|
+
* last page, indicating there is no next page.
|
|
960
|
+
*/
|
|
961
|
+
nextPageToken?: string | undefined;
|
|
962
|
+
/**
|
|
963
|
+
* The maximum number of items to return per page. To manage page size, the API
|
|
964
|
+
* may return fewer items per page where there is a large number of fields or
|
|
965
|
+
* properties returned. It returns max 5000 issues.
|
|
966
|
+
*/
|
|
967
|
+
maxResults?: number | undefined;
|
|
968
|
+
/**
|
|
969
|
+
* Strong consistency issue IDs to be reconciled with search results. Accepts max
|
|
970
|
+
* 50 IDs. This list of IDs should be consistent with each paginated request
|
|
971
|
+
* across different pages.
|
|
972
|
+
*/
|
|
973
|
+
reconcileIssues?: number[] | undefined;
|
|
974
|
+
/**
|
|
975
|
+
* Filters results using a JQL query. If you define an order in your JQL query, it
|
|
976
|
+
* will override the default order of the returned issues.
|
|
977
|
+
* Note that `username` and `userkey` can't be used as search terms for this
|
|
978
|
+
* parameter due to privacy reasons. Use `accountId` instead.
|
|
979
|
+
*/
|
|
980
|
+
jql?: string | undefined;
|
|
981
|
+
/** Specifies whether to validate the JQL query or not. Default: true. */
|
|
982
|
+
validateQuery?: boolean | undefined;
|
|
983
|
+
/**
|
|
984
|
+
* The list of fields to return for each issue. By default, all navigable and
|
|
985
|
+
* Software project fields are returned.
|
|
986
|
+
*/
|
|
987
|
+
fields?: {}[] | undefined;
|
|
988
|
+
/** A comma-separated list of the parameters to expand. */
|
|
989
|
+
expand?: string | undefined;
|
|
990
|
+
}) => Promise<SoftwareIssueResults>;
|
|
468
991
|
/**
|
|
469
992
|
* Moves issues to an epic, for a given epic id. Issues can be only in a single
|
|
470
993
|
* epic at the same time. That means that already assigned issues to an epic, will
|