showing a custom attribute in the workitem form

I'm looking at the Jazz 0.6 Milestone New and Noteworthy document, and we found some information about custom attributes representation. Basically the document says we need to add the following xml fragments to the process configuration file:
However, we have some trouble making the attribute show up on the workitem page -- the attribute is created, but it doesn't seem to get added as a custom attribute of the workitem. Does anybody know what's wrong?
Thanks very much!
Annie
<static-configuration-data id="com.ibm.team.workitem.configuration.workItemTypes" xmlns="http://com.ibm.team.workitem/workitemTypes">
.....
<customAttributes
category="com.ibm.team.workitem.configuration.workItemType">
<customAttribute
id="lowerEstimate1"
type="string"
name="Lower Estimate1"
/>
</customAttributes>
</static-configuration-data>
<static-configuration-data
id="com.ibm.team.workitem.ui.editor.configuration.layout"
xmlns="http://com.ibm.team.workitem.ui.editor/layout">
<customAttributes>
<customAttribute
attributeId="lowerEstimate1"
target="com.ibm.team.workitem.ui.editor.details.assignment"
/>
</customAttributes>
</static-configuration-data>
However, we have some trouble making the attribute show up on the workitem page -- the attribute is created, but it doesn't seem to get added as a custom attribute of the workitem. Does anybody know what's wrong?
Thanks very much!
Annie
2 answers

Hi Annie
aying wrote:
should work then.
FYI: Be aware that custom attribute definitions that are deleted from
the xml file still exist in the repository. Reusing attribute ids can
therefore lead to unexpected behavior (is not a problem in this case,
but can be confusing otherwise).
Marcel
aying wrote:
static-configuration-data
id="com.ibm.team.workitem.configuration.workItemTypes"
xmlns="http://com.ibm.team.workitem/workitemTypes"
....
customAttributes
category="com.ibm.team.workitem.configuration.workItemType"
<customAttribute
id="lowerEstimate1"
type="string"
name="Lower Estimate1"
/
</customAttributes
/static-configuration-data
Try to set the category to "com.ibm.team.workitem.workItemType" . It
should work then.
FYI: Be aware that custom attribute definitions that are deleted from
the xml file still exist in the repository. Reusing attribute ids can
therefore lead to unexpected behavior (is not a problem in this case,
but can be confusing otherwise).
static-configuration-data
id="com.ibm.team.workitem.ui.editor.configuration.layout"
xmlns="http://com.ibm.team.workitem.ui.editor/layout"
<customAttributes
<customAttribute
attributeId="lowerEstimate1"
target="com.ibm.team.workitem.ui.editor.details.assignment"
/
</customAttributes
/static-configuration-data
This looks fine and should work.
Marcel