It's all about the answers!

Ask a question

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


Abhinav Mishra (1443039) | 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
sam detweiler (12.5k6195201) | 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 (1443039) | 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

permanent link
Susan Hanson (1.6k2201194) | 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.6k2201194) | 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

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.