@valiantys/atlassian-app 3.2.0-alpha-6 → 3.2.0-alpha-8

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.
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=class a{constructor(e){this.fetchSvc=e}async updateProperty(e,t,s){return this.fetchSvc.fetch({method:"PUT",url:this.fetchSvc.route`/rest/api/3/issue/${e}/properties/${t}`},s)}async updateField(e,t,s){await this.updateFields(e,{[t]:s})}async updateFields(e,t){await this.updateIssue(e,{fields:t})}async getIssueField(e,t){var s;return(s=await this.getIssueFields(e,[t]))==null?void 0:s[t]}async getIssueFields(e,t){return(await this.fetchSvc.fetch({method:"GET",url:this.fetchSvc.route`/rest/api/3/issue/${e}?fields=${t.join(",")}`})).fields}async getIssue(e,t=["*all"],s=!1){return this.fetchSvc.fetch({method:"GET",url:this.fetchSvc.route`/rest/api/3/issue/${e}?fields=${t.join(",")}&expand=${s?"renderedFields":""}`})}async issueSearch(e,t,s=50){let c;const r=[];do{const h=await this.issueSearchByPage(e,t,c,s);r.push(...h.issues),c=h.nextPageToken}while(c!==void 0);return r}async issueSearchByPage(e,t,s,c=50){return this.fetchSvc.fetch({method:"POST",url:this.fetchSvc.route`/rest/api/3/search/jql`},{fields:t,jql:e,maxResults:c,nextPageToken:s})}async addWorklog(e,t){return this.fetchSvc.fetch({method:"POST",url:this.fetchSvc.route`/rest/api/3/issue/${e}/worklog`},t)}async queryForIssuesInProjects(e){const t=`project IN (${e.join(",")})`;return this.issueSearch(t,["key","project"],5e3)}async createIssue(e){return this.fetchSvc.fetch({method:"POST",url:this.fetchSvc.route`/rest/api/3/issue`},e)}async updateIssue(e,t){return this.fetchSvc.fetch({method:"PUT",url:this.fetchSvc.route`/rest/api/3/issue/${e}`},t)}async getIssueComments(e,t=0){const s=t?`?startAt=${t}`:"";return this.fetchSvc.fetch({method:"GET",url:this.fetchSvc.route`/rest/api/3/issue/${e}/comment${s}`})}async getIssueCommentById(e,t){return this.fetchSvc.fetch({method:"GET",url:this.fetchSvc.route`/rest/api/3/issue/${e}/comment/${t}`})}async addIssueComment(e,t){return this.fetchSvc.fetch({method:"POST",url:this.fetchSvc.route`/rest/api/3/issue/${e}/comment`},{body:t})}async transitionIssue(e,t){return this.fetchSvc.fetch({method:"POST",url:this.fetchSvc.route`/rest/api/3/issue/${e}/transitions`},t)}async createIssueLink(e){return this.fetchSvc.fetch({method:"POST",url:this.fetchSvc.route`/rest/api/3/issueLink`},e)}async getIssueTypes(){return this.fetchSvc.fetch({method:"GET",url:this.fetchSvc.route`/rest/api/3/issuetype`})}async getIssueTypeSchemes({maxResults:e,orderBy:t,startAt:s,expand:c,id:r,queryString:h}={}){const i=new URLSearchParams;return c&&i.append("expand",c),e&&i.append("maxResults",e.toString()),t&&i.append("orderBy",t),s&&i.append("startAt",s.toString()),r&&r.forEach(n=>i.append("id",n)),h&&i.append("queryString",h),this.fetchSvc.fetch({method:"GET",url:this.fetchSvc.route`/rest/api/3/issuetypescheme?${i}`})}async getIssueTypeSchemesForProject({maxResults:e,startAt:t,projectId:s}={}){const c=new URLSearchParams;return e&&c.append("maxResults",e.toString()),t&&c.append("startAt",t.toString()),s&&s.forEach(r=>c.append("projectId",r)),this.fetchSvc.fetch({method:"GET",url:this.fetchSvc.route`/rest/api/3/issuetypescheme/project?${c}`})}};a.issueUrl="/rest/api/3/issue";let u=a;exports.JiraIssueService=u;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=class a{constructor(e){this.fetchSvc=e}async updateProperty(e,t,s){return this.fetchSvc.fetch({method:"PUT",url:this.fetchSvc.route`/rest/api/3/issue/${e}/properties/${t}`},s)}async updateField(e,t,s){await this.updateFields(e,{[t]:s})}async updateFields(e,t){await this.updateIssue(e,{fields:t})}async getIssueField(e,t){var s;return(s=await this.getIssueFields(e,[t]))==null?void 0:s[t]}async getIssueFields(e,t){return(await this.fetchSvc.fetch({method:"GET",url:this.fetchSvc.route`/rest/api/3/issue/${e}?fields=${t.join(",")}`})).fields}async getIssue(e,t=["*all"],s=!1){return this.fetchSvc.fetch({method:"GET",url:this.fetchSvc.route`/rest/api/3/issue/${e}?fields=${t.join(",")}&expand=${s?"renderedFields":""}`})}async getBulkIssues(e,t=["*all"]){return(await this.fetchSvc.fetch({method:"POST",url:this.fetchSvc.route`/rest/api/3/issue/bulkfetch`},{issueIdsOrKeys:e,fields:t})).issues}async issueSearch(e,t,s=50){let c;const r=[];do{const h=await this.issueSearchByPage(e,t,c,s);r.push(...h.issues),c=h.nextPageToken}while(c!==void 0);return r}async issueSearchByPage(e,t,s,c=50){return this.fetchSvc.fetch({method:"POST",url:this.fetchSvc.route`/rest/api/3/search/jql`},{fields:t,jql:e,maxResults:c,nextPageToken:s})}async addWorklog(e,t){return this.fetchSvc.fetch({method:"POST",url:this.fetchSvc.route`/rest/api/3/issue/${e}/worklog`},t)}async queryForIssuesInProjects(e){const t=`project IN (${e.join(",")})`;return this.issueSearch(t,["key","project"],5e3)}async createIssue(e){return this.fetchSvc.fetch({method:"POST",url:this.fetchSvc.route`/rest/api/3/issue`},e)}async updateIssue(e,t){return this.fetchSvc.fetch({method:"PUT",url:this.fetchSvc.route`/rest/api/3/issue/${e}`},t)}async getIssueComments(e,t=0){const s=t?`?startAt=${t}`:"";return this.fetchSvc.fetch({method:"GET",url:this.fetchSvc.route`/rest/api/3/issue/${e}/comment${s}`})}async getIssueCommentById(e,t){return this.fetchSvc.fetch({method:"GET",url:this.fetchSvc.route`/rest/api/3/issue/${e}/comment/${t}`})}async addIssueComment(e,t){return this.fetchSvc.fetch({method:"POST",url:this.fetchSvc.route`/rest/api/3/issue/${e}/comment`},{body:t})}async transitionIssue(e,t){return this.fetchSvc.fetch({method:"POST",url:this.fetchSvc.route`/rest/api/3/issue/${e}/transitions`},t)}async createIssueLink(e){return this.fetchSvc.fetch({method:"POST",url:this.fetchSvc.route`/rest/api/3/issueLink`},e)}async getIssueTypes(){return this.fetchSvc.fetch({method:"GET",url:this.fetchSvc.route`/rest/api/3/issuetype`})}async getIssueTypeSchemes({maxResults:e,orderBy:t,startAt:s,expand:c,id:r,queryString:h}={}){const i=new URLSearchParams;return c&&i.append("expand",c),e&&i.append("maxResults",e.toString()),t&&i.append("orderBy",t),s&&i.append("startAt",s.toString()),r&&r.forEach(n=>i.append("id",n)),h&&i.append("queryString",h),this.fetchSvc.fetch({method:"GET",url:this.fetchSvc.route`/rest/api/3/issuetypescheme?${i}`})}async getIssueTypeSchemesForProject({maxResults:e,startAt:t,projectId:s}={}){const c=new URLSearchParams;return e&&c.append("maxResults",e.toString()),t&&c.append("startAt",t.toString()),s&&s.forEach(r=>c.append("projectId",r)),this.fetchSvc.fetch({method:"GET",url:this.fetchSvc.route`/rest/api/3/issuetypescheme/project?${c}`})}};a.issueUrl="/rest/api/3/issue";let u=a;exports.JiraIssueService=u;
@@ -33,6 +33,15 @@ const u = class u {
33
33
  url: this.fetchSvc.route`/rest/api/3/issue/${e}?fields=${t.join(",")}&expand=${s ? "renderedFields" : ""}`
34
34
  });
35
35
  }
36
+ async getBulkIssues(e, t = ["*all"]) {
37
+ return (await this.fetchSvc.fetch(
38
+ {
39
+ method: "POST",
40
+ url: this.fetchSvc.route`/rest/api/3/issue/bulkfetch`
41
+ },
42
+ { issueIdsOrKeys: e, fields: t }
43
+ )).issues;
44
+ }
36
45
  async issueSearch(e, t, s = 50) {
37
46
  let c;
38
47
  const r = [];
@@ -500,6 +500,84 @@
500
500
  "isAbstract": false,
501
501
  "name": "createIssueLink"
502
502
  },
503
+ {
504
+ "kind": "Method",
505
+ "canonicalReference": "@valiantys/atlassian-app!JiraIssueService#getBulkIssues:member(1)",
506
+ "docComment": "",
507
+ "excerptTokens": [
508
+ {
509
+ "kind": "Content",
510
+ "text": "getBulkIssues(issueIdsOrKeys: "
511
+ },
512
+ {
513
+ "kind": "Content",
514
+ "text": "string[]"
515
+ },
516
+ {
517
+ "kind": "Content",
518
+ "text": ", fields?: "
519
+ },
520
+ {
521
+ "kind": "Content",
522
+ "text": "string[]"
523
+ },
524
+ {
525
+ "kind": "Content",
526
+ "text": "): "
527
+ },
528
+ {
529
+ "kind": "Reference",
530
+ "text": "Promise",
531
+ "canonicalReference": "!Promise:interface"
532
+ },
533
+ {
534
+ "kind": "Content",
535
+ "text": "<"
536
+ },
537
+ {
538
+ "kind": "Reference",
539
+ "text": "Issue",
540
+ "canonicalReference": "@valiantys/atlassian-app!~Issue:interface"
541
+ },
542
+ {
543
+ "kind": "Content",
544
+ "text": "[]>"
545
+ },
546
+ {
547
+ "kind": "Content",
548
+ "text": ";"
549
+ }
550
+ ],
551
+ "isStatic": false,
552
+ "returnTypeTokenRange": {
553
+ "startIndex": 5,
554
+ "endIndex": 9
555
+ },
556
+ "releaseTag": "Public",
557
+ "isProtected": false,
558
+ "overloadIndex": 1,
559
+ "parameters": [
560
+ {
561
+ "parameterName": "issueIdsOrKeys",
562
+ "parameterTypeTokenRange": {
563
+ "startIndex": 1,
564
+ "endIndex": 2
565
+ },
566
+ "isOptional": false
567
+ },
568
+ {
569
+ "parameterName": "fields",
570
+ "parameterTypeTokenRange": {
571
+ "startIndex": 3,
572
+ "endIndex": 4
573
+ },
574
+ "isOptional": true
575
+ }
576
+ ],
577
+ "isOptional": false,
578
+ "isAbstract": false,
579
+ "name": "getBulkIssues"
580
+ },
503
581
  {
504
582
  "kind": "Method",
505
583
  "canonicalReference": "@valiantys/atlassian-app!JiraIssueService#getIssue:member(1)",
@@ -1664,7 +1742,7 @@
1664
1742
  {
1665
1743
  "kind": "Reference",
1666
1744
  "text": "UpdateIssue",
1667
- "canonicalReference": "@valiantys/atlassian-app!~UpdateIssue:type"
1745
+ "canonicalReference": "@valiantys/atlassian-app!~UpdateIssue:interface"
1668
1746
  },
1669
1747
  {
1670
1748
  "kind": "Content",
@@ -24,6 +24,8 @@ export class JiraIssueService {
24
24
  //
25
25
  // (undocumented)
26
26
  createIssueLink(issueLinkRequest: IssueLinkRequest): Promise<void>;
27
+ // (undocumented)
28
+ getBulkIssues(issueIdsOrKeys: string[], fields?: string[]): Promise<Issue[]>;
27
29
  // Warning: (ae-forgotten-export) The symbol "Issue" needs to be exported by the entry point data-access-issue.d.ts
28
30
  //
29
31
  // (undocumented)
@@ -236,6 +236,7 @@ export declare class JiraIssueService {
236
236
  getIssueField<T>(issueIdOrKey: string, field: string): Promise<T | undefined>;
237
237
  getIssueFields(issueIdOrKey: string, fields: string[]): Promise<IssueFields | undefined>;
238
238
  getIssue(issueIdOrKey: string, fields?: string[], rendered?: boolean): Promise<Issue | undefined>;
239
+ getBulkIssues(issueIdsOrKeys: string[], fields?: string[]): Promise<Issue[]>;
239
240
  issueSearch(jql: string, fields: string[], maxResults?: number): Promise<Issue<AtlassianDocumentFormat>[]>;
240
241
  issueSearchByPage(jql: string, fields: string[], nextPageToken?: string, maxResults?: number): Promise<{
241
242
  issues: Issue[];
@@ -397,7 +398,16 @@ declare interface TransitionIssueRequest {
397
398
  update?: any;
398
399
  }
399
400
 
400
- declare type UpdateIssue = CreateIssue;
401
+ declare interface UpdateIssue {
402
+ fields?: IssueFields<AtlassianDocumentFormat | string>;
403
+ properties?: {
404
+ key: string;
405
+ value: unknown;
406
+ }[];
407
+ transition?: IssueTransition;
408
+ update?: Record<string, Record<string, unknown>[]>;
409
+ historyMetadata?: HistoryMetadata;
410
+ }
401
411
 
402
412
  declare interface User {
403
413
  accountId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@valiantys/atlassian-app",
3
- "version": "3.2.0-alpha-6",
3
+ "version": "3.2.0-alpha-8",
4
4
  "description": "This library provides Atlassian Forge components, wrappers, and utilities to support writing Forge apps that can run deployed or in standalone mode",
5
5
  "exports": {
6
6
  "./frontend-app": {
@@ -2308,6 +2308,32 @@
2308
2308
  ],
2309
2309
  "extendsTokenRanges": []
2310
2310
  },
2311
+ {
2312
+ "kind": "TypeAlias",
2313
+ "canonicalReference": "@valiantys/atlassian-app!IssueAssetFieldValue:type",
2314
+ "docComment": "",
2315
+ "excerptTokens": [
2316
+ {
2317
+ "kind": "Content",
2318
+ "text": "export type IssueAssetFieldValue = "
2319
+ },
2320
+ {
2321
+ "kind": "Content",
2322
+ "text": "{\n workspaceId: string;\n id: string;\n objectId: string;\n}[]"
2323
+ },
2324
+ {
2325
+ "kind": "Content",
2326
+ "text": ";"
2327
+ }
2328
+ ],
2329
+ "fileUrlPath": "../../jira/shared/util-jira-v3-api/src/lib/issue.d.ts",
2330
+ "releaseTag": "Public",
2331
+ "name": "IssueAssetFieldValue",
2332
+ "typeTokenRange": {
2333
+ "startIndex": 1,
2334
+ "endIndex": 2
2335
+ }
2336
+ },
2311
2337
  {
2312
2338
  "kind": "TypeAlias",
2313
2339
  "canonicalReference": "@valiantys/atlassian-app!IssueComment:type",
@@ -6265,31 +6291,187 @@
6265
6291
  "extendsTokenRanges": []
6266
6292
  },
6267
6293
  {
6268
- "kind": "TypeAlias",
6269
- "canonicalReference": "@valiantys/atlassian-app!UpdateIssue:type",
6294
+ "kind": "Interface",
6295
+ "canonicalReference": "@valiantys/atlassian-app!UpdateIssue:interface",
6270
6296
  "docComment": "",
6271
6297
  "excerptTokens": [
6272
6298
  {
6273
6299
  "kind": "Content",
6274
- "text": "export type UpdateIssue = "
6300
+ "text": "export interface UpdateIssue "
6301
+ }
6302
+ ],
6303
+ "fileUrlPath": "../../jira/shared/util-jira-v3-api/src/lib/issue.d.ts",
6304
+ "releaseTag": "Public",
6305
+ "name": "UpdateIssue",
6306
+ "preserveMemberOrder": false,
6307
+ "members": [
6308
+ {
6309
+ "kind": "PropertySignature",
6310
+ "canonicalReference": "@valiantys/atlassian-app!UpdateIssue#fields:member",
6311
+ "docComment": "",
6312
+ "excerptTokens": [
6313
+ {
6314
+ "kind": "Content",
6315
+ "text": "fields?: "
6316
+ },
6317
+ {
6318
+ "kind": "Reference",
6319
+ "text": "IssueFields",
6320
+ "canonicalReference": "@valiantys/atlassian-app!IssueFields:type"
6321
+ },
6322
+ {
6323
+ "kind": "Content",
6324
+ "text": "<"
6325
+ },
6326
+ {
6327
+ "kind": "Reference",
6328
+ "text": "AtlassianDocumentFormat",
6329
+ "canonicalReference": "@valiantys/atlassian-app!AtlassianDocumentFormat:interface"
6330
+ },
6331
+ {
6332
+ "kind": "Content",
6333
+ "text": " | string>"
6334
+ },
6335
+ {
6336
+ "kind": "Content",
6337
+ "text": ";"
6338
+ }
6339
+ ],
6340
+ "isReadonly": false,
6341
+ "isOptional": true,
6342
+ "releaseTag": "Public",
6343
+ "name": "fields",
6344
+ "propertyTypeTokenRange": {
6345
+ "startIndex": 1,
6346
+ "endIndex": 5
6347
+ }
6275
6348
  },
6276
6349
  {
6277
- "kind": "Reference",
6278
- "text": "CreateIssue",
6279
- "canonicalReference": "@valiantys/atlassian-app!CreateIssue:interface"
6350
+ "kind": "PropertySignature",
6351
+ "canonicalReference": "@valiantys/atlassian-app!UpdateIssue#historyMetadata:member",
6352
+ "docComment": "",
6353
+ "excerptTokens": [
6354
+ {
6355
+ "kind": "Content",
6356
+ "text": "historyMetadata?: "
6357
+ },
6358
+ {
6359
+ "kind": "Reference",
6360
+ "text": "HistoryMetadata",
6361
+ "canonicalReference": "@valiantys/atlassian-app!HistoryMetadata:interface"
6362
+ },
6363
+ {
6364
+ "kind": "Content",
6365
+ "text": ";"
6366
+ }
6367
+ ],
6368
+ "isReadonly": false,
6369
+ "isOptional": true,
6370
+ "releaseTag": "Public",
6371
+ "name": "historyMetadata",
6372
+ "propertyTypeTokenRange": {
6373
+ "startIndex": 1,
6374
+ "endIndex": 2
6375
+ }
6280
6376
  },
6281
6377
  {
6282
- "kind": "Content",
6283
- "text": ";"
6378
+ "kind": "PropertySignature",
6379
+ "canonicalReference": "@valiantys/atlassian-app!UpdateIssue#properties:member",
6380
+ "docComment": "",
6381
+ "excerptTokens": [
6382
+ {
6383
+ "kind": "Content",
6384
+ "text": "properties?: "
6385
+ },
6386
+ {
6387
+ "kind": "Content",
6388
+ "text": "{\n key: string;\n value: unknown;\n }[]"
6389
+ },
6390
+ {
6391
+ "kind": "Content",
6392
+ "text": ";"
6393
+ }
6394
+ ],
6395
+ "isReadonly": false,
6396
+ "isOptional": true,
6397
+ "releaseTag": "Public",
6398
+ "name": "properties",
6399
+ "propertyTypeTokenRange": {
6400
+ "startIndex": 1,
6401
+ "endIndex": 2
6402
+ }
6403
+ },
6404
+ {
6405
+ "kind": "PropertySignature",
6406
+ "canonicalReference": "@valiantys/atlassian-app!UpdateIssue#transition:member",
6407
+ "docComment": "",
6408
+ "excerptTokens": [
6409
+ {
6410
+ "kind": "Content",
6411
+ "text": "transition?: "
6412
+ },
6413
+ {
6414
+ "kind": "Reference",
6415
+ "text": "IssueTransition",
6416
+ "canonicalReference": "@valiantys/atlassian-app!IssueTransition:interface"
6417
+ },
6418
+ {
6419
+ "kind": "Content",
6420
+ "text": ";"
6421
+ }
6422
+ ],
6423
+ "isReadonly": false,
6424
+ "isOptional": true,
6425
+ "releaseTag": "Public",
6426
+ "name": "transition",
6427
+ "propertyTypeTokenRange": {
6428
+ "startIndex": 1,
6429
+ "endIndex": 2
6430
+ }
6431
+ },
6432
+ {
6433
+ "kind": "PropertySignature",
6434
+ "canonicalReference": "@valiantys/atlassian-app!UpdateIssue#update:member",
6435
+ "docComment": "",
6436
+ "excerptTokens": [
6437
+ {
6438
+ "kind": "Content",
6439
+ "text": "update?: "
6440
+ },
6441
+ {
6442
+ "kind": "Reference",
6443
+ "text": "Record",
6444
+ "canonicalReference": "!Record:type"
6445
+ },
6446
+ {
6447
+ "kind": "Content",
6448
+ "text": "<string, "
6449
+ },
6450
+ {
6451
+ "kind": "Reference",
6452
+ "text": "Record",
6453
+ "canonicalReference": "!Record:type"
6454
+ },
6455
+ {
6456
+ "kind": "Content",
6457
+ "text": "<string, unknown>[]>"
6458
+ },
6459
+ {
6460
+ "kind": "Content",
6461
+ "text": ";"
6462
+ }
6463
+ ],
6464
+ "isReadonly": false,
6465
+ "isOptional": true,
6466
+ "releaseTag": "Public",
6467
+ "name": "update",
6468
+ "propertyTypeTokenRange": {
6469
+ "startIndex": 1,
6470
+ "endIndex": 5
6471
+ }
6284
6472
  }
6285
6473
  ],
6286
- "fileUrlPath": "../../jira/shared/util-jira-v3-api/src/lib/issue.d.ts",
6287
- "releaseTag": "Public",
6288
- "name": "UpdateIssue",
6289
- "typeTokenRange": {
6290
- "startIndex": 1,
6291
- "endIndex": 2
6292
- }
6474
+ "extendsTokenRanges": []
6293
6475
  },
6294
6476
  {
6295
6477
  "kind": "Interface",
@@ -204,6 +204,13 @@ export interface Issue<T = AtlassianDocumentFormat> {
204
204
  self?: string;
205
205
  }
206
206
 
207
+ // @public (undocumented)
208
+ export type IssueAssetFieldValue = {
209
+ workspaceId: string;
210
+ id: string;
211
+ objectId: string;
212
+ }[];
213
+
207
214
  // @public (undocumented)
208
215
  export type IssueComment = {
209
216
  author: User;
@@ -648,7 +655,21 @@ export interface TransitionIssueRequest {
648
655
  }
649
656
 
650
657
  // @public (undocumented)
651
- export type UpdateIssue = CreateIssue;
658
+ export interface UpdateIssue {
659
+ // (undocumented)
660
+ fields?: IssueFields<AtlassianDocumentFormat | string>;
661
+ // (undocumented)
662
+ historyMetadata?: HistoryMetadata;
663
+ // (undocumented)
664
+ properties?: {
665
+ key: string;
666
+ value: unknown;
667
+ }[];
668
+ // (undocumented)
669
+ transition?: IssueTransition;
670
+ // (undocumented)
671
+ update?: Record<string, Record<string, unknown>[]>;
672
+ }
652
673
 
653
674
  // @public (undocumented)
654
675
  export interface User {
@@ -121,6 +121,12 @@ export declare interface Issue<T = AtlassianDocumentFormat> {
121
121
  renderedFields?: IssueFields<string>;
122
122
  }
123
123
 
124
+ export declare type IssueAssetFieldValue = {
125
+ workspaceId: string;
126
+ id: string;
127
+ objectId: string;
128
+ }[];
129
+
124
130
  export declare type IssueComment = {
125
131
  author: User;
126
132
  body: AtlassianDocumentFormat;
@@ -423,7 +429,16 @@ export declare interface TransitionIssueRequest {
423
429
  update?: any;
424
430
  }
425
431
 
426
- export declare type UpdateIssue = CreateIssue;
432
+ export declare interface UpdateIssue {
433
+ fields?: IssueFields<AtlassianDocumentFormat | string>;
434
+ properties?: {
435
+ key: string;
436
+ value: unknown;
437
+ }[];
438
+ transition?: IssueTransition;
439
+ update?: Record<string, Record<string, unknown>[]>;
440
+ historyMetadata?: HistoryMetadata;
441
+ }
427
442
 
428
443
  export declare interface User {
429
444
  accountId: string;