It's all about the answers!

Ask a question

REST API for Depends On/Block workitem


Ayse Bener (115) | asked Jan 31 '18, 2:02 p.m.

 Hi,

I am trying to retrieve the calendar date/time that block/depend-on work item are added to the history using REST API. I know how to get the id but I am not sure how to get the time? For instant for blocker id I can do: 

https:////rpt/repository/workitem?fields=link/workItem[id=***]/(parent/id)


But I am not sure how to find the date/time the link is added to history. 

Thanks


One answer



permanent link
Donald Nong (14.5k514) | answered Jan 31 '18, 10:30 p.m.

The history can be found in the itemHistory property (it has one or more entries). You need to locate the particular link in one of these entries and then check the modified date of that entry. Doable but not straightforward.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.