Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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

0 votes



One answer

Permanent link
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

0 votes

Comments

Do you have a pointer to information on scripted defaults? I'd like to try.

Added link to answer.

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,023

Question asked: Aug 28 '12, 4:21 a.m.

Question was seen: 4,542 times

Last updated: Aug 28 '12, 5:11 a.m.

Confirmation Cancel Confirm