It's all about the answers!

Ask a question

Workitem custom attributes on web UI


Annie Ying (2063103) | asked Jan 23 '08, 5:28 p.m.
JAZZ DEVELOPER
How can I make workitem custom attributes show up on the WebUI? I implemented some custom attributes following the instruction here:
https://jazz.net/jazzdocs/index.jsp?topic=/com.ibm.team.workitem.doc/topics/t_defining_custom_attributes.html
They show up on a workitem form in the TeamConcert client, but not the WebUI.

Thanks!
Annie

4 answers



permanent link
Annie Ying (2063103) | answered Mar 20 '08, 3:34 p.m.
JAZZ DEVELOPER
Sorry for the late reply. I didn't follow up because I was able to use the custom attributes on in the Jazz client, but I do really want the attributes to appear in the Web UI now.

Yes, I'm using Beta 2a. I'm defining string custom attributes. (I'd actually like it to be an integer or a double, but I can live with strings.) This is how I changed the process specification:

- Define the custom attribute of an workitem as follows. Add the following XML fragments:

<customAttributes
category="com.ibm.team.workitem.workItemType">
<customAttribute
id="myAttr"
type="string"
name="My attribute"
/>
</customAttributes>

as a child of the XML node

<configuration-data
id="com.ibm.team.workitem.configuration.workItemTypes"
xmlns="http://com.ibm.team.workitem/workitemTypes">

- Specify how the attributes should appear on a workitem form as follows. Add the following XML fragments

<presentation attributeId="myAttr"
kind="com.ibm.team.workitem.kind.string"/>

as children of the XML node

<section id="com.ibm.team.workitem.section.details">

Is there any hope for me to have the custom attribute appear on the Web UI? Thanks again for your help!

Annie

permanent link
Patrick Streule (4.9k21) | answered Jan 27 '08, 9:08 a.m.
JAZZ DEVELOPER
Annie,

Thanks for your reply! I tried to specify the location of the custom
attributes by using the presentation tag in the process specification
file. Again, they show up on the WorkItem editor in the TeamConcert
client, but not the WebUI. Am I missing something? Thanks for your
help!

Are you using Beta2a? What kind of custom attributes have you defined?
Enumerations or basic types? I believe that support for e.g. Boolean
custom attributes is not available yet in the Web UI. Can you attach the
process spec that you are using? That would allow us to pinpoint the
source of the problem.

Thanks,
Patrick
Jazz Work Item team

permanent link
Annie Ying (2063103) | answered Jan 25 '08, 4:17 p.m.
JAZZ DEVELOPER


Currently, you have to specify their location in the UI using the Editor
Presentations described in

https://jazz.net/wiki/bin/view/Main/WorkItemCustomizableEditorDesign


Patrick,

Thanks for your reply! I tried to specify the location of the custom attributes by using the presentation tag in the process specification file. Again, they show up on the WorkItem editor in the TeamConcert client, but not the WebUI. Am I missing something? Thanks for your help!

Annie

permanent link
Patrick Streule (4.9k21) | answered Jan 24 '08, 3:48 a.m.
JAZZ DEVELOPER
Annie,

How can I make workitem custom attributes show up on the WebUI? I
implemented some custom attributes following the instruction here:
https://jazz.net/jazzdocs/index.jsp?topic=/com.ibm.team.workitem.doc/topics/t_defining_custom_attributes.html
They show up on a workitem form in the TeamConcert client, but not the
WebUI.

Currently, you have to specify their location in the UI using the Editor
Presentations described in

https://jazz.net/wiki/bin/view/Main/WorkItemCustomizableEditorDesign

The EclipseUI is showing custom attributes without a specific place in
the UI on a separate page. This functionality is not yet available in
the Web UI.

HTH,
Patrick
Jazz Work Item team

Your answer


Register or 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.