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

Repository Hooks with dynamic config form

Matt October 26, 2017

I'm writing a BitBucket post-receive hook and I want the config form to be dynamic. Similar to the Atlassian Post-Receive WebHooks plugin where you can specific additional urls.

How can I add javascript to fire if the user clicks on "add additional resources", etc.

I've tried variations of "client-resource" and "web-resource" in atlassian-plugin.xml

and I've tried including the javascript file from the config form template via <script src=...>.

So far nothing has worked. I verified the javascript file is included in the jar file but when I view source is Chrome or Safari the javascript file is nowhere to be found.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events