It's all about the answers!

Ask a question

Using a Custom Attribute to Colorize WI in a RTC Plan


Adil Chahid (45524118) | asked Aug 03 '11, 3:17 p.m.
Hi all,

We are not able to use a custom attribute (Enumeration) to colorize Work Items in Plans.

We've defined a new Enumeration with 4 String Values.
We've defined a new custom attribute for the Task Work Item Type (Using the Formal Project Process) that is defined of the type of the previously created Enumeration.
We've added visually the attribute in the Editor presentation, in order to make it available to the user.
We've opened the Planning / Plan Attributes Pane from the Project Area's Process Configuration and we've addedd in to the Attribute Mapping Section the new Attribute as described below.



The Work Item component allows defining custom attributes. In order to make them available to the Agile Planning tooling, they must be added in the Attribute Mapping section. To do so, select Add and chose an attribute you want to use for planning.
...
Adding a work item attribute to planning makes it available for use with groupings, sorters, and filters. Further, it can be selected as a column visible in the View Layout as well as used when defining colorize-rules.

Reference: https://jazz.net/library/article/201



From the Plan, while editing a view, we've tried to configure the colours of the WI by adding a few expression as described below:

type:Task ColouredStatus="Green"
type:Task ColouredStatus="Yellow"
type:Task ColouredStatus="Red"

We've used the name of the Attribute as it was defined from the Work Items " Types and Enumeration Section for the Task Work Item type.

This doesn't work at all, it is not even proposed by the content Assist when trying to edit the expression.

From the Similar Post: https://jazz.net/forums/viewtopic.php?t=7356&highlight=colorize, We've also tried to add the attribute as described below in the process configuration source.

this is possible, however there's currently a small piece missing in the
UI to specify the attribute name by which you query it.
After adding the attribute in the planning configuration, switch to the
process configuration source. You will find an entry for the attribute you
created, similar to this one:

<attribute>
<parameters>
<parameter>
</parameters>
</attribute>


Unfortunately it did not work.

Did someone was able to use an expression using a attribute defined as an enumeration for colouring work Items in Plans?

Please advise and thanks in advance!

2 answers



permanent link
Adil Chahid (45524118) | answered Aug 11 '11, 2:35 p.m.
Hi all,
as mentionned by IBM, it seems that the flagged issue has been fixed in version 3.0.1 of the product.
Please see Defect 173196:
Unable to Use a WI Custom Attribute (Enumeration) in order to Colorize WI in a RTC Plan: https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=173196

permanent link
Adil Chahid (45524118) | answered Aug 03 '11, 3:55 p.m.
Please also note that the Quick Filter (From the Plan view) doesn't consider the Custom Attribute as well.
Thanks

Your answer


Register or to post your answer.