@resolution/jira-api-client 0.6.0 → 0.6.2
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/lib/index.d.ts +1 -2
- package/lib/index.js.map +1 -1
- package/lib/openapi/platform/BaseJiraPlatformApiClient.d.ts +15 -15
- package/lib/openapi/platform/BaseJiraPlatformApiClient.js +8 -8
- package/lib/openapi/platform/BaseJiraPlatformApiClient.js.map +1 -1
- package/lib/openapi/platform/models/common.d.ts +0 -23
- package/lib/openapi/platform/models/common.js +0 -10
- package/lib/openapi/platform/models/common.js.map +1 -1
- package/lib/openapi/platform/models/issueLinks.d.ts +23 -0
- package/lib/openapi/platform/models/issueLinks.js +10 -0
- package/lib/openapi/platform/models/issueLinks.js.map +1 -1
- package/lib/openapi/platform/models/issueSearch.d.ts +104 -0
- package/lib/openapi/platform/models/issueSearch.js +37 -0
- package/lib/openapi/platform/models/issueSearch.js.map +1 -1
- package/lib/openapi/platform/models/issues.d.ts +117 -2
- package/lib/openapi/platform/models/issues.js +51 -1
- package/lib/openapi/platform/models/issues.js.map +1 -1
- package/lib/openapi/platform/models/jiraExpressions.d.ts +174 -0
- package/lib/openapi/platform/models/jiraExpressions.js +76 -0
- package/lib/openapi/platform/models/jiraExpressions.js.map +1 -1
- 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/workflows.d.ts +47 -0
- package/lib/openapi/platform/models/workflows.js +19 -0
- package/lib/openapi/platform/models/workflows.js.map +1 -1
- package/lib/openapi/platform/services/IssueBulkOperationsService.d.ts +7 -7
- package/lib/openapi/platform/services/IssueBulkOperationsService.js +7 -7
- package/lib/openapi/platform/services/IssueLinksService.d.ts +1 -2
- package/lib/openapi/platform/services/IssueLinksService.js +2 -2
- package/lib/openapi/platform/services/IssueLinksService.js.map +1 -1
- package/lib/openapi/platform/services/IssueSearchService.d.ts +498 -1
- package/lib/openapi/platform/services/IssueSearchService.js +558 -0
- package/lib/openapi/platform/services/IssueSearchService.js.map +1 -1
- package/lib/openapi/platform/services/IssueWorklogsService.d.ts +12 -0
- package/lib/openapi/platform/services/IssueWorklogsService.js +1 -0
- package/lib/openapi/platform/services/IssueWorklogsService.js.map +1 -1
- package/lib/openapi/platform/services/IssuesService.d.ts +225 -1
- package/lib/openapi/platform/services/IssuesService.js +225 -0
- package/lib/openapi/platform/services/IssuesService.js.map +1 -1
- package/lib/openapi/platform/services/JiraExpressionsService.d.ts +189 -1
- package/lib/openapi/platform/services/JiraExpressionsService.js +153 -0
- package/lib/openapi/platform/services/JiraExpressionsService.js.map +1 -1
- package/lib/openapi/platform/services/LicenseMetricsService.d.ts +4 -4
- package/lib/openapi/platform/services/LicenseMetricsService.js +4 -4
- package/lib/openapi/platform/services/WorkflowsService.d.ts +6 -1
- package/lib/openapi/platform/services/WorkflowsService.js +2 -1
- 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 +1 -1
- package/lib/openapi/serviceManagement/models/request.d.ts +4 -4
- package/lib/openapi/software/models/board.d.ts +39 -24
- package/lib/openapi/software/models/board.js +25 -11
- package/lib/openapi/software/models/board.js.map +1 -1
- package/package.json +3 -3
|
@@ -19,6 +19,56 @@ const validationSchemaStorage_1 = require("../validationSchemaStorage");
|
|
|
19
19
|
class IssueSearchService extends CommonHttpService_1.CommonHttpService {
|
|
20
20
|
constructor() {
|
|
21
21
|
super(...arguments);
|
|
22
|
+
/**
|
|
23
|
+
* Provide an estimated count of the issues that match the
|
|
24
|
+
* [JQL](https://confluence.atlassian.com/x/egORLQ). Recent updates might not be
|
|
25
|
+
* immediately visible in the returned output. This endpoint requires JQL to be
|
|
26
|
+
* bounded.
|
|
27
|
+
*
|
|
28
|
+
* This operation can be accessed anonymously.
|
|
29
|
+
*
|
|
30
|
+
* **[Permissions](#permissions) required:** Issues are included in the response
|
|
31
|
+
* where the user has:
|
|
32
|
+
*
|
|
33
|
+
* * *Browse projects* [project
|
|
34
|
+
* permission](https://confluence.atlassian.com/x/yodKLg) for the project
|
|
35
|
+
* containing the issue.
|
|
36
|
+
* * If [issue-level security](https://confluence.atlassian.com/x/J4lKLg) is
|
|
37
|
+
* configured, issue-level security permission to view the issue.
|
|
38
|
+
*
|
|
39
|
+
* @returns Returned if the request is successful.
|
|
40
|
+
*
|
|
41
|
+
* example:
|
|
42
|
+
* ```
|
|
43
|
+
* {
|
|
44
|
+
* "count": 153
|
|
45
|
+
* }
|
|
46
|
+
* ```
|
|
47
|
+
* @path POST `/rest/api/3/search/approximate-count`
|
|
48
|
+
* @scopes-current read:jira-work
|
|
49
|
+
* @scopes-beta read:issue-details:jira, read:field.default-value:jira, read:field.option:jira, read:field:jira, read:group:jira
|
|
50
|
+
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-search#api-rest-api-3-search-approximate-count-post
|
|
51
|
+
* @param params
|
|
52
|
+
*/
|
|
53
|
+
this.countIssues = ({ jqlCountRequestBean, }) => {
|
|
54
|
+
return this.getClientInstance()
|
|
55
|
+
.request({
|
|
56
|
+
path: "/rest/api/3/search/approximate-count",
|
|
57
|
+
method: "POST",
|
|
58
|
+
headers: {
|
|
59
|
+
"Content-Type": "application/json",
|
|
60
|
+
},
|
|
61
|
+
body: jqlCountRequestBean,
|
|
62
|
+
})
|
|
63
|
+
.then(this.getClientInstance().responseHandler({
|
|
64
|
+
200: {
|
|
65
|
+
"application/json": "json",
|
|
66
|
+
},
|
|
67
|
+
}))
|
|
68
|
+
.then(commonHttpClient.castResponse())
|
|
69
|
+
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("IssueSearchService.countIssues.response")))
|
|
70
|
+
.then(commonHttpClient.getBody);
|
|
71
|
+
};
|
|
22
72
|
/**
|
|
23
73
|
* Returns lists of issues matching a query string. Use this resource to provide
|
|
24
74
|
* auto-completion suggestions when the user is looking for an issue using a word
|
|
@@ -136,6 +186,493 @@ class IssueSearchService extends CommonHttpService_1.CommonHttpService {
|
|
|
136
186
|
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("IssueSearchService.matchIssues.response")))
|
|
137
187
|
.then(commonHttpClient.getBody);
|
|
138
188
|
};
|
|
189
|
+
/**
|
|
190
|
+
* Searches for issues using [JQL](https://confluence.atlassian.com/x/egORLQ).
|
|
191
|
+
* Recent updates might not be immediately visible in the returned search results.
|
|
192
|
+
* If you need read-after-write consistency, you can utilize the `reconcileIssues`
|
|
193
|
+
* parameter to ensure stronger consistency assurances. This operation can be
|
|
194
|
+
* accessed anonymously.
|
|
195
|
+
*
|
|
196
|
+
* If the JQL query expression is too large to be encoded as a query parameter,
|
|
197
|
+
* use the [POST](#api-rest-api-3-search-post) version of this resource.
|
|
198
|
+
*
|
|
199
|
+
* **[Permissions](#permissions) required:** Issues are included in the response
|
|
200
|
+
* where the user has:
|
|
201
|
+
*
|
|
202
|
+
* * *Browse projects* [project
|
|
203
|
+
* permission](https://confluence.atlassian.com/x/yodKLg) for the project
|
|
204
|
+
* containing the issue.
|
|
205
|
+
* * If [issue-level security](https://confluence.atlassian.com/x/J4lKLg) is
|
|
206
|
+
* configured, issue-level security permission to view the issue.
|
|
207
|
+
*
|
|
208
|
+
* @returns Returned if the request is successful.
|
|
209
|
+
*
|
|
210
|
+
* example:
|
|
211
|
+
* ```
|
|
212
|
+
* {
|
|
213
|
+
* "issues": [
|
|
214
|
+
* {
|
|
215
|
+
* "expand": "",
|
|
216
|
+
* "fields": {
|
|
217
|
+
* "watcher": {
|
|
218
|
+
* "isWatching": false,
|
|
219
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/issue/EX-1/watchers",
|
|
220
|
+
* "watchCount": 1
|
|
221
|
+
* },
|
|
222
|
+
* "attachment": [
|
|
223
|
+
* {
|
|
224
|
+
* "author": {
|
|
225
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
226
|
+
* "accountType": "atlassian",
|
|
227
|
+
* "active": false,
|
|
228
|
+
* "avatarUrls": {
|
|
229
|
+
* "16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
230
|
+
* "24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
231
|
+
* "32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
232
|
+
* "48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
233
|
+
* },
|
|
234
|
+
* "displayName": "Mia Krystof",
|
|
235
|
+
* "key": "",
|
|
236
|
+
* "name": "",
|
|
237
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
238
|
+
* },
|
|
239
|
+
* "content": "https://your-domain.atlassian.net/jira/rest/api/3/attachment/content/10001",
|
|
240
|
+
* "created": "2023-06-24T19:24:50.000+0000",
|
|
241
|
+
* "filename": "debuglog.txt",
|
|
242
|
+
* "id": 10001,
|
|
243
|
+
* "mimeType": "text/plain",
|
|
244
|
+
* "self": "https://your-domain.atlassian.net/rest/api/2/attachments/10001",
|
|
245
|
+
* "size": 2460
|
|
246
|
+
* }
|
|
247
|
+
* ],
|
|
248
|
+
* "sub-tasks": [
|
|
249
|
+
* {
|
|
250
|
+
* "id": "10000",
|
|
251
|
+
* "outwardIssue": {
|
|
252
|
+
* "fields": {
|
|
253
|
+
* "status": {
|
|
254
|
+
* "iconUrl": "https://your-domain.atlassian.net/images/icons/statuses/open.png",
|
|
255
|
+
* "name": "Open"
|
|
256
|
+
* }
|
|
257
|
+
* },
|
|
258
|
+
* "id": "10003",
|
|
259
|
+
* "key": "ED-2",
|
|
260
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/issue/ED-2"
|
|
261
|
+
* },
|
|
262
|
+
* "type": {
|
|
263
|
+
* "id": "10000",
|
|
264
|
+
* "inward": "Parent",
|
|
265
|
+
* "name": "",
|
|
266
|
+
* "outward": "Sub-task"
|
|
267
|
+
* }
|
|
268
|
+
* }
|
|
269
|
+
* ],
|
|
270
|
+
* "description": "Main order flow broken",
|
|
271
|
+
* "project": {
|
|
272
|
+
* "avatarUrls": {
|
|
273
|
+
* "16x16": "https://your-domain.atlassian.net/secure/projectavatar?size=xsmall&pid=10000",
|
|
274
|
+
* "24x24": "https://your-domain.atlassian.net/secure/projectavatar?size=small&pid=10000",
|
|
275
|
+
* "32x32": "https://your-domain.atlassian.net/secure/projectavatar?size=medium&pid=10000",
|
|
276
|
+
* "48x48": "https://your-domain.atlassian.net/secure/projectavatar?size=large&pid=10000"
|
|
277
|
+
* },
|
|
278
|
+
* "id": "10000",
|
|
279
|
+
* "insight": {
|
|
280
|
+
* "lastIssueUpdateTime": "2021-04-22T05:37:05.000+0000",
|
|
281
|
+
* "totalIssueCount": 100
|
|
282
|
+
* },
|
|
283
|
+
* "key": "EX",
|
|
284
|
+
* "name": "Example",
|
|
285
|
+
* "projectCategory": {
|
|
286
|
+
* "description": "First Project Category",
|
|
287
|
+
* "id": "10000",
|
|
288
|
+
* "name": "FIRST",
|
|
289
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/projectCategory/10000"
|
|
290
|
+
* },
|
|
291
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/project/EX",
|
|
292
|
+
* "simplified": false,
|
|
293
|
+
* "style": "classic"
|
|
294
|
+
* },
|
|
295
|
+
* "comment": [
|
|
296
|
+
* {
|
|
297
|
+
* "author": {
|
|
298
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
299
|
+
* "active": false,
|
|
300
|
+
* "displayName": "Mia Krystof",
|
|
301
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
302
|
+
* },
|
|
303
|
+
* "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.",
|
|
304
|
+
* "created": "2021-01-17T12:34:00.000+0000",
|
|
305
|
+
* "id": "10000",
|
|
306
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/issue/10010/comment/10000",
|
|
307
|
+
* "updateAuthor": {
|
|
308
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
309
|
+
* "active": false,
|
|
310
|
+
* "displayName": "Mia Krystof",
|
|
311
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
312
|
+
* },
|
|
313
|
+
* "updated": "2021-01-18T23:45:00.000+0000",
|
|
314
|
+
* "visibility": {
|
|
315
|
+
* "identifier": "Administrators",
|
|
316
|
+
* "type": "role",
|
|
317
|
+
* "value": "Administrators"
|
|
318
|
+
* }
|
|
319
|
+
* }
|
|
320
|
+
* ],
|
|
321
|
+
* "issuelinks": [
|
|
322
|
+
* {
|
|
323
|
+
* "id": "10001",
|
|
324
|
+
* "outwardIssue": {
|
|
325
|
+
* "fields": {
|
|
326
|
+
* "status": {
|
|
327
|
+
* "iconUrl": "https://your-domain.atlassian.net/images/icons/statuses/open.png",
|
|
328
|
+
* "name": "Open"
|
|
329
|
+
* }
|
|
330
|
+
* },
|
|
331
|
+
* "id": "10004L",
|
|
332
|
+
* "key": "PR-2",
|
|
333
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/issue/PR-2"
|
|
334
|
+
* },
|
|
335
|
+
* "type": {
|
|
336
|
+
* "id": "10000",
|
|
337
|
+
* "inward": "depends on",
|
|
338
|
+
* "name": "Dependent",
|
|
339
|
+
* "outward": "is depended by"
|
|
340
|
+
* }
|
|
341
|
+
* },
|
|
342
|
+
* {
|
|
343
|
+
* "id": "10002",
|
|
344
|
+
* "inwardIssue": {
|
|
345
|
+
* "fields": {
|
|
346
|
+
* "status": {
|
|
347
|
+
* "iconUrl": "https://your-domain.atlassian.net/images/icons/statuses/open.png",
|
|
348
|
+
* "name": "Open"
|
|
349
|
+
* }
|
|
350
|
+
* },
|
|
351
|
+
* "id": "10004",
|
|
352
|
+
* "key": "PR-3",
|
|
353
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/issue/PR-3"
|
|
354
|
+
* },
|
|
355
|
+
* "type": {
|
|
356
|
+
* "id": "10000",
|
|
357
|
+
* "inward": "depends on",
|
|
358
|
+
* "name": "Dependent",
|
|
359
|
+
* "outward": "is depended by"
|
|
360
|
+
* }
|
|
361
|
+
* }
|
|
362
|
+
* ],
|
|
363
|
+
* "worklog": [
|
|
364
|
+
* {
|
|
365
|
+
* "author": {
|
|
366
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
367
|
+
* "active": false,
|
|
368
|
+
* "displayName": "Mia Krystof",
|
|
369
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
370
|
+
* },
|
|
371
|
+
* "comment": "I did some work here.",
|
|
372
|
+
* "id": "100028",
|
|
373
|
+
* "issueId": "10002",
|
|
374
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/issue/10010/worklog/10000",
|
|
375
|
+
* "started": "2021-01-17T12:34:00.000+0000",
|
|
376
|
+
* "timeSpent": "3h 20m",
|
|
377
|
+
* "timeSpentSeconds": 12000,
|
|
378
|
+
* "updateAuthor": {
|
|
379
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
380
|
+
* "active": false,
|
|
381
|
+
* "displayName": "Mia Krystof",
|
|
382
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
383
|
+
* },
|
|
384
|
+
* "updated": "2021-01-18T23:45:00.000+0000",
|
|
385
|
+
* "visibility": {
|
|
386
|
+
* "identifier": "276f955c-63d7-42c8-9520-92d01dca0625",
|
|
387
|
+
* "type": "group",
|
|
388
|
+
* "value": "jira-developers"
|
|
389
|
+
* }
|
|
390
|
+
* }
|
|
391
|
+
* ],
|
|
392
|
+
* "updated": 1,
|
|
393
|
+
* "timetracking": {
|
|
394
|
+
* "originalEstimate": "10m",
|
|
395
|
+
* "originalEstimateSeconds": 600,
|
|
396
|
+
* "remainingEstimate": "3m",
|
|
397
|
+
* "remainingEstimateSeconds": 200,
|
|
398
|
+
* "timeSpent": "6m",
|
|
399
|
+
* "timeSpentSeconds": 400
|
|
400
|
+
* }
|
|
401
|
+
* },
|
|
402
|
+
* "id": "10002",
|
|
403
|
+
* "key": "ED-1",
|
|
404
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/issue/10002"
|
|
405
|
+
* }
|
|
406
|
+
* ]
|
|
407
|
+
* }
|
|
408
|
+
* ```
|
|
409
|
+
* @path GET `/rest/api/3/search/jql`
|
|
410
|
+
* @scopes-current read:jira-work
|
|
411
|
+
* @scopes-beta read:issue-details:jira, read:audit-log:jira, read:avatar:jira, read:field-configuration:jira, read:issue-meta:jira
|
|
412
|
+
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-search#api-rest-api-3-search-jql-get
|
|
413
|
+
* @param params
|
|
414
|
+
*/
|
|
415
|
+
this.searchAndReconsileIssuesUsingJql = ({ searchAndReconcileRequestBean, }) => {
|
|
416
|
+
return this.getClientInstance()
|
|
417
|
+
.request({
|
|
418
|
+
path: "/rest/api/3/search/jql",
|
|
419
|
+
method: "GET",
|
|
420
|
+
headers: {
|
|
421
|
+
"Content-Type": "application/json",
|
|
422
|
+
},
|
|
423
|
+
body: searchAndReconcileRequestBean,
|
|
424
|
+
})
|
|
425
|
+
.then(this.getClientInstance().responseHandler({
|
|
426
|
+
200: {
|
|
427
|
+
"application/json": "json",
|
|
428
|
+
},
|
|
429
|
+
}))
|
|
430
|
+
.then(commonHttpClient.castResponse())
|
|
431
|
+
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("IssueSearchService.searchAndReconsileIssuesUsingJql.response")))
|
|
432
|
+
.then(commonHttpClient.getBody);
|
|
433
|
+
};
|
|
434
|
+
/**
|
|
435
|
+
* Searches for issues using [JQL](https://confluence.atlassian.com/x/egORLQ).
|
|
436
|
+
* Recent updates might not be immediately visible in the returned search results.
|
|
437
|
+
* If you need read-after-write consistency, you can utilize the `reconcileIssues`
|
|
438
|
+
* parameter to ensure stronger consistency assurances. This operation can be
|
|
439
|
+
* accessed anonymously.
|
|
440
|
+
*
|
|
441
|
+
* **[Permissions](#permissions) required:** Issues are included in the response
|
|
442
|
+
* where the user has:
|
|
443
|
+
*
|
|
444
|
+
* * *Browse projects* [project
|
|
445
|
+
* permission](https://confluence.atlassian.com/x/yodKLg) for the project
|
|
446
|
+
* containing the issue.
|
|
447
|
+
* * If [issue-level security](https://confluence.atlassian.com/x/J4lKLg) is
|
|
448
|
+
* configured, issue-level security permission to view the issue.
|
|
449
|
+
*
|
|
450
|
+
* @returns Returned if the request is successful.
|
|
451
|
+
*
|
|
452
|
+
* example:
|
|
453
|
+
* ```
|
|
454
|
+
* {
|
|
455
|
+
* "issues": [
|
|
456
|
+
* {
|
|
457
|
+
* "expand": "",
|
|
458
|
+
* "fields": {
|
|
459
|
+
* "watcher": {
|
|
460
|
+
* "isWatching": false,
|
|
461
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/issue/EX-1/watchers",
|
|
462
|
+
* "watchCount": 1
|
|
463
|
+
* },
|
|
464
|
+
* "attachment": [
|
|
465
|
+
* {
|
|
466
|
+
* "author": {
|
|
467
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
468
|
+
* "accountType": "atlassian",
|
|
469
|
+
* "active": false,
|
|
470
|
+
* "avatarUrls": {
|
|
471
|
+
* "16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
472
|
+
* "24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
473
|
+
* "32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
474
|
+
* "48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
475
|
+
* },
|
|
476
|
+
* "displayName": "Mia Krystof",
|
|
477
|
+
* "key": "",
|
|
478
|
+
* "name": "",
|
|
479
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
480
|
+
* },
|
|
481
|
+
* "content": "https://your-domain.atlassian.net/jira/rest/api/3/attachment/content/10001",
|
|
482
|
+
* "created": "2023-06-24T19:24:50.000+0000",
|
|
483
|
+
* "filename": "debuglog.txt",
|
|
484
|
+
* "id": 10001,
|
|
485
|
+
* "mimeType": "text/plain",
|
|
486
|
+
* "self": "https://your-domain.atlassian.net/rest/api/2/attachments/10001",
|
|
487
|
+
* "size": 2460
|
|
488
|
+
* }
|
|
489
|
+
* ],
|
|
490
|
+
* "sub-tasks": [
|
|
491
|
+
* {
|
|
492
|
+
* "id": "10000",
|
|
493
|
+
* "outwardIssue": {
|
|
494
|
+
* "fields": {
|
|
495
|
+
* "status": {
|
|
496
|
+
* "iconUrl": "https://your-domain.atlassian.net/images/icons/statuses/open.png",
|
|
497
|
+
* "name": "Open"
|
|
498
|
+
* }
|
|
499
|
+
* },
|
|
500
|
+
* "id": "10003",
|
|
501
|
+
* "key": "ED-2",
|
|
502
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/issue/ED-2"
|
|
503
|
+
* },
|
|
504
|
+
* "type": {
|
|
505
|
+
* "id": "10000",
|
|
506
|
+
* "inward": "Parent",
|
|
507
|
+
* "name": "",
|
|
508
|
+
* "outward": "Sub-task"
|
|
509
|
+
* }
|
|
510
|
+
* }
|
|
511
|
+
* ],
|
|
512
|
+
* "description": "Main order flow broken",
|
|
513
|
+
* "project": {
|
|
514
|
+
* "avatarUrls": {
|
|
515
|
+
* "16x16": "https://your-domain.atlassian.net/secure/projectavatar?size=xsmall&pid=10000",
|
|
516
|
+
* "24x24": "https://your-domain.atlassian.net/secure/projectavatar?size=small&pid=10000",
|
|
517
|
+
* "32x32": "https://your-domain.atlassian.net/secure/projectavatar?size=medium&pid=10000",
|
|
518
|
+
* "48x48": "https://your-domain.atlassian.net/secure/projectavatar?size=large&pid=10000"
|
|
519
|
+
* },
|
|
520
|
+
* "id": "10000",
|
|
521
|
+
* "insight": {
|
|
522
|
+
* "lastIssueUpdateTime": "2021-04-22T05:37:05.000+0000",
|
|
523
|
+
* "totalIssueCount": 100
|
|
524
|
+
* },
|
|
525
|
+
* "key": "EX",
|
|
526
|
+
* "name": "Example",
|
|
527
|
+
* "projectCategory": {
|
|
528
|
+
* "description": "First Project Category",
|
|
529
|
+
* "id": "10000",
|
|
530
|
+
* "name": "FIRST",
|
|
531
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/projectCategory/10000"
|
|
532
|
+
* },
|
|
533
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/project/EX",
|
|
534
|
+
* "simplified": false,
|
|
535
|
+
* "style": "classic"
|
|
536
|
+
* },
|
|
537
|
+
* "comment": [
|
|
538
|
+
* {
|
|
539
|
+
* "author": {
|
|
540
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
541
|
+
* "active": false,
|
|
542
|
+
* "displayName": "Mia Krystof",
|
|
543
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
544
|
+
* },
|
|
545
|
+
* "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.",
|
|
546
|
+
* "created": "2021-01-17T12:34:00.000+0000",
|
|
547
|
+
* "id": "10000",
|
|
548
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/issue/10010/comment/10000",
|
|
549
|
+
* "updateAuthor": {
|
|
550
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
551
|
+
* "active": false,
|
|
552
|
+
* "displayName": "Mia Krystof",
|
|
553
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
554
|
+
* },
|
|
555
|
+
* "updated": "2021-01-18T23:45:00.000+0000",
|
|
556
|
+
* "visibility": {
|
|
557
|
+
* "identifier": "Administrators",
|
|
558
|
+
* "type": "role",
|
|
559
|
+
* "value": "Administrators"
|
|
560
|
+
* }
|
|
561
|
+
* }
|
|
562
|
+
* ],
|
|
563
|
+
* "issuelinks": [
|
|
564
|
+
* {
|
|
565
|
+
* "id": "10001",
|
|
566
|
+
* "outwardIssue": {
|
|
567
|
+
* "fields": {
|
|
568
|
+
* "status": {
|
|
569
|
+
* "iconUrl": "https://your-domain.atlassian.net/images/icons/statuses/open.png",
|
|
570
|
+
* "name": "Open"
|
|
571
|
+
* }
|
|
572
|
+
* },
|
|
573
|
+
* "id": "10004L",
|
|
574
|
+
* "key": "PR-2",
|
|
575
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/issue/PR-2"
|
|
576
|
+
* },
|
|
577
|
+
* "type": {
|
|
578
|
+
* "id": "10000",
|
|
579
|
+
* "inward": "depends on",
|
|
580
|
+
* "name": "Dependent",
|
|
581
|
+
* "outward": "is depended by"
|
|
582
|
+
* }
|
|
583
|
+
* },
|
|
584
|
+
* {
|
|
585
|
+
* "id": "10002",
|
|
586
|
+
* "inwardIssue": {
|
|
587
|
+
* "fields": {
|
|
588
|
+
* "status": {
|
|
589
|
+
* "iconUrl": "https://your-domain.atlassian.net/images/icons/statuses/open.png",
|
|
590
|
+
* "name": "Open"
|
|
591
|
+
* }
|
|
592
|
+
* },
|
|
593
|
+
* "id": "10004",
|
|
594
|
+
* "key": "PR-3",
|
|
595
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/issue/PR-3"
|
|
596
|
+
* },
|
|
597
|
+
* "type": {
|
|
598
|
+
* "id": "10000",
|
|
599
|
+
* "inward": "depends on",
|
|
600
|
+
* "name": "Dependent",
|
|
601
|
+
* "outward": "is depended by"
|
|
602
|
+
* }
|
|
603
|
+
* }
|
|
604
|
+
* ],
|
|
605
|
+
* "worklog": [
|
|
606
|
+
* {
|
|
607
|
+
* "author": {
|
|
608
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
609
|
+
* "active": false,
|
|
610
|
+
* "displayName": "Mia Krystof",
|
|
611
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
612
|
+
* },
|
|
613
|
+
* "comment": "I did some work here.",
|
|
614
|
+
* "id": "100028",
|
|
615
|
+
* "issueId": "10002",
|
|
616
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/issue/10010/worklog/10000",
|
|
617
|
+
* "started": "2021-01-17T12:34:00.000+0000",
|
|
618
|
+
* "timeSpent": "3h 20m",
|
|
619
|
+
* "timeSpentSeconds": 12000,
|
|
620
|
+
* "updateAuthor": {
|
|
621
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
622
|
+
* "active": false,
|
|
623
|
+
* "displayName": "Mia Krystof",
|
|
624
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
625
|
+
* },
|
|
626
|
+
* "updated": "2021-01-18T23:45:00.000+0000",
|
|
627
|
+
* "visibility": {
|
|
628
|
+
* "identifier": "276f955c-63d7-42c8-9520-92d01dca0625",
|
|
629
|
+
* "type": "group",
|
|
630
|
+
* "value": "jira-developers"
|
|
631
|
+
* }
|
|
632
|
+
* }
|
|
633
|
+
* ],
|
|
634
|
+
* "updated": 1,
|
|
635
|
+
* "timetracking": {
|
|
636
|
+
* "originalEstimate": "10m",
|
|
637
|
+
* "originalEstimateSeconds": 600,
|
|
638
|
+
* "remainingEstimate": "3m",
|
|
639
|
+
* "remainingEstimateSeconds": 200,
|
|
640
|
+
* "timeSpent": "6m",
|
|
641
|
+
* "timeSpentSeconds": 400
|
|
642
|
+
* }
|
|
643
|
+
* },
|
|
644
|
+
* "id": "10002",
|
|
645
|
+
* "key": "ED-1",
|
|
646
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/issue/10002"
|
|
647
|
+
* }
|
|
648
|
+
* ]
|
|
649
|
+
* }
|
|
650
|
+
* ```
|
|
651
|
+
* @path POST `/rest/api/3/search/jql`
|
|
652
|
+
* @scopes-current read:jira-work
|
|
653
|
+
* @scopes-beta read:issue-details:jira, read:field.default-value:jira, read:field.option:jira, read:field:jira, read:group:jira
|
|
654
|
+
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-search#api-rest-api-3-search-jql-post
|
|
655
|
+
* @param params
|
|
656
|
+
*/
|
|
657
|
+
this.searchAndReconsileIssuesUsingJqlPost = ({ searchAndReconcileRequestBean, }) => {
|
|
658
|
+
return this.getClientInstance()
|
|
659
|
+
.request({
|
|
660
|
+
path: "/rest/api/3/search/jql",
|
|
661
|
+
method: "POST",
|
|
662
|
+
headers: {
|
|
663
|
+
"Content-Type": "application/json",
|
|
664
|
+
},
|
|
665
|
+
body: searchAndReconcileRequestBean,
|
|
666
|
+
})
|
|
667
|
+
.then(this.getClientInstance().responseHandler({
|
|
668
|
+
200: {
|
|
669
|
+
"application/json": "json",
|
|
670
|
+
},
|
|
671
|
+
}))
|
|
672
|
+
.then(commonHttpClient.castResponse())
|
|
673
|
+
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("IssueSearchService.searchAndReconsileIssuesUsingJqlPost.response")))
|
|
674
|
+
.then(commonHttpClient.getBody);
|
|
675
|
+
};
|
|
139
676
|
/**
|
|
140
677
|
* Searches for IDs of issues using
|
|
141
678
|
* [JQL](https://confluence.atlassian.com/x/egORLQ).
|
|
@@ -818,6 +1355,13 @@ class IssueSearchService extends CommonHttpService_1.CommonHttpService {
|
|
|
818
1355
|
body: validationSchemaStorage_1.validationSchemaStorage.lazy("SearchResults"),
|
|
819
1356
|
})
|
|
820
1357
|
.describe("IssueSearchService.searchForIssuesUsingJqlPost.response"));
|
|
1358
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("IssueSearchService.countIssues.response", zod_1.z
|
|
1359
|
+
.object({
|
|
1360
|
+
status: zod_1.z.literal(200),
|
|
1361
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
1362
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("JqlCountResultsBean"),
|
|
1363
|
+
})
|
|
1364
|
+
.describe("IssueSearchService.countIssues.response"));
|
|
821
1365
|
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("IssueSearchService.searchForIssuesIds.response", zod_1.z
|
|
822
1366
|
.object({
|
|
823
1367
|
status: zod_1.z.literal(200),
|
|
@@ -825,6 +1369,20 @@ class IssueSearchService extends CommonHttpService_1.CommonHttpService {
|
|
|
825
1369
|
body: validationSchemaStorage_1.validationSchemaStorage.lazy("IdSearchResults"),
|
|
826
1370
|
})
|
|
827
1371
|
.describe("IssueSearchService.searchForIssuesIds.response"));
|
|
1372
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("IssueSearchService.searchAndReconsileIssuesUsingJql.response", zod_1.z
|
|
1373
|
+
.object({
|
|
1374
|
+
status: zod_1.z.literal(200),
|
|
1375
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
1376
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("SearchAndReconcileResults"),
|
|
1377
|
+
})
|
|
1378
|
+
.describe("IssueSearchService.searchAndReconsileIssuesUsingJql.response"));
|
|
1379
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("IssueSearchService.searchAndReconsileIssuesUsingJqlPost.response", zod_1.z
|
|
1380
|
+
.object({
|
|
1381
|
+
status: zod_1.z.literal(200),
|
|
1382
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
1383
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("SearchAndReconcileResults"),
|
|
1384
|
+
})
|
|
1385
|
+
.describe("IssueSearchService.searchAndReconsileIssuesUsingJqlPost.response"));
|
|
828
1386
|
validationSchemaStorage_1.validationSchemaStorage.registerOnce([
|
|
829
1387
|
issueSearch_1.registerIssueSearchValidationSchemas,
|
|
830
1388
|
]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IssueSearchService.js","sourceRoot":"","sources":["../../../../src/openapi/platform/services/IssueSearchService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,gEAAgE;AAChE,oEAAiE;AACjE,
|
|
1
|
+
{"version":3,"file":"IssueSearchService.js","sourceRoot":"","sources":["../../../../src/openapi/platform/services/IssueSearchService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,gEAAgE;AAChE,oEAAiE;AACjE,uDAa+B;AAC/B,wEAAqE;AACrE;;;;;;GAMG;AACH,MAAa,kBAAmB,SAAQ,qCAAiB;IAAzD;;QACE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WA8BG;QACH,gBAAW,GAAG,CAAC,EACb,mBAAmB,GAWpB,EAAgC,EAAE;YACjC,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,sCAAsC;gBAC5C,MAAM,EAAE,MAAM;gBACd,OAAO,EAAE;oBACP,cAAc,EAAE,kBAAkB;iBACnC;gBACD,IAAI,EAAE,mBAAmB;aAC1B,CAAC;iBACD,IAAI,CACH,IAAI,CAAC,iBAAiB,EAAE,CAAC,eAAe,CAAC;gBACvC,GAAG,EAAE;oBACH,kBAAkB,EAAE,MAAM;iBAC3B;aACF,CAAC,CACH;iBACA,IAAI,CACH,gBAAgB,CAAC,YAAY,EAIzB,CACL;iBACA,IAAI,CACH,IAAI,CAAC,iBAAiB,EAAE,CAAC,UAAU,CACjC,iDAAuB,CAAC,SAAS,CAC/B,yCAAyC,CAC1C,CACF,C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172,6 +172,7 @@ export declare class IssueWorklogsService extends CommonHttpService {
|
|
|
172
172
|
* * You can't move worklogs containing an attachment.
|
|
173
173
|
* * You can't move worklogs restricted by project roles.
|
|
174
174
|
* * No notifications will be sent for moved worklogs.
|
|
175
|
+
* * No webhooks or events will be sent for moved worklogs.
|
|
175
176
|
* * No issue history will be recorded for moved worklogs.
|
|
176
177
|
* * Time tracking will not be updated for the source and destination issues.
|
|
177
178
|
*
|
|
@@ -210,6 +211,17 @@ export declare class IssueWorklogsService extends CommonHttpService {
|
|
|
210
211
|
/**
|
|
211
212
|
* A JSON object containing a list of worklog IDs and the ID or key of the
|
|
212
213
|
* destination issue.
|
|
214
|
+
*
|
|
215
|
+
* @example
|
|
216
|
+
* {
|
|
217
|
+
* "ids": [
|
|
218
|
+
* 1,
|
|
219
|
+
* 2,
|
|
220
|
+
* 5,
|
|
221
|
+
* 10
|
|
222
|
+
* ],
|
|
223
|
+
* "issueIdOrKey": "ABC-1234"
|
|
224
|
+
* }
|
|
213
225
|
*/
|
|
214
226
|
worklogsMoveRequestBean: WorklogsMoveRequestBean;
|
|
215
227
|
}) => Promise<void>;
|
|
@@ -132,6 +132,7 @@ class IssueWorklogsService extends CommonHttpService_1.CommonHttpService {
|
|
|
132
132
|
* * You can't move worklogs containing an attachment.
|
|
133
133
|
* * You can't move worklogs restricted by project roles.
|
|
134
134
|
* * No notifications will be sent for moved worklogs.
|
|
135
|
+
* * No webhooks or events will be sent for moved worklogs.
|
|
135
136
|
* * No issue history will be recorded for moved worklogs.
|
|
136
137
|
* * Time tracking will not be updated for the source and destination issues.
|
|
137
138
|
*
|