It's all about the answers!

Ask a question

How to add a new field in a Work-Item


Babu Suresh (6) | asked Nov 07 '07, 12:36 p.m.
JAZZ DEVELOPER
This is for IBM internal usage for a Test team. We want to use Jazz to track our Test Scenarios and its Pass/Fail points

- We have a WorkItem/PlanItem
- We need to store the integer values for FAILED-POINTS, ATTEMPTED-POINTS, BLOCKED-POINTS, SUCCESS-POINTS.
- How do we create these NEW FIELDS in a Work Item. I talked to an IBM Jazz Architect within IBM and he suggested to post the question here.
- We need to have the ability to QUERY those fields

We have similar needs in WorkItems/Tasks also. How do we do that. Would appreciate the input.

NOTE: We do not have bandwidth to change the Java code. Any other solutions like XML file change OR Process customisation would help.


Thank you

2 answers



permanent link
Marcel Bihr, Jazz Work Item team (1.4k) | answered Nov 08 '07, 5:48 a.m.
JAZZ DEVELOPER
suresht wrote:
- We have a WorkItem/PlanItem
- We need to store the integer values for
FAILED-POINTS, ATTEMPTED-POINTS, BLOCKED-POINTS, SUCCESS-POINTS.
- How do we create these NEW FIELDS in a Work Item. I talked to an IBM
Jazz Architect within IBM and he suggested to post the question here.

You have to create custom attributes in the process specification for
the desired fields (integer type will be supported in M4):
https://jazz.net/learn/LearnItem.jsp?href=content/docs/work-items/index.html
, section Custom Attributes (the subsequent section 'Show Custom
Attributes on Work Item Editor's Overview Page' is outdated, please use
the steps noted below)

Then you can define where in the editor these fields should be displayed:
https://jazz.net/wiki/bin/view/Main/WorkItemCustomizableEditorDesign
At the moment, integer fields are shown read-only. We hope to implement
a writable presentation for M4, but we can not promise it. For details,
see workitem 31906:
https://jazzdev.torolab.ibm.com:9443/jazz/service/%7Bdefault%7D/com.ibm.team.repository/itemName/com.ibm.team.workitem.WorkItem/31906

There is a general document about customizability for workitems:
https://jazz.net/wiki/bin/view/Main/WorkItemCustomizability

Please note that these documents are not all up to date.
The New&Noteworthy of the M4 build will most likely contain more
information about customizability.

We have similar needs in WorkItems/Tasks also. How do we do that.
When declaring custom attributes, these attributes are bound to a

workitem-type-category. For the plan item use category
'com.ibm.team.workitem.workItemType.planning', for the standard workitem
types (defect, task, enhancement) use category
'com.ibm.team.workitem.workItemType'

HTH, Marcel

permanent link
Babu Suresh (6) | answered Nov 08 '07, 12:13 p.m.
JAZZ DEVELOPER
Thanks Marcel. Appreciate your input. We have further follow up posts that can be found in the topic "Hands are tied: No option to generate summary reports"

Your answer


Register or to post your answer.