Attribute Customization: Condition / Script: Requirements?
I am trying to write a script that does the following:
When an RTC Work Item attribute value is selected (e,g,, custom field: Defect type = Security), make a different attribute (e.g., custom field: Security Source) required.
I have tried multiple scripts and cannot seem to get it to work. I have done research and found the following article: https://jazz.net/library/article/1360 which mentions enabling the process attachment scripts, however, we don't have admin access to the server. Is this necessary? And is there any other internal things I need to do to successfully run the code? Any help with these questions, the script, or other knowledge regarding this issue is appreciated.
Note: we were unable to find a detailed article or help file with full instructions for scripting this type of condition [there probably is one, but we didn't find it].
When an RTC Work Item attribute value is selected (e,g,, custom field: Defect type = Security), make a different attribute (e.g., custom field: Security Source) required.
I have tried multiple scripts and cannot seem to get it to work. I have done research and found the following article: https://jazz.net/library/article/1360 which mentions enabling the process attachment scripts, however, we don't have admin access to the server. Is this necessary? And is there any other internal things I need to do to successfully run the code? Any help with these questions, the script, or other knowledge regarding this issue is appreciated.
Note: we were unable to find a detailed article or help file with full instructions for scripting this type of condition [there probably is one, but we didn't find it].
One answer
Please read https://jazz.net/library/article/1093 and https://jazz.net/wiki/bin/view/Main/AttributeCustomization
You need to write a condition and enable the operational behavior in the project area for this to work.
And, yes, you need to enable the process scripts. If you don't have access to the server, ask the service provider to do this change for you, if you can't, you can't use scripting, unless it is already enabled. If it is can be seen in 5.x clients in the Script editor in the Eclipse client.