It's all about the answers!

Ask a question

retrive workItems who's Owner name is Unassigned.


ma shuai (1622) | asked Sep 07 '10, 3:58 a.m.
This is my code .I've no idear about Unassinged.
How can i get the IContributorHandle for Unassigned?
Thans for your help!

IQueryableAttribute contributorAttribute = findAttribute(projectArea
.getProjectArea(), IWorkItem.OWNER_PROPERTY, monitor);
AttributeExpression contributorExpression = new AttributeExpression(
contributorAttribute, AttributeOperation.EQUALS, Unassinged);
term.add(contributorExpression);

Be the first one to answer this question!


Register or to post your answer.