Does "attribute customization scripts" wrks for custom attributes?
Pravin Patil (104●1●46●134)
| asked May 04 '15, 8:55 p.m.
edited May 05 '15, 1:07 p.m. by Ralph Schoon (63.6k●3●36●46) Hi, Do Attribute customizations "script based customizations" work with custom attributes (for e.g. the enumeration that I define) or does it work only with default (the ones that come with RTC install like "Priority, severity" etc)? Can you share a example of this working with custom enumeration, please?
|
3 answers
Yes.
This is a great article about attribute customizations in RTC https://jazz.net/library/article/1003
|
Ralph Schoon (63.6k●3●36●46)
| answered May 05 '15, 2:56 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
From https://jazz.net/wiki/bin/view/Main/AttributeCustomization#API_for_Javascript
The three input arguments are always the same (except for Conditions which do not have anIf your attribute has the ID my.attribute , you have to pass getValue("my.attribute") to get the value. |
What is the syntax for this scenario
IF RestrictedAccess field is "A-Department1"
THEN
set Customer field value = "A" and Department field value = "Department1"
Or the following
IF Customer field value = "A" and Department field value = "Department1"
THEN
RestrictedAccess field drop down options are narrowed down to ...
|
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.