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

Requirement on RTC

Hello All,
We have a requirement like work item 2 can be worked on (any modify or state-change operation) only after work item 1 reaches Closed state. Otherwise, any operation on work item 2 should throw an error indicating work item 1 is not Closed yet. 

Please let me know if this can be implemented and what version of RTC does it supports. Any pointers and tips would help. Thanks in advance.

Thanks,
Chandrahasa Reddy

0 votes

Comments

Are those work items a parent-child relationship? If so, you can use the precondition "All Children Resolved". Does it satisfy you?

http://www-01.ibm.com/support/knowledgecenter/SSYMRC_6.0.0/com.ibm.team.workitem.doc/topics/t_defining_precond_fuactions_web.html?cp=SSYMRC_6.0.0&lang=en



One answer

Permanent link
There is currently nothing in RTC that would provide this capability. You would have to create a work item save advisor (precondition) where you use a link or something else that indicates the relationship (e.g. depends on) and on save of the work item you would have to look if the referenced work item (if there is a reference) is in a certain state or state group. If the sate group does not allow to save the work block the save.

See the following hints and examples:
https://rsjazz.wordpress.com/2013/02/28/setting-up-rational-team-concert-for-api-development/
https://rsjazz.wordpress.com/2014/05/26/only-owner-can-close-workitem-advisor/
https://rsjazz.wordpress.com/2012/07/31/rtc-update-parent-duration-estimation-and-effort-participant/

1 vote

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,132

Question asked: Jul 28 '15, 9:55 p.m.

Question was seen: 2,331 times

Last updated: Jul 29 '15, 3:24 a.m.

Confirmation Cancel Confirm