It's all about the answers!

Ask a question

Is it possible to set the mandatory field for Links in RTC?


Govindaraj Ponnusamy (114) | asked Jun 03 '16, 7:15 a.m.
We have one requirement that if my workitems reached some state then need to set the mandatory field for the Links in RTC by using DOJO script. 

Thanks in Advanced.
Govindaraj.

One answer



permanent link
Ralph Schoon (59.4k23642) | answered Jun 03 '16, 7:28 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
If you look at https://jazz.net/wiki/bin/view/Main/AttributeCustomization which is the only "official" documentation for script based extension, you might realize that work item links are not mentioned - because that API does not provide access to them as they are actually not attribute based.

Now, you might be able to debug and find some internal DOJO API that you can use.

The Java API provides access to the links of a work item. You can create a work item save advisor that prevnts from saving if there are some kinds of links missing. See https://rsjazz.wordpress.com/?s=advisor for examples for advisors.

Your answer


Register or to post your answer.