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

how to create a a reference list of a Work Item type against another?

Hi,

I have 2 work item type (let's call it as WIT_A and WIT_B), on the WIT_B there is a customized attribute named as "wit_a_name". Each time a new WIT_A is created, there is the need to enter to a value on "wit_a_name" field

I need a combo box on WIT_B that will list all the values  values entered on the field "wit_a_name" in WIT_A. Is it possible?

Note: On ClearQuest it is called as "reference".


I do appreciate any help.

Regards.
R.A.

0 votes



One answer

Permanent link
wouldn't the RTC way be to create a related workitem reference link from the WIT_A object to the related WIT_B object?  

these would then show in the Links section of both workitems as Related.

there is no EASY way to add a listbox of arbitrary data to a workitem presentation on RTC.
there is a 'Workitem List' type, so you could create a new variable, add it to the presentation,
but you would have to create some code to add data to this list.. (course u would have to create code to create links)

you 'might' be able to use an attribute value provider script to calculate the value to add to the list..
Project open, process config, config data, workitems, attribute customization, value providers, new -type=calculated values, subtype=script based .. this supports a small Dojo script to return the value that should be in the field.

Sam


0 votes

Comments

I would echo Sam's comments: If you are trying to create a relationship between 2 work items, using the "Add Related" functionality of RTC is likely the best way to achieve this linkage. The Select Work Items dialog makes it possible to search other work items via ID or full text and filter on work item type, resolved status, etc. This creates a bi-directional link that can be followed easily from either work item.

If you link items based on a text value in the way you propose, the link would be broken if someone changes the value in the originating work item.

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
× 6,125

Question asked: Jul 09 '12, 5:30 p.m.

Question was seen: 4,801 times

Last updated: Jul 10 '12, 1:18 p.m.

Confirmation Cancel Confirm