We have built Azure DevOps pipelines off of Bitbucket repositories. And we are trying to trigger the pipeline based on 'pullrequest' or 'push' to certain branches using Azure devops yaml code documentation here which specifies the exact code to be used while using Bitbucket repositories.
The problem is that, whenever we create a new pipeline in Azure DevOps, a 'webhook' is being created and it is behaving in a weird way. For example let's say we have 3 branches, 'abc', 'def' and 'ghi', and when we create 'pr' trigger for one branch 'abc', the 'webhook' is triggering pipeline for PRs raised againist 'def' and 'ghi', and the same goes for 'push' trigger. When set for one branch, the 'webhook' is triggering all the pipelines no matter the branch in which the push is made. And we want to avoid this and clearly communicate to the 'webhook' that only trigger based on the trigger rules of a particular branch and not every branch in the repository.
We are stuck with this issue and were unable to find any solution even after a lot of research. So we seek some help here and also if there is any private channel to ask questions and get answers please guide us through so that we can have more indepth discussion about the issue we are facing.