It's all about the answers!

Ask a question

Changing the Default Work Item type


Brad Veitch (11078) | asked Dec 20 '10, 2:03 a.m.
I'm wanting to change the type of Work Item that is created when you click on "Work Items" - "Create Work Item". It currently creates an "Action" work item record. I want it to create a "Defect" work item record.
Is an Action record created just because it is alphabetically 1st or is there somewhere in the Process Configuration or Process Configuration Source that the default work item type can be specified?

I know my users only have to click the down arrow next to "Create Work Item" and select "Defect", but they're lazy.

2 answers



permanent link
Geoffrey Clemm (30.1k23035) | answered Dec 20 '10, 7:23 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I create most of my work items from the Eclipse UI in the context of a
plan (because that fills in some default values, based on where in the
plan I click). In that context, if you right click, you get a "Set
Default ..." option under the "Add Work Item" operation. But I'm not
aware of a way to set this in the context that you describe.

Cheers,
Geoff

On 12/20/2010 2:08 AM, bradveit wrote:
I'm wanting to change the type of Work Item
that is created when you click on
"Work
Items
" -
"Create Work
Item
". It currently creates an
"Action"
work item record. I want it to create a
"Defect"
work item record.
Is an Action
record created just because it is
alphabetically 1st or is there somewhere in the
Process Configuration
or Process
Configuration Source
that the default
work item type can be specified?

I know my users only have to click the down arrow next to "Create
Work Item" and select "Defect", but they're lazy.

permanent link
Brad Veitch (11078) | answered Dec 20 '10, 9:44 p.m.
Under Process Configuration Source navigate to
<project>
<data>
<configuration-data id="com.ibm.team.workitem.configuration.workItemTypes" xmlns="http://com.ibm.team.workitem/workitemTypes">

Under this section you'll find the following 3 lines
<type category="com.ibm.team.workitem.workItemType" icon="processattachment:/workitemtype/bug.gif" id="defect" name="Defect">
<alias name="bug"/>
</type>

Cut, then paste them to immediately below the line
<configuration-data id="com.ibm.team.workitem.configuration.workItemTypes" xmlns="http://com.ibm.team.workitem/workitemTypes">


basically whatever is 1st in this section becomes the default "Work Item".


Thanks Nhi

Your answer


Register or to post your answer.