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

Send notification if build failure log contains specific error message or code


I have a Bitbucket pipeline which internally calls different APIs for authentication and other functionalities. I want to get notification for all the pipeline failures. But if the failure log contains specific error message or error code, I would like send a notification to other teams as well. These team may change base based on the error code/message.

Is there a way to achieve this scenario in Bitbucket pipeline.

1 answer

0 votes
Syahrul Atlassian Team Jan 03, 2022

Hi @Devendra Sharma


Currently, we don't have the feature to create a custom email notification for specific error messages in Bitbucket pipeline build logs.


We only sent email notification for failed build at this moment, but I have proceeded to raise a feature request on behalf of you, please Vote and Watch  the feature request so that you'll receive an update whenever we have any at:

I hope this helps.


Suggest an answer

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

⭐ Calling all Bitbucket and DevOps experts: Special showcase opportunity ⭐

Hi, Bitbucket community! Are you a DevOps practitioner (or know one in your network)? Do you have DevOps tips, tricks, or learnings you'd like to share with the community? If so, we'd love to hea...

1,440 views 4 7
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