Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


...

Introduction to Groovy

Groovy is

...

an object-oriented programming language for the Java platform. It is

...

a dynamic language with features similar to those

...

of Python,

...

 Ruby,

...

 Perl,

...

and Smalltalk. It can be used as

...

Panel
borderColorsilver
bgColor#f5f5f5
borderWidth1
borderStylesolid

On this page:

Table of Contents

a scripting language for the Java Platform. It is easy to learn, has smooth Java integration, vibrant and rich ecosystem and powerful features. To know more about Groovy, see the official Groovy Documentation.

...

width350px

On this page:

Table of Contents

Learning Groovy

To learn more about the Groovy language:

Groovy in JMWE

Groovy in JMWE can be used either to write a Groovy expression or a Groovy template in the workflow extension configuration. 

Groovy expression results in JMWE are used in:

  • All post-functions with

...

...

  • selecting Groovy expression as the Comment type

  • Create/Clone issue post-function to

    • Calculate a project by

...

    • selecting Calculated in Project

    • Calculate a parent issue key by

...

    • selecting Calculated in Parent issue

    • Set fields of new issue by

...

    • selecting Groovy expression as the Value type and 

    • Add a comment to the current issue by

...

...

  • selecting Groovy expression as the Value type

  • Email issue post-function to

    • Write

...

    • the Subject, HTML body, Text body

    • Set

...

...

...

Writing Groovy script

You can learn writing groovy scripts by going through the below references:

...

Writing Groovy scripts in JMWE

To learn how to write groovy scripts for JMWE, see:

...

  • Groovy expression - This document explains you the variables available for your Groovy scripts and how to create new variables in your Groovy scripts.

...

...