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

Strange behavior of No. of approvals condition in lifecycles

In lifecycles, it was our understanding that when we are adding collaborators/reviewers in any particular state then only we get No. of Approvals condition in the next transition. But we are facing the issue in one lifecycle.
One user did not added collaborators in either the "Review State" or the "Approve State" in one of her Life cycle process. Then also the condition for "Number of Approvals" was available in Approve Transition without adding collaborators in either state.
In one other lifecycle, even when the user added collaborators in the Review state, then also No. of Approvals condition is not coming in the next transition.
Please clarify what should be the expected behavior in these cases?
If needed we will raise it as a bug.
Thanks in advance.

0 votes



One answer

Permanent link
The 'Number of Approvals' transition should only be available when the state from which the transition originates has 1 or more approvers.

I think the issue you are facing occurs when someone performs the following sequence of actions.
1. Adds an approver to a state
2. Adds a 'Number of Approvals' condition rule to the transition
3. Removes the approver from the state.

In this case, the existing 'Number of Approvals' condition remains on the transition, but a new one can not be added. We don't want to automatically remove the condition because you may just be switching reviewers, but we should show a warning message. See enhancement https://jazz.net/jazz02/resource/itemName/com.ibm.team.workitem.WorkItem/43743

If you can add a new 'Number of Approvals' condition when the state has no reviewers this is a bug. Please let me know the steps to reproduce the issue as I could not reproduce such a situation myself.

0 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

Question asked: May 25 '11, 7:09 a.m.

Question was seen: 6,977 times

Last updated: May 25 '11, 7:09 a.m.

Confirmation Cancel Confirm