Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

cancel pull request if PR is not from specific branch(es)

Amarendra Bandla
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!
May 15, 2017 edited

Hi,

Is is possible to cancel pull request if the target branch is, say, RELEASE and source branch is not DEVELOPMENT or TESTING. I am trying to use a pre-receive hook but not able to get 'inline script' syntax. Is there a way to use PullRequestOpenRequestedEvent Event Handler or pre receive hook to perform this? 

Thanks in Advance

-Amar

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, team '25, conference, certifications, bootcamps, training experience, anaheim ca,

Want to make the most of Team ‘25?

Spend the day sharpening your skills in Atlassian Cloud Organization Admin or Jira Administration, then take the exam onsite. Already ready? Take one - or more - of 12 different certification exams while you’re in Anaheim at Team' 25.

Learn more
AUG Leaders

Upcoming Bitbucket Events