Retrieve complete history changes for a Story

3 views
Skip to first unread message

William

unread,
Sep 1, 2010, 4:47:44 AM9/1/10
to VersionOne-dev
Hi,

I would like to get the complete history changes for a story. I want
to find all the times a story was changed, by whom and what comments
they left. I am using the core api (C#). I can retrieve the
ChangeDate, ChangedBy.Name and ChangeComment for the story but this
only returns the last time these values changed.

Project rootProject = sandboxInstance.Get.ProjectByName("Root
Project");
EpicFilter epicFilter = new EpicFilter();
var epics = rootProject.GetEpics(epicFilter, true);

foreach (var epic in epics)
{
Console.WriteLine("{0},{1},{2},{3}", epic.Name,
epic.ChangeDate, epic.ChangedBy.Name, epic.ChangeComment);
}

It does not return all the times these values changed for a given
story. If someone could tell me how to do this it would be
appreciated.

Regards
Will
Reply all
Reply to author
Forward
0 new messages