How can i get the commit message on event?

I’m using a scriptrunner for bitbucket, tell me how to get the commit message when it was pushed

Hi @Alex5,

I am the Product Manager of ScriptRunner for Bitbucket.

I believe the documentation you are looking for, as an example of a Pre-Hook getting the commit message details is here: https://scriptrunner.adaptavist.com/latest/bitbucket/PreReceiveHooks.html#_commit_details

Please let me know if this is what you are looking for? And that is helps solve your question?

Kind regards,

Robert Giddings