how to get worktitem attribute value which customized by me
One answer
I extended workitem and add a field ,how to get the value with JAVA api ,maybe like .get(*).
Hi,
Try this:
IWorkItemClient workItemClient = (IWorkItemClient) teamRepository
.getClientLibrary(IWorkItemClient.class);
URI uri = URI.create(prop.getProjectAreaName().trim().replaceAll(" ", "%20"));
IProjectArea projectArea = (IProjectArea) processClient
.findProcessArea(uri, null, null);
IAttribute attEnv = workItemClient.findAttribute(projectArea,
{your workitem attribute id}, null);
Cheers!!
Jorge