Forums

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

Scriptrunner for bitbucket (pre hook)

Nike
Contributor
December 21, 2021

Is it possible to check the code for patterns using scriptrunner?

1 answer

0 votes
Robert Giddings _Adaptavist_
Community Champion
December 21, 2021

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

Robert Giddings _Adaptavist_
Community Champion
January 19, 2022

Hi @Nike ,

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

Kind regards,

Robert Giddings,

Product Manager,

ScriptRunner for Bitbucket

Like Nike likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events