It's all about the answers!

Ask a question

How to disable the few work items from the list


0
1
Faizal Rahman (821014) | asked Dec 09 '12, 9:11 p.m.
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.

Accepted answer


permanent link
Vicki Chan (4113) | answered Dec 10 '12, 6:36 p.m.
edited Dec 10 '12, 6:37 p.m.
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:

                &lt;<strong>&#33;&#45;&#45;</strong>type category="com.ibm.team.workitem.workItemType" dimmedicon="" icon="processattachment:/workitemtype/bug.gif" id="defect" name="Defect">
                    <alias name="bug"/>
                &lt;&#47;type<strong>&#45;&#45;</strong>&gt;

Hope that helps.

Faizal Rahman selected this answer as the correct answer

Comments
Faizal Rahman commented Dec 10 '12, 11:59 p.m.

Hi Vicki Chan. Thanks for the information. It's working fine, as required.

One other answer



permanent link
sam detweiler (12.5k6195201) | answered Dec 09 '12, 9:29 p.m.
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

Comments
Faizal Rahman commented Dec 09 '12, 10:15 p.m.

Hi Sam. Thanks for your information. I am happy to disable the work items in the parent project itself, if we have the option. Is there a way for that?

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.