Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Getting the attributes of a custom work item type (reports)

Hi folks,

I have a custom work item type in RTC 2.0, and I'm having trouble pulling live information about it into a BIRT report. How can I retrieve the list of custom attributes on a custom work item type?


I can find the custom work item type in the TYPE table:

TYPE_ID							    WI_TYPE	

_Efk74JKzEdyxEJbWRNPMrQtMyWIType MyWIType


Given a work item number, I can retrieve the custom attributes that are attached to that work item from the LIVE_WORKITEM_CNT table:
WI_ID		WI_TYPE	STRING_KEY	STRING_VAL	

1234 MyWIType MyAttribute1 myenumeration.literal.l2
1234 MyWIType MyAttribute2 myenumeration.literal.l1
1234 MyWIType MyAttribute3 myenumeration.literal.l2
1234 MyWIType MyAttribute4 myenumeration.literal.l1
etc...


However, I can't find a table that lists the custom attributes that are on my custom work item type. Is there a table that links the custom type to the attributes that are on that type?

0 votes


Accepted answer

Permanent link
On 10/16/2009 2:08 PM, tmcmack wrote:
Hi folks,

I have a custom work item type in RTC 2.0, and I'm having trouble
pulling live information about it into a BIRT report. How can I
retrieve the list of custom attributes on a custom work item type?


I can find the custom work item type in the TYPE table:

TYPE_ID WI_TYPE
_Efk74JKzEdyxEJbWRNPMrQtMyWIType MyWIType

Given a work item number, I can retrieve the custom attributes that
are attached to that work item from the LIVE_WORKITEM_CNT table:
WI_ID		WI_TYPE	STRING_KEY	STRING_VAL	
1234 MyWIType MyAttribute1 myenumeration.literal.l2
1234 MyWIType MyAttribute2 myenumeration.literal.l1
1234 MyWIType MyAttribute3 myenumeration.literal.l2
1234 MyWIType MyAttribute4 myenumeration.literal.l1
etc...


However, I can't find a table that lists the custom attributes that
are on my custom work item type. Is there a table that links the
custom type to the attributes that are on that type?


I don't think there's any way to get this information, other than from a
single work item like you mention above. This information is (obviously)
stored in the project specification in the repository, but the work
items data set doesn't give you a way to access that information.

james
RTC Reports Team Lead
Timothy McMackin selected this answer as the correct answer

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

Question asked: Oct 16 '09, 2:07 p.m.

Question was seen: 4,699 times

Last updated: Oct 16 '09, 2:07 p.m.

Confirmation Cancel Confirm