Problem with custom fields
Hi,
my configuration of a custom work item looks like this: <customAttributes category="com.ibm.team.workitem.workItemType.training"> <customAttribute id="com.ibm.team.workitem.workItemType.training.kind" name="Kind" type="string"/> <customAttribute id="com.ibm.team.workitem.workItemType.training.country" name="Country" type="string"/> <customAttribute id="com.ibm.team.workitem.workItemType.training.hotel" name="Hotel" type="string"/> <customAttribute id="com.ibm.team.workitem.workItemType.training.flightticket" name="Flight ticket" type="string"/> <customAttribute id="com.ibm.team.workitem.workItemType.training.refreshment" name="Refreshment" type="string"/> <customAttribute id="com.ibm.team.workitem.workItemType.training.invoiced" name="Event invoiced to participants" type="string"/> </customAttributes> However, if I create new training item, there is missing "invoiced" parameter and diplicity of "refreshment" attribute. What's wrong? Regards, Roman |
3 answers
Hi Roman
I tried your example and it works fine for me. There are however problems with attribute renaming in beta2 (it is not possible to rename attributes). Is it possible that you renamed one of the attributes later (after saving the project area with the wrong name e.g. because of copy/paste)? To find out whether the same attribute is really shown twice you can type something in one refreshment field and leave the field (the attribute is updated on focus lost). If both refreshment fields now show the same content, it is really the same attribute and a bug. Otherwise it is the attribute naming that does not match. HTH Marcel Jazz Work Item team Roman Smirak wrote: Hi, |
Hi Marcel,
it seems to be the first case (the bug) - as far as I remember I did save incomplete process spec. Is there any work-around? Roman "Marcel Bihr" <marcel_bihr@ch.ibm.com> wrote in message news:fnvc6g$97q$1@localhost.localdomain... Hi Roman |
Hi Roman
If you already created work items of type Training that you want to keep, you should wait for M5 - the issue is fixed there. Otherwise you can try to remove the 'wrong' attribute and add a new one with a different id and the correct name. The workitem editor should only show the custom fields as declared in the current process specification (except for items already created with a different set of attributes). Regards, Marcel Jazz Work Item team Roman Smirak wrote: Hi Marcel, |
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.