How to get Owner and Creator by RTC API
I try this to get workitem owner and creator:
IWorkItem fetchCompleteItem=(IWorkItem)teamRepository.itemManager().fetchCompleteItem(next, IItemManager.DEFAULT, monitor);
System.out.println("owner:"+fetchCompleteItem.getOwner()+",creator:"+fetchCompleteItem.getCreator());
The output is:
owner:com.ibm.team.repository.common.model.impl.ContributorHandleImpl@6add6add (stateId: <unset>, itemId: , origin: com.ibm.team.repository.client.internal.TeamRepository@352d352d, immutable: true)
How can I get the workitem owner and creator? How can I find workitem by owner?
Thanks a lot....
IWorkItem fetchCompleteItem=(IWorkItem)teamRepository.itemManager().fetchCompleteItem(next, IItemManager.DEFAULT, monitor);
System.out.println("owner:"+fetchCompleteItem.getOwner()+",creator:"+fetchCompleteItem.getCreator());
The output is:
owner:com.ibm.team.repository.common.model.impl.ContributorHandleImpl@6add6add (stateId: <unset>, itemId: , origin: com.ibm.team.repository.client.internal.TeamRepository@352d352d, immutable: true)
How can I get the workitem owner and creator? How can I find workitem by owner?
Thanks a lot....
One answer
Moved from Social Software and Document Collaboration Forum.
I try this to get workitem owner and creator:
IWorkItem fetchCompleteItem=(IWorkItem)teamRepository.itemManager().fetchCompleteItem(next, IItemManager.DEFAULT, monitor);
System.out.println("owner:"+fetchCompleteItem.getOwner()+",creator:"+fetchCompleteItem.getCreator());
The output is:
owner:com.ibm.team.repository.common.model.impl.ContributorHandleImpl@6add6add (stateId: <unset>, itemId: , origin: com.ibm.team.repository.client.internal.TeamRepository@352d352d, immutable: true)
How can I get the workitem owner and creator? How can I find workitem by owner?
Thanks a lot....