Section | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Groovy in JMWE
Groovy in JMWE can be used either to write a Groovy expression or a Groovy template in the workflow extension configuration.
...
- All post-functions with the Conditional execution section to execute a post-function conditionally
- Scripted (Groovy) operation on issue post-function to execute a Groovy script against an issue
- Scripted (Groovy) conditionCondition to execute a condition
- Scripted (Groovy) validatorValidator to execute a validator
- Comment issue and Comment linked issues post-functions to create the body of the comment by selecting
Groovy expression
as theComment type
- Create/Clone issue post-function to
- Calculate a project by selecting
Calculated
inProject
- Calculate a parent issue key by selecting
Calculated
inParent issue
- Set fields of new issue by selecting
Groovy expression
as theValue type
and - Add a comment to the current issue by selecting
Groovy expression
as theComment type
- Calculate a project by selecting
- Set field value and Set field value of linked issues post-functions to set a field value by selecting
Groovy expression
as theValue type
- Email issue post-function to
- Write the
Subject, HTML body, Text body
- Set the
Recipients
from the script
- Write the
- Unlink issues from the current issue post-function to unlink issues based on the result of a Groovy condition
- Admin screen to test/run Groovy scripts
...
- Comment issue and Comment linked issues post-function to create the body of the comment by selecting
Groovy template
as theComment type
- Create/Clone issue post-function to:
- Set fields of new issue by selecting Groovy template as the Value type and
- Add a comment to the current issue by selecting
Groovy template
as theComment type
- Set field value and Set field value of linked issues post-functions to set a field value by selecting
Groovy template
as theValue type
- Email issue post-function to write the
Subject, HTML body and Text body
- Link issues to the current issue post-function to write
JQL search expression
Building Groovy script
You can start writing groovy scripts by going through the below references:
...