Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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.

1

0 votes


Accepted answer

Permanent link
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

2 votes

Comments

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


One other answer

Permanent link
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

0 votes

Comments

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 log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Dec 09 '12, 9:11 p.m.

Question was seen: 4,750 times

Last updated: Dec 10 '12, 11:59 p.m.

Confirmation Cancel Confirm