Welcome to the Jazz Community Forum
RTC WorkItem Customisation

Eg: In Rational ClearQuest, We used to write hooks to filter the Defect type record type and compare with some other field, can we achieve this kind of functionality?
Regards,
-Kiran
2 answers

if they were children, then an OperationParticipant server plugin would be an easy way to do this.
on save of a workitem, determine it is the parent Goal, or a child defect, and then find all the related defects and sum their total to the Goal object.
Comments

Hello Sam,
Project Goal is one of the WorkItem Type, Its populated with Project Metrics @ the start of the Project and the actual values are input manually at the in diff phase/end of the Project.
For Eg: In Project Goal, I have a field which says Total project time estimated 100 hrs and If I have one more field Total project time (Actual). Total project time (Actual) should be the sum of all the tasks and the defect workitem type created in the project area, So my Project Goal's Total project time (Actual) should have the summation of WI types defect and tasks as when the tasks/defects actual time is populated.
Regards, -Kiran

The tasks / Defects are not child Wi of Project Goal...

so, it sounds like there is a Single instance of Goal in a project space.
the participant can look for workitem saves which are NOT for a Goal workitem, then check if the sizing/consumed time is changing on the changing workitem, and if so, find the Goal for this project and update it.