Skip to content

Commit

Permalink
Merge pull request #146 from lktraser/main
Browse files Browse the repository at this point in the history
#62 missing work items return assignment
  • Loading branch information
BlueBasher authored Aug 14, 2024
2 parents a92979c + 13e4388 commit 7bcfd80
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/WorkItemUpdater.ts
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,8 @@ async function getBuildOrReleaseWorkItemsRefs(vstsWebApi: WebApi, settings: Sett
}
} else {
for (const currentArtifact of currentRelease.artifacts) {
buildClient.getBuildWorkItemsRefs(settings.projectId, Number(currentArtifact.definitionReference.version.id), settings.workitemLimit);
const releaseWorkItemRefs = await buildClient.getBuildWorkItemsRefs(settings.projectId, Number(currentArtifact.definitionReference.version.id), settings.workitemLimit);
pushWorkItemsRefs(workItemRefs, releaseWorkItemRefs);
}
}
return workItemRefs;
Expand Down

0 comments on commit 7bcfd80

Please sign in to comment.