Hi,
I'm writing an automation to get the minimum approvals for a PR before merging it. I tried to search for rest api but couldn't find.
Can someone tell me if there is an rest api to get the minimum approvals required for a PR per repo?
Thanks in advance.
SheshaChandra
Found it.. The rest api is below incase if it helps anyone.
/rest/api/1.0/projects/"+projectKey+"/repos/"+repoName+"/settings/pull-requests"
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.