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

Code review in RTC against codes in CC

The users want to do code review in RTC while codes are in ClearCase. They don't want to use CC Synchronizer or importer instead using bridge to associate workitem with changeset(activity in CC). Since there is no delivery in this scenario in RTC, it seems there is limited precondition for review/approve can be used.

According to the new features in v6.0.1: https://jazz.net/wiki/bin/view/Main/ScmCodeReviewUserGuide,
one condition to use the new feature is to set 'target stream'. this obviously is for delivery purpose.

Questions:
1) does that mean this new feature can not be used for the above scenario because of no delivery involved?

2) is there any way to prevent defect owner from being added as reviewer/approver in RTC?

3) I notice there are two preconditions: Prevent Links by Approvers and Require Disinterested Approvers
which are related to changeset author and approvers. Given that changeset is in CC side,
will the below two preconditions apply to the changeset(CC activity)-workitem in above scenario?

Prevent Links by Approvers

Ensure that change set authors do not approve their own work items.

This precondition prevents a change set from being linked to a work item with an approver that is also the change set author. The "Require Disinterested Approvers" precondition on work item save prevents an approver from being added to a work item already linked to change sets with the same author. These two preconditions should be used in conjunction with each other.

4) or any advice on how to review the codes in CC from RTC

Any comment is highly appreciated.

0 votes



2 answers

Permanent link
I am pretty sure what your users want is not possible. The review works only on RTC SCM Streams and change sets as far as I know.

I have not played with the ClearCase bridge, but I assume that the operational behavior you mention above is designed for RTC SCM and not ClearCase.

2 votes

Comments

Thanks Ralph for the comments.
So you mean that the new code review feature in v6.0.1 won't work for RTC-CC integration if the code is within CC and associated with RTC workitem?

I am pretty sure of this, yes.


Permanent link
I agree with Ralph.  The RTC review feature only works for RTC change sets.  Note that the stream is only needed to provide pathnames for the files in the change set, not for any delivery-related reasons.   WRT those preconditions, the "users" in the ClearCase repository have no guaranteed relationship to the "users" in the RTC repository, so the preconditions based upon comparing the owner of a change set and RTC approver could not be applied to a ClearCase change set.


2 votes

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
× 12,023

Question asked: Mar 17 '16, 8:46 p.m.

Question was seen: 2,872 times

Last updated: Mar 21 '16, 6:52 p.m.

Confirmation Cancel Confirm