2 files changed +22
-15
lines changed Original file line number Diff line number Diff line change
1
+ ## What's new in 3.4.12
2
+
3
+ ### Bug Fixes
4
+
5
+ - Improved exception handling during Feature Flags and Experimentation initialization.
6
+
7
+ ## What's new in 3.4.11
8
+
9
+ - Internal changes only.
10
+
1
11
## What's new in 3.4.10
2
12
3
13
### Bug Fixes
4
14
5
- - Forward fixed the bug in 3.4.8 for Server / Data Center users on Authentication
15
+ - Fixed the bug in 3.4.8 for Server / Data Center users on Authentication.
6
16
7
17
## What's new in 3.4.9
8
18
9
- ### Bug Fixes
19
+ ### Rollback release
10
20
11
- - Rolled back 3.4.8 release as it contained a breaking bug for Server / Data Center users on Authentication
21
+ - This release is the same as 3.4.7.
22
+ - 3.4.8 was rolled back because it contains a breaking bug for Server / Data Center users on Authentication.
12
23
13
24
## What's new in 3.4.8
14
25
18
29
19
30
## What's new in 3.4.7
20
31
21
- ### Features
22
-
23
- - Finalized code for Auth UI experiment.
24
-
25
32
### Bug Fixes
26
33
27
34
- Fixed 'Create Jira issue' page getting stuck on the loader when the first Jira server is unreachable.
Original file line number Diff line number Diff line change @@ -90,11 +90,7 @@ export class LoginManager {
90
90
91
91
siteDetails . forEach ( async ( siteInfo ) => {
92
92
await this . _credentialManager . saveAuthInfo ( siteInfo , oauthInfo ) ;
93
-
94
- const client = await Container . clientManager . jiraClient ( siteInfo ) ;
95
- const fields = await client . getFields ( ) ;
96
- siteInfo . hasResolutionField = fields . some ( ( f ) => f . id === 'resolution' ) ;
97
-
93
+ await this . updateHasResolutionField ( siteInfo ) ;
98
94
this . _siteManager . addSites ( [ siteInfo ] ) ;
99
95
100
96
authenticatedEvent ( siteInfo , isOnboarding ) . then ( ( e ) => {
@@ -258,13 +254,17 @@ export class LoginManager {
258
254
await this . _credentialManager . saveAuthInfo ( siteDetails , credentials ) ;
259
255
260
256
if ( site . product . key === ProductJira . key ) {
261
- const client = await Container . clientManager . jiraClient ( siteDetails ) ;
262
- const fields = await client . getFields ( ) ;
263
- siteDetails . hasResolutionField = fields . some ( ( f ) => f . id === 'resolution' ) ;
257
+ await this . updateHasResolutionField ( siteDetails ) ;
264
258
}
265
259
266
260
this . _siteManager . addOrUpdateSite ( siteDetails ) ;
267
261
268
262
return siteDetails ;
269
263
}
264
+
265
+ private async updateHasResolutionField ( siteInfo : DetailedSiteInfo ) : Promise < void > {
266
+ const client = await Container . clientManager . jiraClient ( siteInfo ) ;
267
+ const fields = await client . getFields ( ) ;
268
+ siteInfo . hasResolutionField = fields . some ( ( f ) => f . id === 'resolution' ) ;
269
+ }
270
270
}
0 commit comments