It's all about the answers!

Ask a question

How can default to WorkItem Type in the "Select Work-Item" Popup Window


Andy Wong (3133) | asked Aug 19 '13, 10:32 a.m.
Is there a way to default to a specific Work Item Type or limit Work Item Type for the "Select Work-Item" Popup Window as shown below.

As this "select Work_item" popup is related to an Attribute type=WorkItem.


2 answers



permanent link
sam detweiler (12.5k6195201) | answered Aug 19 '13, 11:06 a.m.
the default is the first one in the list of workitem types for this project.  so you can change the list.

you currently cannot limit the types displayed in the select workitem list.

permanent link
Dinesh Kumar B (4.1k413) | answered Sep 24 '13, 11:08 a.m.
JAZZ DEVELOPER
This looks like an enhancement to me. 

The default can be changed for the pop-up which shows up from the Links Tab by modifying the configuration source which is not recommended though.

From your project opened in Eclipse Client > Configuration Source Tab > you will notices the list of work item types under the tag :
<data>
            <configuration-data final="false" id="com.ibm.team.workitem.configuration.workItemTypes" xmlns="http://com.ibm.team.workitem/workitemTypes">

Pick the <Type> ... </Type> you want to appear as a default and move it to the top and save it.

Some sample source which makes the story as a default is below:
<data>
            <configuration-data final="false" id="com.ibm.team.workitem.configuration.workItemTypes" xmlns="http://com.ibm.team.workitem/workitemTypes">
                <type category="com.ibm.team.workitem.workItemType.story" icon="processattachment:/workitemtype/story.gif" id="com.ibm.team.apt.workItemType.story" name="Story">
                    <alias name="user story"/>
                </type>
                <type category="com.ibm.team.workitem.workItemType" icon="processattachment:/workitemtype/bug.gif" id="defect" name="Defect">
                    <alias name="bug"/>
                </type>
                <type category="com.ibm.team.workitem.workItemType.task" icon="processattachment:/workitemtype/task.gif" id="task" name="Task">
                    <alias name="work item"/>
                    <alias name="workitem"/>
                    <alias name="item"/>
                </type>

Now on, when you get a pop-up for the work item type from the links tab, you will notice at the bottom that there is quick link to create a work item of type you moved to the top in the configuration source.

However, this does not affect the popup from the Work Item attribute in the work item. So, I see no other OOTB feature at the moment to get to this default.  Suggest raising an enhancement.

Hope this helps.

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.