Jazz Register Log in
Jazz Forum Welcome to the Jazz Community Forum

Welcome to the Jazz Community Forum

Connect and collaborate with IBM Engineering experts and users

Problem when retrieving defect from RTC

I have retrieve workitem list by executing a query. This query returns some defects, but IWorkItem interface only have limited method to get basic information.How can I get Severity,Project Area,Team Area,Creation Date,Created Owner?
following is part of my code:


System.out.println("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"

"workitem Owner: "+workItem.getOwner()+getProjectArea() "+workItem.getProjectArea()+"getPriority()"+workItem.getPriority()
+"getSeverity()"+workItem.getSeverity()
}


The result is:

workitem Owner:

com.ibm.team.repository.common.model.impl.ContributorHandleImpl@10b010b0 (stateId: <unset>, itemId: [UUID _E6FDoCevEd-RHo7x97Mg6g], origin: com.ibm.team.repository.client.internal.TeamRepository@73c073c, immutable: true)
getProjectArea():com.ibm.team.process.internal.common.impl.ProjectAreaHandleImpl@11041104 (stateId: [UUID _8YBXlnhJEd-C3djMVw8EaA], itemId: [UUID _PbPzoBzrEd--lcfChWc9hw], origin: com.ibm.team.repository.client.internal.TeamRepository@73c073c, immutable: true)
getPriority():com.ibm.team.workitem.common.model.IPriority:priority.literal.l07
getSeverity():com.ibm.team.workitem.common.model.ISeverity:severity.literal.l3



How can I parse workitem into defect, such as defect id, defect owner, defect status, defect priority ...

0 votes



3 answers

Permanent link
Thanks Patrick, but where can I find your answer? what is jazz.user?
Can you give me a link?

http://jazz.net/forums/viewtopic.php?t=13681

--
Regards,
Patrick
RTC Work Item Component Lead

0 votes


Permanent link
Thanks Patrick, but where can I find your answer? what is jazz.user? Can you give me a link?

On 11/16/10 12:08 PM, liyuncdl wrote:
I have retrieve workitem list by executing a query. This query returns
some defects, but IWorkItem interface only have limited method to get
basic information.How can I get Severity,Project Area,Team
Area,Creation Date,Created Owner?
following is part of my code:

This group is the right one to ask these questions, but please see my
answer to your post in jazz.user

--
Regards,
Patrick
RTC Work Item Component Lead

0 votes


Permanent link
On 11/16/10 12:08 PM, liyuncdl wrote:
I have retrieve workitem list by executing a query. This query returns
some defects, but IWorkItem interface only have limited method to get
basic information.How can I get Severity,Project Area,Team
Area,Creation Date,Created Owner?
following is part of my code:

This group is the right one to ask these questions, but please see my
answer to your post in jazz.user

--
Regards,
Patrick
RTC Work Item Component Lead

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,995

Question asked: Nov 16 '10, 5:58 a.m.

Question was seen: 5,590 times

Last updated: Nov 16 '10, 5:58 a.m.

Confirmation Cancel Confirm