Is it possible to restrict linking parent and child relationship in RTC for different work item type?
Hi Someone who may concern,
Is it possible to configure to make story must be child of epic, not initiative and no other story can be its child in RTC?
i.e. our developer team want to restrict linking parent and child relationship, only some specific work item type can be parent/child of other work item type?
Thanks!
Best Regards,
Jane Zhou
Accepted answer
You would need to write a custom pre-condition for work item save, to enforce that restriction.
Comments
See https://rsjazz.wordpress.com/2015/09/30/learning-to-fly-getting-started-with-the-rtc-java-apis/ and especially the extensions workshop.
Note that this will only work for work item link types (https://jazz.net/wiki/bin/view/Deployment/MultipleCCMAppsUserPerspective#Work_Item_Link_Types). Parent Child Links fall into this category.