public async Task DeleteWorkItemType() { var pt = new ProcessTemplate("https://whateveryousay.visualstudio.com", "gvdiglh3bcvi3silg5hgkqhqia5b6635ff6ek64vcubullzfldvq"); var process = await pt.GetProcessByName("AgileWithExceptions"); await pt.DeleteExceptionWorkItemType(process.TypeId, "AgileWithExceptions.Exception6"); }
public async Task GetWorkItemType() { var pt = new ProcessTemplate("https://whateveryousay.visualstudio.com", "gvdiglh3bcvi3silg5hgkqhqia5b6635ff6ek64vcubullzfldvq"); var process = await pt.GetProcessByName("AgileWithExceptions"); ProcessWorkItemType wit = await pt.GetWorkItemType(process.TypeId, "AgileWithExceptions.Bug"); ProcessWorkItemType witBug = await pt.GetWorkItemType(process.TypeId, "AgileWithExceptions.Bug"); // FormLayout layout = witProcessClient.GetFormLayoutAsync(processId, workItemTypeReferenceName).Result; }