I would like to use aui select 2 inside javascript function that forms config form view for repository hook.
I tried to use web-resources to compile soy-template with needed dependencies like this:
<web-resource key="my_resource" name="my resource name">
<dependency>com.atlassian.auiplugin:ajs</dependency>
<dependency>com.atlassian.auiplugin:aui-select2</dependency>
<dependency>com.atlassian.auiplugin:aui-flag</dependency>
<transformation extension="soy">
<transformer key="soyTransformer" />
</transformation>
<!-- JavaScript resources -->
<resource name="simple.js" type="download" location="/templates/simple.soy"/>
<context>context1</context>
</web-resource>
But i cannot understand how to specify such web resource as a value of view element of config-form.
Is there a proper way to use deps inside config form view?
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.