how to add jython (python) to JIRA Script Runner

Daniel Ehrlich November 19, 2013

Does anyone have a how-to for getting jython up ad running in JIRA Script Runner? I see the jython radio button in the Script Console, but I can not even get "print 'Hello World!'" to return a value. Also, where does one get the import-able packages for the JIRA API from?

I am new to JIRA but pretty well versed in python.

Thanks for any help.

3 answers

1 accepted

1 vote
Answer accepted
Bharadwaj Jannu
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.
November 21, 2013

Also go through http://quisapps.com/confluence/display/JSS/Scripting+Samples for some example scripts.

1 vote
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.
November 20, 2013

I recommend using https://marketplace.atlassian.com/plugins/com.quisapps.jira.jss for python. I am going to drop support for everything but groovy in a future release.

FWIW, you will need to install the jar but other than that it should work fine.

0 votes
Daniel Ehrlich November 20, 2013

Apparently the jython.jar that comes with RHEL 6 (Jython 2.2.1 on java1.7.0_45) does not work. I had to download the jar from the jython.org site.

Suggest an answer

Log in or Sign up to answer