It's all about the answers!

Ask a question

How to block user stories from creation if parent link is not set?


Man Xu (111) | asked Aug 08 '17, 1:43 a.m.

There is a special requirement from our RTC user.
Need to prevent user story from creation until the LINKS section has the "Set Parent"  with to a TYPE = feature, epic or work request.

IF trying to save a user story without correct parent link, have an alert message shown that Attribute " SET PARENT" not set and reject from saving.

Could you please help to guide us how to do such customization in RTC?
Is it possible to add such saving rule only when specific filed against subset are selected?

Thanks & Best regards,
Catherine 

One answer



permanent link
Ralph Schoon (63.5k33646) | answered Aug 09 '17, 2:10 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

This is not easy to achieve. You will have to create a custom advisor. Follow https://rsjazz.wordpress.com/2015/09/30/learning-to-fly-getting-started-with-the-rtc-java-apis/ and doe the RTC Extensions Workshop to gain some experience. Then look at https://rsjazz.wordpress.com/ and search for advisors and the API to detect links etc.

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.