2

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?

asked Oct 22, 2013 at 18:38

1 Answer 1

1

Actually this works as expected, when using print the output is redirected to the server log which is catalina.out. On my Linux server, the file is at:

/opt/atlassian/jira/logs/catalina.out 

When running the script above the string this is a test will be appended to the file.

answered Oct 24, 2013 at 13:10
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.