Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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
4,556,218
Community Members
 
Community Events
184
Community Groups

Does someone know why only pull requests which made by the admin of the repository trigger the build

I configured well that all the users except the admin have permissions of build and view but when they create pull requests it still doesn’t work.

1 answer

0 votes
Jimmy Seddon
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 21, 2019

Hello @אופיר שמש,

Welcome to the Community!

Can you please provide a bit more information about your environment?

Are you making use of plan branches within your build plan?  Are they created manually? or do you have automatic branch creation when either a pull request or branch is created?

If you are unfamiliar with that I'm referring to here's a screenshot of that configuration within a build plan:

PlanBranchConfig.JPGAny more information you can provide would be really helpful. 

Thanks!

-James

Our environment is Linux Centos 7. Yes we do use plan branches exactly as in your image. We also configured a trigger (BitBucket server repository trigged).

Jimmy Seddon
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 21, 2019

You stated that a build isn't triggered when a pull request is created, is it just the build that isn't triggered or is the plan branch also not created.

If that is the case it might be worth looking at the log files to see what is happening at the time when a pull request is created by someone who isn't an admin of the repository.

The build is not trigged and the plan branch also not created. Only if the admin of the repo does a PR , it triggers the build and create a plan branch, although I gave all the other users permissions of build and view. Which log files are you talking about ? Can you upload an image of the location?

Jimmy Seddon
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 21, 2019

I would start by looking at the atlassian-bamboo.log

which is located in the logs folder within the Bamboo Home directory.  where that exists will depend on where you set that up for your environment.

Ok I will do that and let you know.

Hey , I saw in the logs that when I create a PR from both admin and non admin user , the bamboo detects this event and logs “Received pull request opened event”. In admin creation case , it continues to log about building the plan and creating plan branch and etc. I don’t see any error here when the case is non admin user just only a pull request received and that’s all. Maybe do you have any idea what causes it ?

I also see that it recognizes it as remote event

In both cases but only in admin case it continues to the build

Jimmy Seddon
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 22, 2019

Hi @אופיר שמש,

Sorry this is a weird one.  Is it possible for you to upload or share a portion of the log files?  I'm just curious to see what else is happening at the time when a non-admin user creates the pull request.  if not I understand, it might be worth contacting support that that point.

-James

This is a private network so I can’t upload images here. But when I create one from non-admin user , the first message is received pull request opened event ( it detects the pr) but after that a lot of messages contain accesslogfilter and that’s all .. 

I found the problem. All the Pull Requests made from forks and bamboo doesn’t support it unfortunately 

Like Jimmy Seddon likes this
Jimmy Seddon
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 22, 2019

Wow!  I never would have guessed that was the problem.  I'm glad you found it!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events