Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to configure web resources in ScriptRunner

Hi,

I am trying to use AUI Single Select in my Jira customization using script runner. For this, I am following the below URL- 

https://docs.atlassian.com/aui/7.10.2/docs/single-select.html

As per the above URL, this component is not included in the AUI core. I must explicitly require a web resource key.

So I am using below URL for adding the web resources-

https://scriptrunner.adaptavist.com/latest/jira/fragments/WebResource.html

but it's not working for me.

I have made following changes in setenv.bat after went through the above document.

set JVM_REQUIRED_ARGS=-Djava.awt.headless=true -Datlassian.standalone=JIRA -Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true -Dmail.mime.decodeparameters=true -Dorg.dom4j.factory=com.atlassian.core.xml.InterningDocumentFactory -Dplugin.resource.directories=C:/Program Files/Atlassian/Application Data/JIRA/scripts -Dother.properties

I have provided the below values in web resource fields -
Context - com.atlassian.auiplugin:aui-select
Key- autoSelect
Resources- auto.js [just added the alert to check if it's working]


But I am unable to add web resources. Getting following error while adding the web resource- "Could not find <tt>auto.js</tt> in configured resource directories".

I have placed auto.js under "C:\Program Files\Atlassian\Application Data\JIRA\scripts\" 

 

I have also raised a ticket to script runner support team to know where I am missing. According to them,  Jira is not picking up that startup argument for some reason and suggest me to raise a ticket to Atlassian support.

Can anyone help me with this?

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase

The benefits of using Jira in different departments

Jira is a great tool to use across different departments. Forget that paperwork – switch to Jira and get that tasks done smoothly. Marketing Jira allows for a complete digital transformation of you...

102 views 0 6
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you