| Name | Jython Macro |
|---|---|
| Plugin | Java Scripting Plugin |
Description | Documentation | Common parameters | Usage | Security | Open Issues with this component
Description
Java scripting using Jython
Documentation
- Help available in the notation guide.
Common parameters
Pre-defined variables
Usage
{jython}
out.println("Hello world");
{jython}
{jython:output=wiki|script=#example.py|var1=test}
{jython}
{jython:var1=hello|var2=world}
print "Output parameter"
print var1 + var2
out.println(var1 + var2)
{jython}
Security
This macro support Macro Security Plugin.

Comments (6)
Apr 16, 2007
Clark Updike says:
Is there any plan to update this to run with 2.4?Is there any plan to update this to run with 2.4?
Apr 16, 2007
Bob Swift says:
I don't see any reason why it will not continue to work on 2.4. Documentation w...I don't see any reason why it will not continue to work on 2.4. Documentation was totally out of date ... that has been corrected.
Apr 20, 2007
Gary Catalano says:
I'm using 2.4.4 and I can't get Jython scripts to work either. In fact, al...I'm using 2.4.4 and I can't get Jython scripts to work either. In fact, all I get is beanshell.
Apr 20, 2007
Bob Swift says:
Try the beta attached to Java Scripting Plugin and see if that helps. There see...Try the beta attached to Java Scripting Plugin and see if that helps. There seems to be various problems with 2.4.x with respect to plugin loading and incompatibility and I have a discussion with Atlassian on that. Jython does work on my 2.4.5 installation.
Apr 23, 2007
Gary Catalano says:
Thanks for the link. I installed the new version and it's working.Thanks for the link. I installed the new version and it's working.
Apr 23, 2007
Bob Swift says:
Good! Unfortunately groovy is broken on that one, so as long as you are only us...Good! Unfortunately groovy is broken on that one, so as long as you are only using Jython.