diff --git a/.changeset/mean-tomatoes-sip.md b/.changeset/mean-tomatoes-sip.md new file mode 100644 index 0000000000..5ff12a2444 --- /dev/null +++ b/.changeset/mean-tomatoes-sip.md @@ -0,0 +1,5 @@ +--- +'@backstage/plugin-azure-devops': patch +--- + +Fixed bug in EntityPageAzurePipeline component where build definition annotation used for viewing pipelines diff --git a/plugins/azure-devops/src/api/AzureDevOpsClient.ts b/plugins/azure-devops/src/api/AzureDevOpsClient.ts index ea78f3d3a1..9163836e0f 100644 --- a/plugins/azure-devops/src/api/AzureDevOpsClient.ts +++ b/plugins/azure-devops/src/api/AzureDevOpsClient.ts @@ -166,6 +166,7 @@ export class AzureDevOpsClient implements AzureDevOpsApi { if (options?.top) { queryString.set('top', options.top.toString()); } + queryString.append('entityRef', entityRef); const urlSegment = `builds/${encodeURIComponent( projectName, )}?${queryString}`;