It's all about the answers!

Ask a question

RTC 4.0.1 Read only Attributes -


Matt Muller (59813674) | asked Jul 22 '14, 9:01 a.m.
edited Jun 24 '15, 6:51 a.m. by Ralph Schoon (63.6k33646)
Hi,
I'm using Version 4.0.1

I'm trying to set-up read only attributes based on a Scripted Conditions:
So I have a script,  I've then applied "Read-Only Attributes for Condition.
However it is not working;  I've had this working in 4.0.3 and can remember a PMR I think for 4.0.1.

Has anyone got this working?

thanks

Matt

2 answers



permanent link
Donald Nong (14.5k614) | answered Jul 23 '14, 12:12 a.m.
Apparently it works in RTC 4.0.1.
https://jazz.net/forum/questions/109961/read-only-attribute-for-condition-is-preventing-save-work-item

Comments
Matt Muller commented Jun 24 '15, 6:15 a.m.

Maybe it was called Dependent Attributes?


Ralph Schoon commented Jun 24 '15, 6:53 a.m. | edited Jun 24 '15, 6:54 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

I never heard that expression. You can introduce a dependency between attributes to trigger scripts if the attribute that yours depends upon changes. That's about it. And Conditions don't work that way either.


permanent link
Ralph Schoon (63.6k33646) | answered Jun 24 '15, 6:55 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I got it working numerous times as well. Here one example: https://rsjazz.wordpress.com/2015/06/19/a-custom-condition-to-make-attributes-required-or-read-only-by-role/ it is not a JavaScript condition, but the mechanics work the same.

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.