It's all about the answers!

Ask a question

Attribute Customization: Condition / Script: Requirements?


Luke McDermott (1122) | asked Apr 14 '15, 9:49 a.m.
edited Apr 15 '15, 7:53 a.m. by Ralph Schoon (63.6k33646)
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].


One answer



permanent link
Ralph Schoon (63.6k33646) | answered Apr 15 '15, 7:55 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
edited Apr 15 '15, 7:56 a.m.
 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.

Comments
Luke McDermott commented Apr 15 '15, 5:26 p.m.

Thanks, Ralph.  I'd posted this on behalf of another team member (who had jazz.net issue) & she is following up on it.

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.