private async Task <RevisionHistoryAttachments> GetWorkItemUpdates(IMigrationContext migrationContext, WorkItem sourceWorkItem) { IList <RevisionHistoryAttachments> revisionHistoryAttachments = new List <RevisionHistoryAttachments>(); var wiUpdates = await WorkItemTrackingHelpers.GetWorkItemUpdatesAsync(migrationContext.SourceClient.WorkItemTrackingHttpClient, sourceWorkItem.Id.Value); return(new RevisionHistoryAttachments { Workitem = sourceWorkItem, Updates = wiUpdates }); }
private async Task <IList <WorkItemUpdate> > GetWorkItemUpdates(IMigrationContext migrationContext, WorkItem sourceWorkItem, int skip = 0) { return(await WorkItemTrackingHelpers.GetWorkItemUpdatesAsync(migrationContext.SourceClient.WorkItemTrackingHttpClient, sourceWorkItem.Id.Value, skip)); }