I'm building a plugin to send http requests to a server whenever I open or edit a pull request in atlassian stash. I've gotten the plugin to work with hardcoded values (like the url, various url parameters, etc.) but now I need to present a configuration screen so these values can be set after installing the plugin. All I need to configure is a couple text strings and a key-value mapping of strings to strings. Nothing complicated!
Unfortunately the stash and atlassian api is a little fuzzy: there's information for linking to a servlet, or something, and describing how once you have the configuration object to connect to it, but that's all I can find. They also point at a couple examples like google maps and webdav plugins, but without any comments it might as well be latin.
Can someone point me to an example or tutorial that shows how to present a configuration panel for a stash (or atlassian) plugin?