Documentation or example for a project settings UI for stash plugin?

Hi all,

after a couple of frustrating hours of try and fail, I gave up figuring out how to create a custom settings UI for a new Stash plugin I'm writing. I haven't found a good example, let alone a coherent documentation on how to write such UIs. Examples I found are apparently not compatible with the latest Stash plugin API (2.12), especially wrt Soy templates. Some examples use {call widget.aui.form.form} while others (apparently newer) use {call aui.form.form}. Using the latter I get the following error

2014-04-02 19:57:20,780 ERROR [http-bio-7990-exec-9]  o.a.c.c.C.[.[.[/].[plugins] Servlet.service() for servlet [plugins] in context with path [] threw exception
5903 com.google.template.soy.tofu.SoyTofuException: In template plugin.profile.projectSettingsTab: Attempting to render undefined template 'aui.form.form'.
5904     at com.google.template.soy.tofu.internal.BaseTofu.renderMainHelper(BaseTofu.java:341) ~[na:na]

The syntax for adding checkboxes and text fields also varies from example to example.

I'd be thankful for a link to current documentaion or (even better) an up to date example plugin which adds a project configuration.

Thanks in advance,

Georg

1 answer

1 accepted

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in Teamwork

What teamwork quotes inspire you?

Hey everyone! My name is Natalie and I'm an editor of the Atlassian Blog and I've got a question for you: What's your favorite quote about teamwork?  We've compiled a list here, along with...

195 views 18 7
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you