Defaulting the same enumeration/attribute based on work item type
![]()
We use the same attribute/enumeration across all work items. We would like to have a different default value based on work item type. For example, a "requirement" we want to default to a release of "Future" but a defect we want to default to the current release under development. Note that we use a custom attribute and not the "Releases" on the Project Area configuration. We can set the default in the Enumeration itself, but we cannot seem to find a way to set a different default based on the work item type, or even just within the editor itself.
Can someone help? Susan |
One answer
![]()
Ralph Schoon (63.3k●3●36●46)
| answered Aug 28 '12, 4:56 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER edited Aug 28 '12, 5:10 a.m.
Hi Susan,
the enumeration default is stored in the enumeration. Attribute customization is also the same for one attribute across all work item types. The one thing I could think of is to try using a scripted default, where you calculate the default value literal from the work item type. See: https://jazz.net/wiki/bin/view/Main/AttributeCustomization#Using_scripts_for_attribute_cust Comments Do you have a pointer to information on scripted defaults? I'd like to try. Added link to answer. |
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.