It's all about the answers!

Ask a question

Set Defualt Enumeration field based on the project area


Chandra Prakash k (21215) | asked Feb 27 '18, 1:10 a.m.

 Is it possible to set a particular value as a default for enumeration based on the project area name ?


In our environment we have master project area were it is sharing process configuration to other project areas.

Now we have a requirement to set a default value to "Domain" enumeration field (custom enumeration filed) based on the project area name. we need to configure this at master project area. 
so that, any work item created at child project area will have the default value based on its own project area name.
Tried the dojo script, but no luck.

any help is appreciated.

One answer



permanent link
Ralph Schoon (63.5k33646) | answered Feb 27 '18, 2:24 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

I am pretty sure you could do that with JavaScript attribute customization, provided you know how to set enumerations.

Tip: you need to provide the enumeration value ID as string to set an enumeration value.

Please see


as an introduction.
Also: https://jazz.net/wiki/bin/view/Main/AttributeCustomization  and https://jazz.net/library/article/1003


Comments
Chandra Prakash k commented Feb 27 '18, 11:32 p.m.

Thank you for the valuable tip.  

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.