Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Bamboo build is failing with the below error in Bamboo Version 6.0.5

Hi Team,

Our Bamboo Builds are failing with the below error after Bamboo Upgrade to version 6.0.5.

The error logs are 

:14:31	  File "/amp/local/tobld/build-and-deployment-automation/python/", line 557, in <module>
error	20-Feb-2018 08:14:31	    main()
error	20-Feb-2018 08:14:31	  File "/amp/local/tobld/build-and-deployment-automation/python/", line 500, in main
error	20-Feb-2018 08:14:31	    build_plan.add_group_permission(group, group_permission='READ')
error	20-Feb-2018 08:14:31	  File "/amp/local/tobld/build-and-deployment-automation/python/packages/", line 361, in add_group_permission
error	20-Feb-2018 08:14:31	    current_groups = self.get_group_permissions(force_refresh=True)
error	20-Feb-2018 08:14:31	  File "/amp/local/tobld/build-and-deployment-automation/python/packages/", line 383, in get_group_permissions
error	20-Feb-2018 08:14:31	    plan_yaml = self.get_yaml_config(force_refresh)
error	20-Feb-2018 08:14:31	  File "/amp/local/tobld/build-and-deployment-automation/python/packages/", line 157, in get_yaml_config
error	20-Feb-2018 08:14:31	    extracted_yaml =
error	20-Feb-2018 08:14:31	AttributeError: 'NoneType' object has no attribute 'group'

1 answer

0 votes

Hi Mohit,

  • Does the script need to run with permissions it's not allowed to?
  • If you run the script from the command line does it work?

The only thing the script seems to show are permission issues

  • add_group_permission 
  • get_group_permissions
  • current_groups = self.get_group_permissions(force_refresh=True)
  • build_plan.add_group_permission(group, group_permission='READ')

Without seeing the script it would be difficult to determine what's going on.  The first thing I would check is the permissions of the user running the script during execution and go from there.

I would also take a look at the error AttributeError: 'NoneType' object has no attribute 'group'.  Here is a StackOverflow article that may help.



Hi Branden,

Thank You for your reply!

We are using a python script to automate the process of creating the bamboo build plan. This script is failing after the bamboo upgrade to version 6.0.5.

The issue is not with the permission, because the same script was working fine with the version 5.15.7.  The error we suspect is yaml configuration of build plans has changed drastically between v5.15.7 and v6.0.5. Please can you suggest some solution.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bamboo

Bamboo Data Center - Early Access Program

G’day Bamboo customers, The wait is almost over! We are in the final stages of work on the first release of Bamboo Data Center, our self-managed enterprise offering of Bamboo. This Data Center offe...

1,008 views 0 16
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you