Skip to content

Commit 6a25a1d

Browse files
committedMar 5, 2025
updates
1 parent b2112f5 commit 6a25a1d

File tree

2 files changed

+22
-15
lines changed

2 files changed

+22
-15
lines changed
 

‎CHANGELOG.md

+14-7
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,25 @@
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+
111
## What's new in 3.4.10
212

313
### Bug Fixes
414

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.
616

717
## What's new in 3.4.9
818

9-
### Bug Fixes
19+
### Rollback release
1020

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.
1223

1324
## What's new in 3.4.8
1425

@@ -18,10 +29,6 @@
1829

1930
## What's new in 3.4.7
2031

21-
### Features
22-
23-
- Finalized code for Auth UI experiment.
24-
2532
### Bug Fixes
2633

2734
- Fixed 'Create Jira issue' page getting stuck on the loader when the first Jira server is unreachable.

‎src/atlclients/loginManager.ts

+8-8
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,7 @@ export class LoginManager {
9090

9191
siteDetails.forEach(async (siteInfo) => {
9292
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);
9894
this._siteManager.addSites([siteInfo]);
9995

10096
authenticatedEvent(siteInfo, isOnboarding).then((e) => {
@@ -258,13 +254,17 @@ export class LoginManager {
258254
await this._credentialManager.saveAuthInfo(siteDetails, credentials);
259255

260256
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);
264258
}
265259

266260
this._siteManager.addOrUpdateSite(siteDetails);
267261

268262
return siteDetails;
269263
}
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+
}
270270
}

0 commit comments

Comments
 (0)
Failed to load comments.