Conditional Enabling/Disabling of a custom Attribute.
One answer
You can't. There is no "Hide on condition" mechanism.
Comments
neither enable/disable possible?
Which part of No did you not understand? This has come up and I am not aware of a way to do this. There are mechanisms in place to make stuff read only on conditions, but not show hide and certainly not enable/disable.
There are mechanisms in place to hide attributes in states.
Your answer says 'Hide' on condition is not possible, i just wanted to confirm if disabling(making attribute 'B' Read Only) on condition is also not possible?
Any reference for 'mechanisms in place to make stuff read only on conditions'?
In the product documentation: https://jazz.net/help-dev/clm/index.jsp?topic=%2Fcom.ibm.team.workitem.doc%2Ftopics%2Ft_configuring_dynamic_read-only.html
I would also suggest to follow https://jazz.net/library/article/1093 (the RTC only version).