Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How to mark a custom state as 'Resolved' state for a work item ?

 Hi ,

I am using RTC 4.0.6 in my project . We have different custom work-items setup in our project . We link DBCR workitem as a Child to Defect workitem.
I want to use the Precondition 'All Children Resolved' between both of these but I don't know how to specify what state from the DBCR should be regarded as 'Resovled' by RTC .

In our current setup , my DBCR has  New --> Assigned --> Data Model approved --> In Progress --> Closed
and the Defect has New --> Triaged --> Assigned --> In progress --> Resolved --> In Test --> In UAT --> Passed

I want to ensure that Defect cannot be moved to 'Resolved State' in Defect until DBCR is moved to 'Data Model approved; state . 

On the Workitem workflow , I have selected 'Data model approve' action as the Resolve action , but that does not enforce the precondition.

Please guide me 

Regards,
Achint

0 votes


Accepted answer

Permanent link
there is no mechanism built into the product to do cross type dependencies like you describe.

One could create a server side plugin extension to provide this enforcement.
Achint Mathur selected this answer as the correct answer

0 votes

Comments

Thanks Sam for the answer .

Please help me understand what RTC supports for this precondition . I can change the workflow of my workitems to mimic the requirements that RTC supports .

What attribute does RTC check on a child when validating ' All Children Resolved ' condition . I assume it would check the Workflow state of the child workitem .But how do I know which state is regarded as the 'Resolved' stateĀ 

In the workflow of the all workitems you are required to mark each state as to what group the state is in..

open, in progress, and closed/resolved, verified



an example of a plugin that does this kind of checking is my 'depends on' advisor

see the accepted answer here for code that checks thru links to see if workitems are 'closed'/resolved...

https://jazz.net/forum/questions/64268/operation-advisor-custom-precondition-for-work-items

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 6,121
× 369
× 92

Question asked: Apr 27 '15, 3:25 p.m.

Question was seen: 3,131 times

Last updated: Apr 27 '15, 6:33 p.m.

Confirmation Cancel Confirm