Forums

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

Azure DevOps pipeline gets triggered after any update in a PR

Ola
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!
May 28, 2024

I've observed that any update in a PR - not code-related but for example - adding reviewers - is triggering the build pipeline. 

Is it a normal behavior of Bitbucket integration with Azure DevOps or is it possible to avoid this? 

2 answers

0 votes
Saxea _Flowie_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 30, 2024

Hi @Ola

It will also trigger on when title, description, reviewers, destination branch, and delete branch options are changed.

Flowie, a addon for workflow that we provide, supports granular events, so you choose to build only when there's a code change and not the other events.

Pavel Maskevich
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!
June 10, 2024

I have the same problem and can't figure out how to configure that. I can change webhook manually, but if I apply flowie config, webhook is updated.


@Saxea _Flowie_ could you please show an example how it can be configured or link to proper section in documentation? I couldn't find anything like that. 

Saxea _Flowie_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 10, 2024

Hi @Pavel Maskevich, this plugin is currently only available via customer request. Please reach out to support@flowie.app and we can enable it for you on our workspace and provide the details.

0 votes
Syahrul
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 28, 2024

G'day, @Ola 

Welcome to the community!

It sounds like a webhook triggers your integration. Can you navigate to repository settings > Webhook and locate the Azure integration?

Check the webhook trigger and see if there's any PR update. If yes, then adding a reviewer is expected to trigger the webhook to Azure.

Regards,
Syahrul

Derek Price
Contributor
January 8, 2025

I am having the same issue.  I can see that I only have PR "Created" and "Updated" selected for the webhook.  I think the problem is that Bitbucket triggers the PR Updated event even for changes that aren't relevant to the build, like title, description, and review request updates.

 

Screenshot 2025-01-08 113419.png

Syahrul
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 8, 2025

Hey @Derek Price 

I highly suggest you check our webhook triggers documentation to understand further what each trigger means:

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

Regards,
Syahrul

Derek Price
Contributor
January 10, 2025

Interesting.  It sounds like my original assessment was correct.  The problem is that Bitbucket triggers the PR Updated event even for changes that aren't relevant to the build, like title, description, and review request updates.  More granular events here such that that Azure DevOps wouldn't receive a notification in these instances would solve the problem.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events