Script Runner and external libraries

Hi,

I want to use Freemarker, I have the jar, can I throw that in a JIRA dir or in the script dir to use it?

Is there a common directory structure I can use?

1 answer

Why not just use velocity? You can throw it in web-inf/lib and it should work, if you really want it.

You can't really load it from a script directly, you could using @Grab (http://docs.groovy-lang.org/latest/html/documentation/grape.html) but I always have mixed results. 

Good question, didn´t think of it.

Tossed the freemarker jar into jira/lib, seems to work just fine :o

But I´ll check velocity out too. It´s useable out of the box I presume?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Oct 31, 2018 in Marketplace Apps

Marketplace Spotlight: Zephyr

Hello Atlassian Community! Each month, we run a series of Spotlights to highlight Marketplace vendors and apps that our team thinks this Community would find valuable. In last month's Spotlig...

335 views 0 1
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