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

Custom WorkItem: modifiable Products and Components

Hi,

Using RTC 2.0.0.2 and the Java Plain Client, on Windows.

I would like to create in a single ProjectArea custom WorkItems that represent tickets for different Products and Components within the Products.

Both the Products and the Components must be modifiable over time.
I have thought that Products would be represented by WI Categories and Components by a custom Attribute typed by a custom Enumeration.

This works fine (I have been able to customize the process and to create the client application that programmatically creates the tickets) but I wonder if this is the best way to do it.

What is then the best way to modify the category list and the values of the enumeration literals to add new products/components?

Additionally, I'm not convinced by this approach because I cannot restrict which Components belong to which Products.

I have checked this but have not figured yet how it would apply:
https://jazz.net/wiki/bin/view/Main/AttributeValueProviders#Custom_Providers

Thank you for your suggestions, Lara

0 votes



2 answers

Permanent link
Have you considered using nested categories, instead of a custom
"Component" attribute?

Cheers,
Geoff

lziosi wrote:
Hi,

Using RTC 2.0.0.2 and the Java Plain Client, on Windows.

I would like to create in a single ProjectArea custom WorkItems that
represent tickets for different Products and Components within the
Products.

Both the Products and the Components must be modifiable over time.
I have thought that Products would be represented by WI Categories and
Components by a custom Attribute typed by a custom Enumeration.

This works fine (I have been able to customize the process and to
create the client application that programmatically creates the
tickets) but I wonder if this is the best way to do it.

What is then the best way to modify the category list and the values
of the enumeration literals to add new products/components?

Additionally, I'm not convinced by this approach because I cannot
restrict which Components belong to which Products.

I have checked this but have not figured yet how it would apply:
https://jazz.net/wiki/bin/view/Main/AttributeValueProviders#Custom_Providers

Thank you for your suggestions, Lara

0 votes


Permanent link
Thank you. For the retrieval of the nested category the usual code:


List path= Arrays.asList(categoryName.split("/"));
ICategoryHandle category= workItemClient.findCategoryByNamePath(projectArea, path, null);



worked having passed a string like: "Product/Component" as value of categoryName.

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,938

Question asked: Dec 22 '09, 11:33 a.m.

Question was seen: 5,612 times

Last updated: Dec 22 '09, 11:33 a.m.

Confirmation Cancel Confirm