This server will be upgraded at 3pm Sydney time on December 3rd (December 2nd, 8pm PST) and will be down for up to 30 minutes.

Jython Macro

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.

Open Issues with this component

Labels

macro_security macro_security Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
  1. 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?

    1. 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.

  2. 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.

    1. 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.

  3. 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.

    1. 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.