Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Dynamic Loading of Data in Task Configuration using Callback

Tanmoy Guha October 16, 2020

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: 

image.png 

 Thanks, 

1 answer

1 accepted

1 vote
Answer accepted
Alexey Chystoprudov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 16, 2020

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/

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events