It's all about the answers!

Ask a question

REST API: retrieve time sheet entries based on iteration


françois rodier (111) | asked Sep 21 '17, 10:30 a.m.

 Hello,

is there a way to retrive a list of time sheet entries with REST api, based on the date of the time sheet entry, and the iteration concerned?
For now, i can retrieve time sheet entries between two dates with the following criteria:

workItem/timeSheetEntry[projectArea/name='" & CONST_projectName & "' and startDate> " & pStartdate & " and startDate< " & pEnddate & "]/(<my attributes>)"

I would like something like:

workItem/timeSheetEntry[projectArea/name='" & CONST_projectName & "' and startDate> " & pStartdate & " and startDate< " & pEnddate & " and workItem/target/name='<MyIteration>']/(<my attributes>)"

But it's not working :(

Is there a way to do so?

Thanks in advance

Be the first one to answer this question!


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.