It's all about the answers!

Ask a question

RTC : working with status of a workitem(New Question)


Abhinav Mishra (1442638) | asked Feb 18 '14, 4:31 a.m.
edited Feb 19 '14, 11:32 a.m. by Jennifer Cianchetta-Riordan (2512)
Hi All,
In RTC, how to ensure that no one will be able to change the status of a work item to complete,until unless all of its child work items were already being  marked as complete ...??

For Ex:

1.Phase -> 2.Sub-Phase ->3. Workpacket ->4.Task

So before completing all the task Under workpacket,no one can change the status of workpacket as "complete"


Many Thanks.



4 answers



permanent link
Susan Hanson (1.6k2183193) | answered Feb 18 '14, 5:12 a.m.
There is a precondition built-in to RTC under Operational Behavior for the Save Work Item (server) operation:

All Children Resolved   --> "Requires that a work item can only be resolved if all of its children are resolved."

Susan

Comments
Abhinav Mishra commented Feb 18 '14, 5:31 a.m.

Thanks Susan


1
Jennifer Cianchetta-Riordan commented Feb 19 '14, 11:32 a.m.
FORUM MODERATOR / JAZZ DEVELOPER

permanent link
Susan Hanson (1.6k2183193) | answered Feb 18 '14, 4:47 a.m.
If they are children, there is a built-in precondition called "All Children Resolved" which Requires that a work item can only be resolved if all of its children are resolved.  It can be set on the Save Work Item under Operational Behaviors.

Susan

Comments
Abhinav Mishra commented Feb 18 '14, 4:59 a.m.

Thanks Susan for your quick reply and valuable input


permanent link
sam detweiler (12.4k6180201) | answered Feb 18 '14, 5:47 a.m.
there is also another useful advisor, insure all dependencies are resolved..
I provided a sample source solution here
https://jazz.net/forum/questions/64268/operation-advisor-custom-precondition-for-work-items second post.

Comments
sam detweiler commented Feb 18 '14, 5:49 a.m.

you can create a query to discover how many times this occurs in your environment.

status = resolved, with children links ->look thru -> status = unresolved


permanent link
Abhinav Mishra (1442638) | answered Feb 18 '14, 5:30 a.m.
Yes In Eclipse Client
1.Open the Project Area
2.Open the Process Configuration Tab
3.Under Team Configuration -> Select Operation behavior ->Under Operations column of operation behavior table ->Under Work Items ->Save Work Item (server) ->against this choose select role and Add the "precondition"
4.Select  Precondition with name  "All Children resolved"
5.Click on "Apply Changes"
6.Save


Thanks

Your answer


Register or to post your answer.