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
Can someone help?
Susan
One answer
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
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