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

About the code review in RTC

Currently, we are using the code review of RTC, and we have set the precondition that only the reviewer approve the code, developer could submit his code. But here what we want is set two roles as the reviewer, say team leader and SME, and just only need to get one of these roles approval, the developer could submit his codes. Does any one know how to configure this?

0 votes



2 answers

Permanent link
Hi Hehui,

Let me try to answer your question.
Currently, RTC doesn't support defining an OR condition for approvers. There is a practice internally used by RTC teams to handle a similar situation. First you grant two people same role and add both people to the approval and have the precondition configured to just require 1 review.

For example, there are iterations where we require a "team lead" approval before a developer can submit code or deliver changes. During those iterations, you can add both Marco (the team lead) and Deb (the PMC member) as Approver, since both Marco and Deb have the team lead role so either of them can review. Then if either one approves the review, he or she deletes the other person from the approval as a way of saying "I'll handle this one".

Do you think that your use case can be handled this way? If not, can you please answer the following questions to help us further understand your needs:

  1. What does SME mean?
  2. If SME is a role, why this use case requires optional approval from either one?
  3. What kind of the configuration you expect to see in RTC? ( Can you please describe where you expect to see it fits)
  4. How important to you that this use case can be supported in RTC.

And also for your reference, here is a blog about enforcing work item approvals in RTC. To enforce source delivery approvals, go to the Process Configuration in the RTC eclipse client, and add precondition for delivering source under the Operation Behaviors.

Hope to hear you back! Thanks for providing your feedback on using RTC.





2 votes


Permanent link
It is not possible to configure the deliver precondition that way.  There is no way to say that the review must be approved by someone with either role A or role B.

A possible workaround (though not a very good one) is to define a new role, such as "Code Reviewer," specify that role in the precondition, and assign that role to everyone who is allowed to approve code reviews.

-- David Olsen, IBM Rational, Jazz Process Team

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

Question asked: Aug 14 '12, 8:45 a.m.

Question was seen: 4,717 times

Last updated: Aug 14 '12, 2:36 p.m.

Confirmation Cancel Confirm