I want to have a "Break Glass" scenario where any member of a specific group can override the merge checks in specific cases.
I am using script runner and I can't figure out how to get the number of successful builds or the user that is viewing the PR
{psuedo code}
if( (description contains "Emergency" && successful builds is gte 0 && user is in devops group)){
allow merge
} else {
veto
}
{/psuedo code}
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.