How to set RTC workitem attribute's behavior in UI ?
Hi RTC admins,
I checked there are some document about how to set attributes based on the condition when user saves a work item(https://jazz.net/wiki/bin/view/Main/AttributeCustomization#Conditions).
Currently I need to set some customized workitem attributes when deliver changesets(associated with workitem) or via someother operations rather than saving workitem. And there are no such default "Required Attributes For Condition" preconditions for deliver operation, my question is - does RTC provide any API to set RTC workitem attribute's behavior in user interface?
Thanks a lot.
I checked there are some document about how to set attributes based on the condition when user saves a work item(https://jazz.net/wiki/bin/view/Main/AttributeCustomization#Conditions).
Currently I need to set some customized workitem attributes when deliver changesets(associated with workitem) or via someother operations rather than saving workitem. And there are no such default "Required Attributes For Condition" preconditions for deliver operation, my question is - does RTC provide any API to set RTC workitem attribute's behavior in user interface?
Thanks a lot.
Accepted answer
3 other answers
So even I write a java server side precondition, we still cannot use API to dynamically enable field's requireness on the UI, it just post error message, right? (I've done the precondition to post error, just want to confirm, thanks.)
Comments
The UI shows required or read only for conditions and the built in advisors. See https://rsjazz.wordpress.com/2015/06/19/a-custom-condition-to-make-attributes-required-or-read-only-by-role/ for how.