0
I am creating a new Workitem and need to change the responsible person(Field: Assigne To) for it. To create the Workitem I do as follows:
WorkItem workItem = new WorkItem(workItemType)
{
State = "A RESOLVER",
Title = "[TESTE INTEGRAÇÃO] " + solicitacao.numero + " - " + solicitacao.descricao,
AreaPath = ITERATION_PATH + "\\" + solicitacao.tipo,
Description = GetDescriptionMessage(solicitacao),
IterationPath = GetCurrentIterationPath(ITERATION_PATH),
};
workItem.Save();
How do I gain access to the field Assignedto?