It's all about the answers!

Ask a question

How can i get Start date and End Date of Work item from system


Anurag Rajput (8011522) | asked Jan 26 '13, 2:20 a.m.
Hi ,

I have created two attributes 'Actual Start Date' and 'Actual End Date' in Work Item.

The moment State of Work item Changes to 'Start Working'  the field  Actual Start date should take date and time from system and for 'Complete' state, the field  Actual End date should take date and time from system.

How is it possible to Do??

Thanks in Advance.

2 answers



permanent link
sam detweiler (12.5k6183201) | answered Jan 26 '13, 8:29 a.m.
edited Jan 26 '13, 8:33 a.m.
for your Start Working date you would have to write a Participant extension or value provider
or a report to get this out of the workitem history

but

Resolution Date  is already provided

Comments
Anurag Rajput commented Jan 27 '13, 1:15 a.m.

 Hi Sam,


Thanks for Reply...

How can I query to get Resolution Date of a particular Work item?


Rajat Singh commented Jan 27 '13, 3:56 a.m.


permanent link
sam detweiler (12.5k6183201) | answered Jan 27 '13, 7:13 a.m.
sorry. not quite sure I understand the question

as you show, you can output the Resolution date as part of the Query output

to select workitems with a specific resolution date, or a general resolution date (6 days ago), you use the
condition tab. works the same in both 3.0.1.1 and 4.0.1 here on my machine

the Query Condition tab allows u to filter workitems
the  Query Display tab allows u to select the specific data to see of the selected workitems.


Your answer


Register or to post your answer.