[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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 30, 2018 in Marketplace Apps

Three tips for boosting your board's efficiency with Story Maps

Trello is one of the most effective tools for driving your sprints. It's customizable for every Agile team and product owners and Scrum masters (SM) love it. However, Agile teams often struggle with:...

862 views 2 9
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