It's all about the answers!

Ask a question

Requirement on RTC


Chandrahasa Reddy D (5715160) | asked Jul 28 '15, 9:55 p.m.
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

Comments
Taki Nakajo commented Jul 28 '15, 10:56 p.m.

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
Ralph Schoon (63.1k33646) | answered Jul 29 '15, 3:23 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
edited Jul 29 '15, 3:24 a.m.
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/

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.