The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Script Runner - Based on Branch Name PR's , Want to add mandatory reviewers

User Three
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 24, 2019

Hello, 

Just wanted to know, in my current repository i wanted to have list of auto approvers based on branch name. Context is 

 

Branchname1 : user1 , user2 

Branchname2: user3 , user4

Branchname3: user5, user6

 

Can you please help me out, when a PR is requested on branchname1 it should allow me to pick up automatically user1 and user2 as mandatory approvers.

Similarly for branchname2, when PR is requested in that branch it should autoamtically assign user3, user4.  Any idea ?

0 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

TAGS
AUG Leaders

Atlassian Community Events