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


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

0 vote
Henning Tietgens Community Champion Sep 20, 2012

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published 5 hours ago in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

27 views 0 2
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