Hey,
I want to submit a form like in ScriptRunner docs (Dialog) -
https://scriptrunner.adaptavist.com/latest/jira/fragments/WebItem.html#_dialogs_advanced
To do that I need to use a web resource
https://scriptrunner.adaptavist.com/latest/jira/fragments/WebResource.html
but it's not working for me.
Can anyone help?
I add to setenv.sh file this line as is-
<span>JVM_REQUIRED_ARGS</span>='<span>-Dplugin</span><span>.resource</span><span>.directories</span>=/<span>app</span>/<span>home</span>/<span>scripts</span> <span>-Dother</span><span>.properties</span>...'
In my script directory -
Application Data\JIRA\scripts\resources I added a "resources" file and in there I added a JS script.
alert("test")I reset my JIRA so the setenv.sh can be loading again.
After the restart, I tried to run the resource but I get this error:
You need to configure at least one alternate resource directory before using a web-resource, see the documentation
I filled the form like this:
Context(s)- jira.view.issue
Key- alert
Resources - resources/alert.js
Please help!