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
Community Members
Community Events
Community Groups

Bitbucket Pipelines & approvals

I know that Bitbucket Pipelines has the ability to make a deployment manual (trigger: manual).  Is there a way to send approval to another user before continuing with the deployment to production?  Maybe there's a 3rd party pipe that can do this?  

2 answers

0 votes

@Monica Gordillo Currently Bitbucket Pipelines doesn't have the capability to request approvals for deployments within the product. Bitbucket Pipelines does have integration with Jira Service Management which allows you to request approvals.  

@Justin Thomas @Monica Gordillo Will this code work for auto-approval?

build: &build
name: Build
- echo "Starting build..."
#- <your build logic>
- ALERT_TYPE="success"
- if [[ $BITBUCKET_EXIT_CODE -ne 0 ]]; then ALERT_TYPE="error" ; fi
- pipe: atlassian/email-notify:0.3.12
FROM: ''
TO: ','
HOST: ''
SUBJECT: '${ALERT_TYPE}:Bitbucket Pipe Notification for ${BITBUCKET_BRANCH}'


@Monica Gordillo 

When you use a manual trigger (see e.g. ), you can send an email from e.g. a bash script or through a webhook.

Sounds like no option exists within Bitbucket Pipelines itself? 

Unfortunately, the manual trigger cannot be the only/first step in the pipeline. 

Suggest an answer

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

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,224 views 2 9
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