how to change the description based on other attribute
Surender Biyyala (40●38●48)
| asked Aug 07 '14, 6:07 a.m.
edited Aug 08 '14, 7:37 a.m. by Ralph Schoon (63.6k●3●36●46)
Hi All,
Can I set some default value to the description field if the work item is defect and the Classification attribute is risk.
here classification is a multi select (enumeration) and rist is the literal.
Thanks
Surender
|
3 answers
Hello Surender,
you may want to try a calculated value set provider,
https://jazz.net/library/article/1003/#calc-values
use it to populate description based on classification attribute.
Please send me an email (eric_jodet@fr.ibm.com)
so I can share with you a working example.
Thanks,
Eric
|
Ralph Schoon (63.6k●3●36●46)
| answered Aug 08 '14, 7:36 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER edited Aug 08 '14, 7:38 a.m.
Please be aware that the default value provider are only of limited use. They are only calculated at the creation of the work item where you don't yet have many user selected values e.g. a user selected risk value. There are only very few usable defaults at this point in time.
You can of course use a calculated value script, however that is always calculated, so you have to decide if you return a modified value, or not, which is really hard sometimes. Therefore the suggestion is to use calculated values only with read only attributes. |
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.