The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

How to automatically send an announcement after editing the source code?

Dominik Otocan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 26, 2025

Hello,

 

to clarify, announcements are currently manually written and sent on a specific date.
What me and my team want to achieve is that whenever someone edits the source code on Bitbucket, an announcement gets sent with some data, for an example the commit messages.

Is this possible to achieve?

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

2 votes
Tyler T
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 26, 2025

Hi @Dominik Otocan , welcome to the Community!

You can use the GraphQL API to send announcements:

https://developer.atlassian.com/cloud/compass/graphql/#mutations_createAnnouncement

In this case, you could listen for events from Bitbucket Cloud using webhooks, and then transform data from the webhook into an annoucement.

https://support.atlassian.com/bitbucket-cloud/docs/manage-webhooks/

Let us know if that helps!

- Tyler

TAGS
AUG Leaders

Atlassian Community Events