Hello,
We are trying to use the "Submit requirements" to implement "1+1=2", i.e. we expect the change can only be submitted when there are at least two +1 votes.
Here is the piece of project config:
============================
[submit-requirement "Code-Review"]
submittableIf = label:Code-Review=+1,count>=2
============================
While, in the Gerrit UI, we saw two "Code-Review" in "Submit Requirements" section:
one's Status is SATISFIED , with "Submit condition:
label:Code-Review=+1,count>=2"
the other one's Status is *UNSATISFIED*, with "Submit condition:
label:Code-Review=MAX -label:Code-Review=MIN"
And the change could not be submitted.
So, any suggestions on how to achieve "1+1=2" with submit requirements?
Regards,
Richard