Script Runner and external libraries

Holger Buhr March 2, 2016

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

0 votes
JamieA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 2, 2016

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. 

Holger Buhr March 2, 2016

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?

JamieA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 2, 2016

pretty much...

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events