We create and run a build, which has associated changes and linked work items.
But if we try to get linked items from the api, we have 0 response elements.
For some builds, this works, but for others it does not.
What connections are made between the build and the workitem when we run the build?
How we can get list of linked work items, which we see in summary of build?
p.s. The request URL is 100% correct, because sometimes we have a correct response, but then we have a problem when we change build_id
.
We tried to figure out the exact behavior based on the build id and build number, but we didn't succeed.
Example: create a workitem, fix it in a branch, merge a branch into master, release a build.
A workitem is attached to the build, shown when requested via the API.
We delete the released build, release the build again, then the workitem is lost and it is not tied to any other build (since the first one was deleted).
Something similar happens without deleting the build, but we just can't get a workitem.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…