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 add a script runner custom script

I have tried for over an hour now to find out where to add scripts that are listed when you add a script runner post function to a jira workflow.

I cant find out how i can locate the folder where i can put custom post-function scripts.

I found out that there are "script roots" i assume thats where i need to put my groovy scipts.
Doc claims a script root folder is created automatically but that is not the case.
Setting the environment variable like this
set JAVA_OPTS=%JAVA_OPTS% -Dplugin.script.roots=/usr/opt/scripts

didnt help either.

The Adaptavist documentation is not very helpful either.

Thanks in Advance

3 answers

Have you gone through this doc?

https://jamieechlin.atlassian.net/wiki/display/GRV/Upgrading+to+3.0

I hope this helps you.

Are you sure there is not in one in your JIRA home directory?

Can you provide a directory listing of that directory?

You can also set additional ones using that system property, but it's harder for me to debug why that's not working. I don't even know what file you have added that to.

> The Adaptavist documentation is not very helpful either

Well, I agree we are missing some tutorials for beginners.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in United States

Welcome new members!

Wow, I got swamped and now that I've finally gotten my head back above water, I find we have several new members! Welcome @Darren Keith lowman , @Amanda Babb , @Luis Zapata , @Joli Holmes , and @bh...

31 views 0 2
View post

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