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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Custom listener Scriptrunner Bitbucekt


Hello and thank you in advance for the assistance.

I am trying to write a listener for Bitbucket repositories but i am not sure where to start or to go about it.

I am trying to write a listener to on all changes in repositories specifically MergedEvent.

I want to listen for events where a a branch is merged with another matching the condition if the pull request content files with a certain extension.

As a result send an HTTP request with the file name, repository name and other info i can get.

1 answer

Hi @Hamdy Atakora ,

Have you already seen ScriptRunner for Bitbucket's documentation on Custom Listeners, which can be found here:

We also have a custom Script Console script in our Library which shows how to make HTTP requests, which you might also find useful:

Does this help you get started with the custom listener you are trying to write? Or do you require more help?

Kind regards,

Robert Giddings,

Product Manager, ScriptRunner for Bitbucket

A little too late in replying here but nonetheless . Thank you. We went wit a different approach .  Appreciate it.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

3,920 views 10 16
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you