It's all about the answers!

Ask a question

How to make the "Add Related" required/mandatory?


Pravin Patil (104138133) | asked Dec 15 '15, 6:01 p.m.
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



permanent link
Ralph Schoon (63.1k33645) | answered Dec 16 '15, 2:49 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
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
Pravin Patil commented Dec 16 '15, 12:56 p.m.

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"?


Ralph Schoon commented Dec 17 '15, 3:01 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

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.

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.