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
Community Members
Community Events
Community Groups

Java Spec for custom task types - unable to load properties

I'm trying to build a custom task plugin, I tried to follow provided documentation:

But unfortunately I ended with exception:


Class '' is not allowed in YAML 

After some debugging I was able to identify that Yaml loader has a whitelisted namespaces which are allowed. I renamed my package to match required regexp but I ended with

exception=Class not found:

Looks like some classloader issue.

Plugin works totally fine, spec files are compilling, and exporter works fine (I can download JavaSpec files from plan edit section). 


2 answers

1 accepted

2 votes
Answer accepted

You can enable this dark feature to make it work:


 You can do that using REST, for instance:

curl -X PUT <server_url>/rest/admin/latest/darkFeatures/bamboo.experimental.specs.plugin.enabled -u<user>:<password> -H "Content-Type: application/json" -d'{"key":"bamboo.experimental.specs.plugin.enabled","enabled":true}'

or by adding command line parameter at startup:

1 vote

Bamboo 7.2 is going to have this problem fixed.

Do you have an estimate for what time scale 7.2 will be released on? Days, weeks, months?

Just to close the loop here, Bamboo 7.2 has been released November 23 2020 and indeed features various Bamboo Specs improvements including the one at hand:

We're introducing the any-task command thanks to which you can use tasks from any Marketplace app in Bamboo YAML Specs.

Suggest an answer

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

Bamboo 9.0 is now available

Hey there, Data Center community! I'm Martyna Wojtas and I am the Product Manager for Bamboo Data Center. I’m excited to share that Bamboo 9.0 is now available. We purpose-built this platform to help...

310 views 0 7
Read article

Atlassian Community Events