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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,456,843
Community Members
 
Community Events
176
Community Groups

How do I add pipeline name to the email notification

Automatic email notification that bitbuckets sends you when pipeline fails contains: project name, repo name, last commit. But not the pipeline name!

 

Is there any way to add/extract that information? I know there is an email-notify pipeline, which provides a bit more flexibility, but I cannot use it due to not having an email server in the company that allows external access (we die with MS Office 365, ugh), and there is no slack in the company either, so I have to rely on getting notifications as a repo subscriber and then auto-foward them to relevant people depending on prod/test pipeline. Hence, not having the name of the pipeline in the notification sucks.

 

Any ideas how to work around it? Do I give up and write a custom pipeline?

1 answer

0 votes
Caroline R Atlassian Team Jul 28, 2021

Hi, @Viktoriia Kuznetcova! Welcome to the community! 

Could you please clarify what you mean by pipeline name? Currently, as you said, we have the workspace, the repository name, the commit, and the commit message in this email.

So could you confirm what is the field you would like to add to the notification? You can add a screenshot of this field on Bitbucket. 

Thank you!

Kind regards,
Caroline

Hi Caroline! Thank you for your response!

In the bitbucket-pipelines.yaml you specify the names of the custom pipelines, which you can then refer e.g. when choosing which pipeline to run. This is the field that I mean. I have underlined the examples of where it is shown in the GUI.

 

Because the same tests run in test environment and in production, the only difference is the pipeline name (pipeline configuration points to the correct environment specific config to use). This is why having a pipeline name in the notification email is valuable for our team.

Screen Shot 2021-07-30 at 13.12.39.png

Like Caroline R likes this
Caroline R Atlassian Team Aug 02, 2021

Hi, @Viktoriia Kuznetcova

Thanks for the additional information. I’m afraid we currently do not have a way to add the pipeline name for custom pipelines to the email notification, however, I understand that this would be really important for your team, so I've created a feature request to add this to the notification:

I've linked your question to this feature. Please consider adding yourself as a watcher, this way you get updated as we make progress with this. 

If you are not familiar with our Feature Request Policy, you can read more about it here: 

Please, feel free to share any additional questions or concerns regarding this case. 

Kind regards,
Caroline

Like Viktoriia Kuznetcova likes this

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events