@valiantys/atlassian-app-frontend 3.0.0-alpha-9 → 3.0.0-alpha-10

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 u=class u{constructor(e){this.fetchSvc=e}async updateField(e,s,t){await this.updateFields(e,{[s]:t})}async updateFields(e,s){await this.fetchSvc.fetch({method:"PUT",url:this.fetchSvc.route`/rest/api/3/issue/${e}`},{fields:s})}async getIssueField(e,s){var t;return(t=await this.getIssueFields(e,[s]))==null?void 0:t[s]}async getIssueFields(e,s){return(await this.fetchSvc.fetch({method:"GET",url:this.fetchSvc.route`/rest/api/3/issue/${e}?fields=${s.join(",")}`})).fields}async getIssue(e,s=["*all"]){return this.fetchSvc.fetch({method:"GET",url:this.fetchSvc.route`/rest/api/3/issue/${e}?fields=${s.join(",")}`})}async issueSearch(e,s,t=50){let c;const h=[];do{const r=await this.fetchSvc.fetch({method:"GET",url:this.fetchSvc.route`/rest/api/3/search/jql?jql=${e}&fields=${s.join(",")}&maxResults=${t}&${c?"nextPageToken="+c:""}`});h.push(...r.issues),c=r.nextPageToken}while(c!==void 0);return h}async addWorklog(e,s){return this.fetchSvc.fetch({method:"POST",url:this.fetchSvc.route`/rest/api/3/issue/${e}/worklog`},s)}async queryForIssuesInProjects(e){const s=`project IN (${e.join(",")})`;return this.issueSearch(s,["key"],5e3)}async createIssue(e){return this.fetchSvc.fetch({method:"POST",url:this.fetchSvc.route`/rest/api/2/issue`},e)}async updateIssue(e,s){return this.fetchSvc.fetch({method:"PUT",url:this.fetchSvc.route`/rest/api/2/issue/${e}`},s)}async getIssueComments(e,s=0){const t=s?`?startAt=${s}`:"";return await this.fetchSvc.fetch({method:"GET",url:this.fetchSvc.route`/rest/api/3/issue/${e}/comment${t}`})}async getIssueCommentById(e,s){return await this.fetchSvc.fetch({method:"GET",url:this.fetchSvc.route`/rest/api/3/issue/${e}/comment/${s}`})}async addIssueComment(e,s){return await this.fetchSvc.fetch({method:"POST",url:this.fetchSvc.route`/rest/api/3/issue/${e}/comment`},s)}async transitionIssue(e,s){return this.fetchSvc.fetch({method:"POST",url:this.fetchSvc.route`/rest/api/3/issue/${e}/transitions`},s)}async createIssueLink(e){return this.fetchSvc.fetch({method:"POST",url:this.fetchSvc.route`/rest/api/3/issueLink`},e)}};u.issueUrl="/rest/api/3/issue";let i=u;exports.JiraIssueService=i;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=class h{constructor(e){this.fetchSvc=e}async updateField(e,t,s){await this.updateFields(e,{[t]:s})}async updateFields(e,t){await this.fetchSvc.fetch({method:"PUT",url:this.fetchSvc.route`/rest/api/3/issue/${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"]){return this.fetchSvc.fetch({method:"GET",url:this.fetchSvc.route`/rest/api/3/issue/${e}?fields=${t.join(",")}`})}async issueSearch(e,t,s=50){let c;const r=[];do{const u=await this.fetchSvc.fetch({method:"GET",url:this.fetchSvc.route`/rest/api/3/search/jql?jql=${e}&fields=${t.join(",")}&maxResults=${s}&${c?"nextPageToken="+c:""}`});r.push(...u.issues),c=u.nextPageToken}while(c!==void 0);return r}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"],5e3)}async createIssue(e){return this.fetchSvc.fetch({method:"POST",url:this.fetchSvc.route`/rest/api/2/issue`},e)}async updateIssue(e,t){return this.fetchSvc.fetch({method:"PUT",url:this.fetchSvc.route`/rest/api/2/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)}};h.issueUrl="/rest/api/3/issue";let i=h;exports.JiraIssueService=i;
@@ -1,59 +1,59 @@
1
- const i = class i {
1
+ const h = class h {
2
2
  constructor(e) {
3
3
  this.fetchSvc = e;
4
4
  }
5
- async updateField(e, s, t) {
6
- await this.updateFields(e, { [s]: t });
5
+ async updateField(e, t, s) {
6
+ await this.updateFields(e, { [t]: s });
7
7
  }
8
- async updateFields(e, s) {
8
+ async updateFields(e, t) {
9
9
  await this.fetchSvc.fetch(
10
10
  {
11
11
  method: "PUT",
12
12
  url: this.fetchSvc.route`/rest/api/3/issue/${e}`
13
13
  },
14
- { fields: s }
14
+ { fields: t }
15
15
  );
16
16
  }
17
- async getIssueField(e, s) {
18
- var t;
19
- return (t = await this.getIssueFields(e, [s])) == null ? void 0 : t[s];
17
+ async getIssueField(e, t) {
18
+ var s;
19
+ return (s = await this.getIssueFields(e, [t])) == null ? void 0 : s[t];
20
20
  }
21
- async getIssueFields(e, s) {
21
+ async getIssueFields(e, t) {
22
22
  return (await this.fetchSvc.fetch({
23
23
  method: "GET",
24
- url: this.fetchSvc.route`/rest/api/3/issue/${e}?fields=${s.join(",")}`
24
+ url: this.fetchSvc.route`/rest/api/3/issue/${e}?fields=${t.join(",")}`
25
25
  })).fields;
26
26
  }
27
- async getIssue(e, s = ["*all"]) {
27
+ async getIssue(e, t = ["*all"]) {
28
28
  return this.fetchSvc.fetch({
29
29
  method: "GET",
30
- url: this.fetchSvc.route`/rest/api/3/issue/${e}?fields=${s.join(",")}`
30
+ url: this.fetchSvc.route`/rest/api/3/issue/${e}?fields=${t.join(",")}`
31
31
  });
32
32
  }
33
- async issueSearch(e, s, t = 50) {
33
+ async issueSearch(e, t, s = 50) {
34
34
  let c;
35
- const h = [];
35
+ const i = [];
36
36
  do {
37
- const u = await this.fetchSvc.fetch({
37
+ const r = await this.fetchSvc.fetch({
38
38
  method: "GET",
39
- url: this.fetchSvc.route`/rest/api/3/search/jql?jql=${e}&fields=${s.join(",")}&maxResults=${t}&${c ? "nextPageToken=" + c : ""}`
39
+ url: this.fetchSvc.route`/rest/api/3/search/jql?jql=${e}&fields=${t.join(",")}&maxResults=${s}&${c ? "nextPageToken=" + c : ""}`
40
40
  });
41
- h.push(...u.issues), c = u.nextPageToken;
41
+ i.push(...r.issues), c = r.nextPageToken;
42
42
  } while (c !== void 0);
43
- return h;
43
+ return i;
44
44
  }
45
- async addWorklog(e, s) {
45
+ async addWorklog(e, t) {
46
46
  return this.fetchSvc.fetch(
47
47
  {
48
48
  method: "POST",
49
49
  url: this.fetchSvc.route`/rest/api/3/issue/${e}/worklog`
50
50
  },
51
- s
51
+ t
52
52
  );
53
53
  }
54
54
  async queryForIssuesInProjects(e) {
55
- const s = `project IN (${e.join(",")})`;
56
- return this.issueSearch(s, ["key"], 5e3);
55
+ const t = `project IN (${e.join(",")})`;
56
+ return this.issueSearch(t, ["key"], 5e3);
57
57
  }
58
58
  async createIssue(e) {
59
59
  return this.fetchSvc.fetch(
@@ -64,45 +64,45 @@ const i = class i {
64
64
  e
65
65
  );
66
66
  }
67
- async updateIssue(e, s) {
67
+ async updateIssue(e, t) {
68
68
  return this.fetchSvc.fetch(
69
69
  {
70
70
  method: "PUT",
71
71
  url: this.fetchSvc.route`/rest/api/2/issue/${e}`
72
72
  },
73
- s
73
+ t
74
74
  );
75
75
  }
76
- async getIssueComments(e, s = 0) {
77
- const t = s ? `?startAt=${s}` : "";
78
- return await this.fetchSvc.fetch({
76
+ async getIssueComments(e, t = 0) {
77
+ const s = t ? `?startAt=${t}` : "";
78
+ return this.fetchSvc.fetch({
79
79
  method: "GET",
80
- url: this.fetchSvc.route`/rest/api/3/issue/${e}/comment${t}`
80
+ url: this.fetchSvc.route`/rest/api/3/issue/${e}/comment${s}`
81
81
  });
82
82
  }
83
- async getIssueCommentById(e, s) {
84
- return await this.fetchSvc.fetch({
83
+ async getIssueCommentById(e, t) {
84
+ return this.fetchSvc.fetch({
85
85
  method: "GET",
86
- url: this.fetchSvc.route`/rest/api/3/issue/${e}/comment/${s}`
86
+ url: this.fetchSvc.route`/rest/api/3/issue/${e}/comment/${t}`
87
87
  });
88
88
  }
89
- async addIssueComment(e, s) {
90
- return await this.fetchSvc.fetch(
89
+ async addIssueComment(e, t) {
90
+ return this.fetchSvc.fetch(
91
91
  {
92
92
  method: "POST",
93
93
  url: this.fetchSvc.route`/rest/api/3/issue/${e}/comment`
94
94
  },
95
- s
95
+ { body: t }
96
96
  );
97
97
  }
98
98
  // https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues/#api-rest-api-3-issue-issueidorkey-transitions-post
99
- async transitionIssue(e, s) {
99
+ async transitionIssue(e, t) {
100
100
  return this.fetchSvc.fetch(
101
101
  {
102
102
  method: "POST",
103
103
  url: this.fetchSvc.route`/rest/api/3/issue/${e}/transitions`
104
104
  },
105
- s
105
+ t
106
106
  );
107
107
  }
108
108
  async createIssueLink(e) {
@@ -115,8 +115,8 @@ const i = class i {
115
115
  );
116
116
  }
117
117
  };
118
- i.issueUrl = "/rest/api/3/issue";
119
- let r = i;
118
+ h.issueUrl = "/rest/api/3/issue";
119
+ let u = h;
120
120
  export {
121
- r as JiraIssueService
121
+ u as JiraIssueService
122
122
  };
@@ -619,7 +619,7 @@
619
619
  },
620
620
  {
621
621
  "kind": "Content",
622
- "text": " | undefined>"
622
+ "text": ">"
623
623
  },
624
624
  {
625
625
  "kind": "Content",
@@ -697,7 +697,7 @@
697
697
  },
698
698
  {
699
699
  "kind": "Content",
700
- "text": " | undefined>"
700
+ "text": ">"
701
701
  },
702
702
  {
703
703
  "kind": "Content",
@@ -33,11 +33,11 @@ export class JiraIssueService {
33
33
  // Warning: (ae-forgotten-export) The symbol "IssueComment" needs to be exported by the entry point data-access-issue.d.ts
34
34
  //
35
35
  // (undocumented)
36
- getIssueCommentById(issueIdOrKey: string, commentId: string): Promise<IssueComment | undefined>;
36
+ getIssueCommentById(issueIdOrKey: string, commentId: string): Promise<IssueComment>;
37
37
  // Warning: (ae-forgotten-export) The symbol "JiraCommentResponse" needs to be exported by the entry point data-access-issue.d.ts
38
38
  //
39
39
  // (undocumented)
40
- getIssueComments(issueIdOrKey: string, startAt?: number): Promise<JiraCommentResponse | undefined>;
40
+ getIssueComments(issueIdOrKey: string, startAt?: number): Promise<JiraCommentResponse>;
41
41
  // (undocumented)
42
42
  getIssueField<T>(issueIdOrKey: string, field: string): Promise<T | undefined>;
43
43
  // Warning: (ae-forgotten-export) The symbol "IssueFields" needs to be exported by the entry point data-access-issue.d.ts
@@ -49,7 +49,7 @@ declare interface CreatedIssue {
49
49
  }
50
50
 
51
51
  declare interface CreateIssue {
52
- fields: IssueFields;
52
+ fields: IssueFields<string>;
53
53
  properties?: {
54
54
  key: string;
55
55
  value: unknown;
@@ -132,7 +132,7 @@ declare type IssueComment = {
132
132
  visibility: Visibility;
133
133
  };
134
134
 
135
- declare type IssueFields = CustomFields & StaticIssueFields;
135
+ declare type IssueFields<T = AtlassianDocumentFormat> = CustomFields & StaticIssueFields<T>;
136
136
 
137
137
  declare interface IssueLink {
138
138
  outwardIssue?: Issue;
@@ -175,7 +175,7 @@ declare interface IssueStatus {
175
175
 
176
176
  declare interface IssueTransition {
177
177
  id: string;
178
- looped: boolean;
178
+ looped?: boolean;
179
179
  }
180
180
 
181
181
  declare type JiraCommentResponse = {
@@ -199,8 +199,8 @@ export declare class JiraIssueService {
199
199
  queryForIssuesInProjects(projectIds: number[]): Promise<Issue[]>;
200
200
  createIssue(body: CreateIssue): Promise<CreatedIssue>;
201
201
  updateIssue(issueIdOrKey: string, body: UpdateIssue): Promise<void>;
202
- getIssueComments(issueIdOrKey: string, startAt?: number): Promise<JiraCommentResponse | undefined>;
203
- getIssueCommentById(issueIdOrKey: string, commentId: string): Promise<IssueComment | undefined>;
202
+ getIssueComments(issueIdOrKey: string, startAt?: number): Promise<JiraCommentResponse>;
203
+ getIssueCommentById(issueIdOrKey: string, commentId: string): Promise<IssueComment>;
204
204
  addIssueComment(issueIdOrKey: string, body: AtlassianDocumentFormat): Promise<IssueComment>;
205
205
  transitionIssue(issueIdOrKey: string, body: TransitionIssueRequest): Promise<void>;
206
206
  createIssueLink(issueLinkRequest: IssueLinkRequest): Promise<void>;
@@ -221,7 +221,7 @@ declare interface Project {
221
221
 
222
222
  declare type RequestProductMethod = (url: FetchRoute, init: RequestInit) => Promise<APIResponse>;
223
223
 
224
- declare interface StaticIssueFields {
224
+ declare interface StaticIssueFields<T = AtlassianDocumentFormat> {
225
225
  statuscategorychangedate?: string;
226
226
  fixVersions?: FixVersions;
227
227
  resolution?: unknown;
@@ -262,7 +262,7 @@ declare interface StaticIssueFields {
262
262
  };
263
263
  created?: string;
264
264
  updated?: string;
265
- description?: AtlassianDocumentFormat;
265
+ description?: T;
266
266
  timetracking?: {
267
267
  remainingEstimate: string;
268
268
  timeSpent: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@valiantys/atlassian-app-frontend",
3
- "version": "3.0.0-alpha-9",
3
+ "version": "3.0.0-alpha-10",
4
4
  "description": "This library provides an Atlassian Forge Custom UI wrapper component that handles all the setup necessary to support an app that can run deployed or in standalone mode",
5
5
  "exports": {
6
6
  "./atlassian-app": {
@@ -892,6 +892,10 @@
892
892
  "text": "IssueFields",
893
893
  "canonicalReference": "@valiantys/atlassian-app-frontend!IssueFields:type"
894
894
  },
895
+ {
896
+ "kind": "Content",
897
+ "text": "<string>"
898
+ },
895
899
  {
896
900
  "kind": "Content",
897
901
  "text": ";"
@@ -903,7 +907,7 @@
903
907
  "name": "fields",
904
908
  "propertyTypeTokenRange": {
905
909
  "startIndex": 1,
906
- "endIndex": 2
910
+ "endIndex": 3
907
911
  }
908
912
  },
909
913
  {
@@ -2121,7 +2125,16 @@
2121
2125
  "excerptTokens": [
2122
2126
  {
2123
2127
  "kind": "Content",
2124
- "text": "export type IssueFields = "
2128
+ "text": "export type IssueFields<T = "
2129
+ },
2130
+ {
2131
+ "kind": "Reference",
2132
+ "text": "AtlassianDocumentFormat",
2133
+ "canonicalReference": "@valiantys/atlassian-app-frontend!AtlassianDocumentFormat:interface"
2134
+ },
2135
+ {
2136
+ "kind": "Content",
2137
+ "text": "> = "
2125
2138
  },
2126
2139
  {
2127
2140
  "kind": "Reference",
@@ -2137,6 +2150,10 @@
2137
2150
  "text": "StaticIssueFields",
2138
2151
  "canonicalReference": "@valiantys/atlassian-app-frontend!StaticIssueFields:interface"
2139
2152
  },
2153
+ {
2154
+ "kind": "Content",
2155
+ "text": "<T>"
2156
+ },
2140
2157
  {
2141
2158
  "kind": "Content",
2142
2159
  "text": ";"
@@ -2145,9 +2162,22 @@
2145
2162
  "fileUrlPath": "../../jira/shared/util-jira-v3-api/src/lib/issue.d.ts",
2146
2163
  "releaseTag": "Public",
2147
2164
  "name": "IssueFields",
2165
+ "typeParameters": [
2166
+ {
2167
+ "typeParameterName": "T",
2168
+ "constraintTokenRange": {
2169
+ "startIndex": 0,
2170
+ "endIndex": 0
2171
+ },
2172
+ "defaultTypeTokenRange": {
2173
+ "startIndex": 1,
2174
+ "endIndex": 2
2175
+ }
2176
+ }
2177
+ ],
2148
2178
  "typeTokenRange": {
2149
- "startIndex": 1,
2150
- "endIndex": 4
2179
+ "startIndex": 3,
2180
+ "endIndex": 7
2151
2181
  }
2152
2182
  },
2153
2183
  {
@@ -2615,7 +2645,7 @@
2615
2645
  "excerptTokens": [
2616
2646
  {
2617
2647
  "kind": "Content",
2618
- "text": "looped: "
2648
+ "text": "looped?: "
2619
2649
  },
2620
2650
  {
2621
2651
  "kind": "Content",
@@ -2627,7 +2657,7 @@
2627
2657
  }
2628
2658
  ],
2629
2659
  "isReadonly": false,
2630
- "isOptional": false,
2660
+ "isOptional": true,
2631
2661
  "releaseTag": "Public",
2632
2662
  "name": "looped",
2633
2663
  "propertyTypeTokenRange": {
@@ -4128,11 +4158,33 @@
4128
4158
  "excerptTokens": [
4129
4159
  {
4130
4160
  "kind": "Content",
4131
- "text": "export interface StaticIssueFields "
4161
+ "text": "export interface StaticIssueFields<T = "
4162
+ },
4163
+ {
4164
+ "kind": "Reference",
4165
+ "text": "AtlassianDocumentFormat",
4166
+ "canonicalReference": "@valiantys/atlassian-app-frontend!AtlassianDocumentFormat:interface"
4167
+ },
4168
+ {
4169
+ "kind": "Content",
4170
+ "text": "> "
4132
4171
  }
4133
4172
  ],
4134
4173
  "fileUrlPath": "../../jira/shared/util-jira-v3-api/src/lib/issue.d.ts",
4135
4174
  "releaseTag": "Public",
4175
+ "typeParameters": [
4176
+ {
4177
+ "typeParameterName": "T",
4178
+ "constraintTokenRange": {
4179
+ "startIndex": 0,
4180
+ "endIndex": 0
4181
+ },
4182
+ "defaultTypeTokenRange": {
4183
+ "startIndex": 1,
4184
+ "endIndex": 2
4185
+ }
4186
+ }
4187
+ ],
4136
4188
  "name": "StaticIssueFields",
4137
4189
  "preserveMemberOrder": false,
4138
4190
  "members": [
@@ -4256,9 +4308,8 @@
4256
4308
  "text": "description?: "
4257
4309
  },
4258
4310
  {
4259
- "kind": "Reference",
4260
- "text": "AtlassianDocumentFormat",
4261
- "canonicalReference": "@valiantys/atlassian-app-frontend!AtlassianDocumentFormat:interface"
4311
+ "kind": "Content",
4312
+ "text": "T"
4262
4313
  },
4263
4314
  {
4264
4315
  "kind": "Content",
@@ -83,7 +83,7 @@ export interface CreatedIssue {
83
83
  // @public (undocumented)
84
84
  export interface CreateIssue {
85
85
  // (undocumented)
86
- fields: IssueFields;
86
+ fields: IssueFields<string>;
87
87
  // (undocumented)
88
88
  historyMetadata?: HistoryMetadata;
89
89
  // (undocumented)
@@ -206,7 +206,7 @@ export type IssueComment = {
206
206
  };
207
207
 
208
208
  // @public (undocumented)
209
- export type IssueFields = CustomFields & StaticIssueFields;
209
+ export type IssueFields<T = AtlassianDocumentFormat> = CustomFields & StaticIssueFields<T>;
210
210
 
211
211
  // @public (undocumented)
212
212
  export interface IssueLink {
@@ -268,7 +268,7 @@ export interface IssueTransition {
268
268
  // (undocumented)
269
269
  id: string;
270
270
  // (undocumented)
271
- looped: boolean;
271
+ looped?: boolean;
272
272
  }
273
273
 
274
274
  // @public (undocumented)
@@ -434,7 +434,7 @@ export interface ProjectVersion {
434
434
  }
435
435
 
436
436
  // @public (undocumented)
437
- export interface StaticIssueFields {
437
+ export interface StaticIssueFields<T = AtlassianDocumentFormat> {
438
438
  // (undocumented)
439
439
  aggregatetimespent?: number;
440
440
  // (undocumented)
@@ -444,7 +444,7 @@ export interface StaticIssueFields {
444
444
  // (undocumented)
445
445
  creator?: User;
446
446
  // (undocumented)
447
- description?: AtlassianDocumentFormat;
447
+ description?: T;
448
448
  // (undocumented)
449
449
  fixVersions?: FixVersions;
450
450
  // (undocumented)
@@ -49,7 +49,7 @@ export declare interface CreatedIssue {
49
49
  }
50
50
 
51
51
  export declare interface CreateIssue {
52
- fields: IssueFields;
52
+ fields: IssueFields<string>;
53
53
  properties?: {
54
54
  key: string;
55
55
  value: unknown;
@@ -129,7 +129,7 @@ export declare type IssueComment = {
129
129
  visibility: Visibility;
130
130
  };
131
131
 
132
- export declare type IssueFields = CustomFields & StaticIssueFields;
132
+ export declare type IssueFields<T = AtlassianDocumentFormat> = CustomFields & StaticIssueFields<T>;
133
133
 
134
134
  export declare interface IssueLink {
135
135
  outwardIssue?: Issue;
@@ -172,7 +172,7 @@ export declare interface IssueStatus {
172
172
 
173
173
  export declare interface IssueTransition {
174
174
  id: string;
175
- looped: boolean;
175
+ looped?: boolean;
176
176
  }
177
177
 
178
178
  export declare interface IssueTypeDetails {
@@ -281,7 +281,7 @@ export declare interface ProjectVersion {
281
281
  userReleaseDate?: string;
282
282
  }
283
283
 
284
- export declare interface StaticIssueFields {
284
+ export declare interface StaticIssueFields<T = AtlassianDocumentFormat> {
285
285
  statuscategorychangedate?: string;
286
286
  fixVersions?: FixVersions;
287
287
  resolution?: unknown;
@@ -322,7 +322,7 @@ export declare interface StaticIssueFields {
322
322
  };
323
323
  created?: string;
324
324
  updated?: string;
325
- description?: AtlassianDocumentFormat;
325
+ description?: T;
326
326
  timetracking?: {
327
327
  remainingEstimate: string;
328
328
  timeSpent: string;