It's all about the answers!

Ask a question

How to request a mandatory parent item of some work item types?


3
2
Rene Beck (56224) | asked Aug 26, 8:07 a.m.

To ensure a clean work break down structure we want to ensure, that some item types need to have a parent item assigned. Is there a possible solution available to check the parent link when saving the work item?


Thanks,
René

One answer



permanent link
Ralph Schoon (63.6k33646) | answered Aug 28, 3:33 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

Rene,


as far as I can tell, there is no built in advisor/precondition you can use. You would have to create a custom work item save advisor and deploy that on your server. This would be a Java Server Extension. https://rsjazz.wordpress.com/2015/09/30/learning-to-fly-getting-started-with-the-rtc-java-apis/ explains the APIS available for EWM and points to the EWM/RTC Extensions Workshop that you would follow to setup an development environment. That workshop shows a participant/follow up action, but developing an advisor/pre-condition is really pretty much the same. https://rsjazz.wordpress.com/?s=advisor&submit=Search shows several advisor examples. Detecting a parent work item is shown in https://rsjazz.wordpress.com/2012/11/27/resolve-parent-if-all-children-are-resolved-participant/ and in https://rsjazz.wordpress.com/2012/07/31/rtc-update-parent-duration-estimation-and-effort-participant/

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.