Unfortunately with bitbucket-branch-source-plugin: 2.6.0 I can not make use of "traits" with job-dsl + configuration-as-code.
I used to be able to do the following:
But now its not supported anymore. Also clearly visible via the api-viewer that that option is now missing.
Downgrading bitbucket-branch-source-plugin to 2.5.0 fixes the issue. So definitely a regression happening.