I’ve been stuck writing a Macro and trying to set up global resources for it.
I basically want to store resources(Sets of Data) and then access it from my plugin.
I have been through the Admin Configuration Form Tutorial and some other Atlassian resources.
I don’t seem to be able to connect the snippets.
Can anyone give me pointers as to how I can go about this?
I went through the tutorial as well. While the form displays nicely, the settings are neither saved or retrieved. Attempts at debugging had the following results:
Querying using the REST API browser shows that the data was not saved, and using the PUT call does not do anything either.
Using browser console debug does not appear to show javascript file had been downloaded or was perhaps embedded - I am no expert in javascripting or how Atlassian loads the js files
Using console.log() methods does not show any execution of the js
There appears an exception that keeps occuring when loading the file, the same as detailed in [UPM-5373] - Ecosystem Jira
Really wondering how the developer of the tutorial got the plugin working?
What is missing here?
(there were other tutorials in the past, that there were expected files or configuration that was missed in the documentation of the tutorial. The code from repo, Bitbucket, does not work either)
Now, the javascript used in the tutorial will linkup with the admin.vm form.
(Previously, I had accidentally force set the values into the settings while performing some settings. I have reverted it and the values were reflective of the data set, either through REST browser or form)