Is it possible to check the code for patterns using scriptrunner?
Hi @Nike ,
Yes, we are looking into providing some examples, on how to do this. Which should be available some time in the New Year.
Do you have a particular use case in mind, you would like us to consider in our examples?
Kind regards,
Robert Giddings,
Product Manager, ScriptRunner for Bitbucket
Further to my previous answer, we have now published a Script to our Adaptavist Library that shows an example of blocking commits based on file content.
The Script can be found here: https://library.adaptavist.com/entity/block-commits-for-files-containing-content-that-doesnt-match-regex
Product Manager,
ScriptRunner for Bitbucket
It looks like you're new here. Sign in or register to get started.