Hi Everyone,
Script Runner has started to collect and share scripts for general use through their new Adaptavist Library service: https://library.adaptavist.com/
There is a script in the Adaptavist Library service which I would like to make use of in order to improve my end-user's experience of working with Jira (1000 users).
The purpose of the Adaptavist script is to save a draft of a comment (local to the user's session) so that in the case of web page refresh the Jira Issue comment is not lost... which definitely happens from time to time when a User is working with Jira in a high volume usage pattern for their day to day work.
Where do place the script Save a comment draft automatically in Jira in the Script Runner App in order to make use of this script (and other similar scripts)?
I am new to using Script Runner in this manner.
Script Runner is running in Jira (licensed).
Thank you in advance for your advice and help.
Michael
Hi Michael,
I believe that JavaScript would be used as a Script Fragment, specifically a Web Resource.
Let me know if you can get it working as a web resource.
Regards,
Josh
Hi Josh,
Thank you for the reply... however we are not there yet.
The information in the Adaptavist Script Library can definitely be improved... Presumably the purpose of the new Adaptavist Script Library is to help your customers and potential customers learn about how to gain far deeper control and customization of their Atlassian applications... However, your Adaptavist documentation needs to be accessible to a broader range of people not just people who are [Atlassian development experts + Adaptavist Script Runner experts + Groovy / JavaScript experts]. Though I certainly aspire to become an [Atlassian development expert + Adaptavist Script Runner expert + Groovy / JavaScript expert].
Additional Questions about implementing the Script Fragment -> Web Resource:
<component-import key="appProps"
interface="com.atlassian.sal.api.ApplicationProperties"/>
In the example, appProps
is the key for this particular module declaration, for component-import
, in this case.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Josh,
Using the following values (chosen as a best guess as the documentation was not clear / clearly available):
Returns the following errors in my Script Runner Install web resource UI:
What do I need to do to make this Adaptavist script work in my Jira Data Center deployment?
Thank you.
- Michael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.