Skip to content

Commit 29ae7a5

Browse files
committed
Add links
1 parent 1b3f5a8 commit 29ae7a5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/update-low-priority.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ jobs:
3535
const queryResult = await adoClient.queryById(process.env.query_id);
3636
3737
for (const workItem of queryResult.workItems) {
38-
const workItemDetails = await adoClient.getWorkItem(workItem.id);
39-
console.log(workItemDetails);
38+
const workItemDetails = await adoClient.getWorkItem(workItem.id, expand:'links');
39+
console.log(workItemDetails.fields['System.Title']);
40+
console.log(workItemDetails.fields['System.Links']);
4041
}

0 commit comments

Comments
 (0)