Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Web Resource ScriptRuuner docs


I want to submit a form like in ScriptRunner docs (Dialog) -

To do that I need to use a web resource

but it's not working for me.

Can anyone help?

I add to file this line as is- 


In my script directory -

Application Data\JIRA\scripts\resources I added a "resources" file and in there I added a JS script.


I reset my JIRA so the 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!

2 answers

1 accepted

0 votes
Answer accepted

The problem was that I added another line of 

0 votes


Your forgot the semicolon in the alert method:



Thanks but this was not the problem..

He doesn't recognize the resource at all -

"Could not find resources/alert.js in configured resource directories:"

Javascript doesn't require any semicolon

Suggest an answer

Log in or Sign up to answer

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