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,297,685
Community Members
 
Community Events
165
Community Groups

Why Isn't prepareConfigObject() Called In a Job Level BuildConfigurationPlugin?

I'm creating an <additionalBuildConfigurationPlugin> (extends BaseBuildConfigurationAwarePlugin implements MiscellaneousPlanConfigurationPlugin).

I have added custom properties to the buildConfiguration in 
prepareConfigObject().  This works great at the Plan level: prepareConfigObject is called before populateContextForEdit, custom FTL picks up the properties, changes are handled in validate().  No issues there.

However, when viewing the Miscellaneous configuration at the Job level, prepareConfigObject() is never called so my FTL form is empty.

Why is prepareConfigObject() not called at the Job level, or how can I force it?

 

0 answers

Suggest an answer

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

Bamboo Data Center on Kubernetes

Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...

953 views 3 8
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