How to make the "Add Related" required/mandatory?
Hi, for a special type of workitem, I want to make the "Add Related" field under "Links" section to be required on New State.
can you share some documentation on how can this be done?
I am referring to https://jazz.net/wiki/bin/view/Main/AttributeCustomization, but it doesn't provide any details on which dojo to use for "Add Related" field.
Please let me know.
One answer
There is no way to do this with attribute customization, as this is a link and not a work item attribute. You would have to create a custom advisor for work item save for this. https://rsjazz.wordpress.com/2014/05/26/only-owner-can-close-workitem-advisor/ shows an example.
Comments
Thanks Ralph.
Actually, I have a custom attribute named "Resolving Work item" of type "work item list". It is on the "Overview tab".
In RTC, if I add a work item in this field, it doesn't get cross referenced to the added work item.
The cross reference works godo when add iwork item via LInks Tab > Add Related).
Is there a way to achieve this cross reference on "Work Item List"?
Not that I am aware of, except creating automation. You can user https://rsjazz.wordpress.com/2013/12/17/using-reference-presentations-to-create-links-and-show-linked-work-items-in-rtc/ but then there will be no attribute any longer, just a presentation.