We are creating a Bamboo plugin, and while configuring the plugin we need to load data dynamically from different server based on the selected values. So I am looking out for ways to handle this scenario and I could not find any solution for the same. Can anyone provide a solution for this or refer to any relevant resources.
We have created a tasktype mapping in atlassian-plugin.xml, and using TaskConfigurator to configure the plugin, also provided edit and view resources in ftl files.
Configuration:
Thanks,
To achieve such task you need to use some JS code at your FTL templates to fetch data from REST endpoint your plugin provides or fetch it directly from 3party service.
For reference of such functionality look at source code of Bitbucket Server plugin (bamboo-stash-plugin) or Bitbucket Cloud (bamboo-bitbucket-plugin) or https://bitbucket.org/atlassianlabs/bamboo-after-deployment-trigger/src/master/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.