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

Send custom email with script runner in bitbucket

Rajeswari Thangavel January 24, 2019

Hello,

Is it possible to send custom email to all users in bitbucket using script runner?

1 answer

Suggest an answer

Log in or Sign up to answer
0 votes
Dan Ivory
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
January 28, 2019

Hi Rajeswari,

Yes you can send emails using ScriptRunner for Bitbucket. However, it depends on when you want to send the email. 

If you want it triggered via a post receive hook, then see these docs: https://scriptrunner.adaptavist.com/latest/bitbucket/PostReceiveHooks.html#_send_mail

If you want it triggered via an event handler, then these are the docs: https://scriptrunner.adaptavist.com/latest/bitbucket/StashEventHandlers.html#_send_mail

And If you want it triggered as a scheduled job, then these are the docs: https://scriptrunner.adaptavist.com/latest/bitbucket/ScriptJobs.html#_send_mail

Hope that helps,

Dan

TAGS
AUG Leaders

Atlassian Community Events