It's all about the answers!

Ask a question

Using custom attribute to quick colorize in a plan


Colin Thorne (22421619) | asked Oct 16 '09, 5:42 a.m.
Hello,

I have added a custom attribute to user stories (and epics) and I would now like to use this custom attribute to color the work items in my product backlog.

However this custom attribute does not appear in the content assist for the quick-find entry field, and if I type it in (for example, attribute:value) it does not change the color of any workitems.

I have configured the plan attributes and the plan mode elements to include this custom attribute using the instructions here http://jazz.net/library/article/201 (and this works really well - I can group on the custom attribute and show the value in the plan). The icing on the cake would be to color the work items in a different color depending on the value of this custom attribute.

Is it possilble to use quck-colorize on custom attributes?

Thanks, Colin.

3 answers



permanent link
Michael Scharf (781) | answered Oct 16 '09, 10:18 a.m.
On Fri, 16 Oct 2009 11:53:03 +0200, cjthorne
<colin_thorne> wrote:

Hello,

I have added a custom attribute to user stories (and epics) and I
would now like to use this custom attribute to color the work items
in my product backlog.

However this custom attribute does not appear in the content assist
for the quick-find entry field, and if I type it in (for example,
attribute:value) it does not change the color of any workitems.

I have configured the plan attributes and the plan mode elements to
include this custom attribute using the instructions here
http://jazz.net/library/article/201 (and this works really well - I
can group on the custom attribute and show the value in the plan).
The icing on the cake would be to color the work items in a different
color depending on the value of this custom attribute.

Is it possilble to use quck-colorize on custom attributes?

Thanks, Colin.



Hi Colin,

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>

now, add the following parameter to the attribute element:
queryId="myAttribute"

after saving the configuration, reopen the plan. You can now add colorize
expressions such as
myAttribute:value

The attribute will also show up in the code assist
I've opened enhancement 96894: "Allow a custom attribue's QuickQuery id to
be configured" to allow configuring this via the UI

--
MikeS
Jazz Agile Planning team

permanent link
Peter B├Ąckman (1621) | answered Jun 29 '11, 4:34 a.m.
On Fri, 16 Oct 2009 11:53:03 +0200, cjthorne
<colin_thorne> wrote:

Hi Colin,

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>

now, add the following parameter to the attribute element:
queryId="myAttribute"

after saving the configuration, reopen the plan. You can now add colorize
expressions such as
myAttribute:value

The attribute will also show up in the code assist
I've opened enhancement 96894: "Allow a custom attribue's QuickQuery id to
be configured" to allow configuring this via the UI

--
MikeS
Jazz Agile Planning team


I also want this but I can not get this to work by editing the XML. Should this work in RTC 3.0.0 (Ifix1)?

If so could someone give a complete XML-snippet? Or if there is some other solution.

/BR Peter

permanent link
Joerg Kottig (6) | answered Oct 06 '11, 12:48 p.m.
Dear all! Following this thread it seems I am almost there to define a color for a customized item.

I am working with RTC 3.01 and my project source code looks like this:


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


I have tried queryId = "..." in attribute id and in parameters, however I get an error message that Attribute 'queryId' is not allowed in that context.

Do you have a working example?
Thanks a lot!

Your answer


Register or to post your answer.