[Plugin ScriptRunner] My script in a post-function is not running. Can Jira find my script? Problem with directory? Edited


I am using JIRA and Script Runner plugin . I am trying to run a script in a post-function through a script existing in a file path.

I think i am doing the steps correctly. Moreover, i am putting my file in this directory:


The file scriptTeste is my script. The variable catalina_home is point to "C:/Program Files/Atlassian/JIRA/bin". The folder "atlassian-jira" is in "C:/Program Files/Atlassian/JIRA". I create de folder "scripts".

However, when the transition occurs, nothing happens. It seems that my script is ignored, because it is not executed (a field value should change, but it is not happening). On the other hand, no error is showed.

I do not know what is the problem. I tried to chance de directory, the code, etc., but the problem continues. Do I need restart something?

Any sugestion? Can someone help me?

Thanks a lot in advance!

2 answers

Hi, do you tried to enable logging for Script Runner by modifying the log4j.properties as described on https://studio.plugins.atlassian.com/wiki/display/GRV/Script+Runner in chapter logging?

After that, and a restart, you should try to run the postfunction script and take a look into catalina.out. You may post the error here to get more help.


hi, did you find a solution? I am facing same problem now. 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Feb 07, 2019 in Marketplace Apps

A Timeless Love Story

It started as any story starts, on a normal, rainy day.   Admin meets App, and her name was Klok2, and like any first relationship we were both trying to make it work but neither one knew what...

441 views 8 26
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you