How to run Bamboo plan only after Pull Request was created but not after it was merged to master?
How to configure this in Bamboo Specs?
Context: We'd like to run different types of an analysis on Pull Request and on master, so I thought the best way to approach that would be to create two different plans and disable Pull Request Analysis plan on master branch. In order to enable Pull Request analysis we configure the following plan branch management
plan.planBranchManagement(new PlanBranchManagement()
.createForPullRequest()