Forums

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

ScriptRunner script to require version increment

erockx
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!
October 9, 2018

I'm trying to write a Scriptrunner for BitBucket script that will prevent a merge if ...

  • the destination branch is master
  • the setup.py file is not part of the pull request
  • the version number within setup.py has not been incremented

@adammarkham, I've seen your solutions that could help me in the posts below ...

But when I try to use them, it says the default variables are not found.  Any suggestions for how to get your past custom scripts to work in the "Conditional Merge Check" or ideas for my specific requirements above?

Conditional Merge Check screen shot.png

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events