Triggering build plan on pull request

Alex T I'm New Here Jan 04, 2018

Hi. I did a research on how to kick off build plan when PR is created, it works flawlessly when I create a branch in the same repo.

However, in my case, I need to start a build plan when PR is created from a fork of the main repo to the main repo. I search the internet/plugins but still didn't find any solid solutions. 

I'm using Bamboo 6.2.2 build 60209 & Atlassian Bitbucket v4.8.4

So my question is the following: is it possible to start a build plan on branches residing in the forked repos when you create PR to the main repo? If so, can I get some tips/links on how this could be done?

Thank you!

1 answer

0 vote

Hi Alex,

At this time it doesn't appear this is possible.  I checked JAC for a current Suggestion request and found BAM-14844.  Take a look and make sure the description matches your issue and if so please vote on BAM-14844 to add impact.

If you don't agree that matches I would recommend that you create a Suggestion on JAC and post the link here so the Community can vote for this feature request.

Cheers,

Branden

Alex T I'm New Here Jan 08, 2018

Hi Branden,

yes, this is the exact option I'm looking for. With having more than 50 devs with their own forked repositories it becomes very challenging to setup build pipeline for each PR created.

Will be waiting for the update on BAM-14844.

 

Thank you for your reply.

+1, this really sounds like it should be a Bamboo feature. It's a fairly standard practice to fork repos, work, and create a PR to the main repository.

Ben Hansen I'm New Here Wednesday

+1 for targeting plans based on pull request to destination repo fork and/or branch.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,562 views 0 6
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you