Commit 70a214a
fix: derive work item ParentId from Hierarchy-Reverse relation
System.Parent field is not consistently populated by the Azure DevOps REST API,
causing parentId to come back null even when the work item has a parent.
Read the parent ID from the System.LinkTypes.Hierarchy-Reverse relation URL,
keeping the System.Parent field read as a fallback.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent d59a012 commit 70a214a
1 file changed
Lines changed: 9 additions & 1 deletion
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
366 | 366 | | |
367 | 367 | | |
368 | 368 | | |
369 | | - | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
370 | 378 | | |
371 | 379 | | |
372 | 380 | | |
| |||
0 commit comments