diff --git a/CHANGELOG.md b/CHANGELOG.md index 9595418615fe9..20fa89949b179 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,7 +12,11 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p ### Changed -- Improves editor revision navigation ([#4200](https://github.com/gitkraken/vscode-gitlens/issues/4200)) +- Improves editor revision navigation ([#4207](https://github.com/gitkraken/vscode-gitlens/issues/4207)) + +### Fixed + +- Fixes Incorrect PR Link Across Azure DevOps Projects ([#3218](https://github.com/gitkraken/vscode-gitlens/issues/3218)) ## [17.0.1] - 2025-04-03 diff --git a/README.md b/README.md index bc8b6213dd41c..703d4e8a0e6b1 100644 --- a/README.md +++ b/README.md @@ -444,6 +444,7 @@ A big thanks to the people that have contributed to this project 🙏❤️: - Jean Pierre ([@jeanp413](https://github.com/jeanp413)) — [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=jeanp413) - Dawn Hwang ([@hwangh95](https://github.com/hwangh95)) — [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=hwangh95) - Emmanuel Ferdman ([@emmanuel-ferdman](https://github.com/emmanuel-ferdman)) — [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=emmanuel-ferdman) +- Jordon Kashanchi ([@jordonkash](https://github.com/JordonKash)) — [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=jordonkash) Also special thanks to the people that have provided support, testing, brainstorming, etc: diff --git a/src/plus/integrations/providers/azure/azure.ts b/src/plus/integrations/providers/azure/azure.ts index 6b55c5111a92c..aa9d41255894f 100644 --- a/src/plus/integrations/providers/azure/azure.ts +++ b/src/plus/integrations/providers/azure/azure.ts @@ -105,7 +105,7 @@ export class AzureDevOpsApi implements Disposable { const pr = prResult?.value.find(pr => pr.sourceRefName.endsWith(branch)); if (pr == null) return undefined; - return fromAzurePullRequest(pr, provider, owner, projectName); + return fromAzurePullRequest(pr, provider, owner); } catch (ex) { Logger.error(ex, scope); return undefined; diff --git a/src/plus/integrations/providers/azure/models.ts b/src/plus/integrations/providers/azure/models.ts index dea135e4d91b8..b031529230f9a 100644 --- a/src/plus/integrations/providers/azure/models.ts +++ b/src/plus/integrations/providers/azure/models.ts @@ -476,7 +476,6 @@ export function fromAzurePullRequest( pr: AzurePullRequest, provider: Provider, orgName: string, - projectName: string, ): PullRequest { const url = new URL(pr.url); return new PullRequest( @@ -531,7 +530,7 @@ export function fromAzurePullRequest( undefined, { id: pr.repository?.project?.id, - name: projectName, + name: pr.repository.project.name, resourceId: '', // TODO: This is a workaround until we can get the org id here. resourceName: orgName, },