how to add jython (python) to JIRA Script Runner

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

Accepted Answer
1 vote

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

1 vote

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.

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
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

23,861 views 2 7
Join discussion

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