It's all about the answers!

Ask a question

Can RTC enforce that child must have a parent


nannette Mori (50572) | asked Jan 19 '16, 10:52 a.m.

Problem:  Having child work items that do not have a parent

Is there a way that we could require child work items to be linked to a parent work item?


Comments
sam detweiler commented Jan 19 '16, 11:47 a.m. | edited Jan 19 '16, 12:12 p.m.

how do you know if this workitem is supposed to be a child? 
all workitems are equal in RTC.. parent/child is an additional attribute

yes, you could build an Advisor server side plugin to do this enforcement,
once you figure out how to know

One answer



permanent link
Geoffrey Clemm (30.1k33035) | answered Jan 19 '16, 5:13 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Not every work item can have a parent, or you would have a cycle in your parent/child tree (which is not allowed).   You could require that a particular type of work item have a parent.   To do so, you would need to write a custom operation behavior precondition for the save-work-item operation.

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.