How to disable the few work items from the list
Hi. I have a parent-child project area setup in RTC 4.0 and the child project is sharing the parent project's process template. It contains 8 work item types. I want only 4 work item types to be used by the child project area.
Is there a way to disable the other 4 work item types, instead of deleting it from the process configuration. So that it can be used in future, if required.
Is there a way to disable the other 4 work item types, instead of deleting it from the process configuration. So that it can be used in future, if required.
Accepted answer
Hi Faizal,
We've had a similar situation in our projects where we did not want all work items to be visible. You can use HTML/XML comment marks to comment out the work item in the process configuration source (in the RTC Eclipse client). Modifying the XML can be tricky, so you might like to backup your XML and process template first.
In the XML, search for "workitemtypes", you will find your work items listed like this:
<configuration-data xmlns="http://com.ibm.team.workitem/workitemTypes" id="com.ibm.team.workitem.configuration.workItemTypes">
<type category="com.ibm.team.workitem.workItemType" dimmedicon="" icon="processattachment:/workitemtype/bug.gif" id="defect" name="Defect">
<alias name="bug"/>
</type>
<type category="com.ibm.team.workitem.workItemType.task" dimmedicon="" icon="processattachment:/workitemtype/task.gif" id="task" name="Task">
<alias name="work item"/>
<alias name="workitem"/>
<alias name="item"/>
</type>
If you wanted to comment out the Defect work item, you can do this:
<<strong>!--</strong>type category="com.ibm.team.workitem.workItemType" dimmedicon="" icon="processattachment:/workitemtype/bug.gif" id="defect" name="Defect">
<alias name="bug"/>
</type<strong>--</strong>>
Hope that helps.
We've had a similar situation in our projects where we did not want all work items to be visible. You can use HTML/XML comment marks to comment out the work item in the process configuration source (in the RTC Eclipse client). Modifying the XML can be tricky, so you might like to backup your XML and process template first.
In the XML, search for "workitemtypes", you will find your work items listed like this:
<configuration-data xmlns="http://com.ibm.team.workitem/workitemTypes" id="com.ibm.team.workitem.configuration.workItemTypes">
<type category="com.ibm.team.workitem.workItemType" dimmedicon="" icon="processattachment:/workitemtype/bug.gif" id="defect" name="Defect">
<alias name="bug"/>
</type>
<type category="com.ibm.team.workitem.workItemType.task" dimmedicon="" icon="processattachment:/workitemtype/task.gif" id="task" name="Task">
<alias name="work item"/>
<alias name="workitem"/>
<alias name="item"/>
</type>
If you wanted to comment out the Defect work item, you can do this:
<<strong>!--</strong>type category="com.ibm.team.workitem.workItemType" dimmedicon="" icon="processattachment:/workitemtype/bug.gif" id="defect" name="Defect">
<alias name="bug"/>
</type<strong>--</strong>>
Hope that helps.
One other answer
No.. the process sharing is all or nothing..
you can delete them from the child, but any changes to the parent supporting the workitems (enums, variables, presentations, workflows, etc) will be disconnected from the master..
there is some new process sharing function in 4.0.1 which allows you to manage a 'delta' over the parent.
but in 4.0.1 the support for delta is enum, variables and presentation only.. so not enough for a workitem with its own workflow.
see https://jazz.net/wiki/bin/view/Main/ConfigurationDataDeltaUserDoc
you can delete them from the child, but any changes to the parent supporting the workitems (enums, variables, presentations, workflows, etc) will be disconnected from the master..
there is some new process sharing function in 4.0.1 which allows you to manage a 'delta' over the parent.
but in 4.0.1 the support for delta is enum, variables and presentation only.. so not enough for a workitem with its own workflow.
see https://jazz.net/wiki/bin/view/Main/ConfigurationDataDeltaUserDoc