Error in view_configuration when using Bamboo configuration YAML Specs
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Summary
From Bamboo 8.0.0, the option to View plan as YML;
Build -> Configure plan -> View plan as YML
adds a Bamboo Datacenter license plan permission view_configuration
property which is not available in a standalone license
1
2
3
4
5
6
7
8
9
10
plan-permissions:
- users:
- admin
permissions:
- view
- edit
- build
- clone
- admin
- view_configuration
An error in atlassian-bamboo.log file
1
2
3
4
5
6
7
There was an error when processing yaml file "bamboo.yml". File structure is correct, contact Atlassian Support for assistance on resolving this issue.
Can't handle permission: VIEW_CONFIGURATION
java.lang.IllegalArgumentException: Can't handle permission: VIEW_CONFIGURATION
at com.atlassian.bamboo.configuration.external.yaml.BambooYamlToSpecsConverterImpl.lambda$getPermissionTypes$17(BambooYamlToSpecsConverterImpl.java:295)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:546) at java.util.stream.AbstractPipeline.evaluateToArrayNode(AbstractPipeline.java:260)
Solution
Remove this
view_configuration
property from YML Spec file to resolve this issueupgrade to Datacenter licence
1
2
3
4
5
6
7
8
9
plan-permissions:
- users:
- admin
permissions:
- view
- edit
- build
- clone
- admin
Was this helpful?