Question in Editing work item Defect & Task
![]()
Hi,
By default Task & Defect share the same work item category. Any attribute I add on the Task also applies on Defect and vice versa.
I would like to know if it is possible to, add some field on Task but it must not be available or must be hidden on Defect. If yes, how?
Thanks!
|
2 answers
![]()
Geoffrey Clemm (30.1k●3●30●35)
| answered Jun 26 '13, 11:31 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I assume you are referring to the Scrum Process Template?
In 4.0.3, each of the default work item types in the Scrum Process Template have their own category. In particular, the category of the Task work item type is com.ibm.team.workitem.workItemType.task while the category of the Defect work item type is com.ibm.team.workitem.workItemType. In general, if two work item types have the same category, then as you observe, any change to that category (e.g. adding a new attribute) applies to all the work item types which share that category. To break that sharing, I believe you will need to create a new work item type, give it its own category, and then you can modify the two work item types independently. Unfortunately, that does require you to define all the editors and such for the new work item type, but a lot of the work item type properties can be "duplicated" from an existing property, so that hopefully will speed up the process a bit. If you are feeling adventurous, you could try editing the Process Configuration Source xml directly (you can always revert back to the original xml if things go awry). |