Jython with Jira - the basics

Paul Nichols October 21, 2013

I'm new to the Jira Script Console. I would have thought that:

def test():

       print 'this is a test'

       return 'testing'

    

    test()

would do the obvious, but I'm getting a return value of 'no return value' and either the print statement isn't working or I'm looking for it in the wrong place (the Chrome console).

Anything?

2 answers

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.
October 22, 2013

No, "print" would go to stdout, normally redirected to the file catalina.out.

I've been thinking about dropping support for all languages other than groovy, the restrictions are not worth it for the number of non-groovy users.

Paul Nichols October 27, 2013

I understand, but maybe there'd be more non-groovy users if there were some sort of docs for us?

0 votes
Paul Nichols October 21, 2013

A good link to docs may be sufficient if this is a dumb question--I can't seem to find relevant information.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events