Our new Appfire Documentation Space is now live!
Take a look here! If you have any questions please email support@appfire.com
Groovy Console
This page allows you to run Groovy scripts against Jira issues without needing to edit a workflow transition. Navigate to the page using Jira Administration → Manage apps → Groovy Console.
Perform the following:
Type: Select one of the following options:
Groovy Script: Select this option to use Groovy Script as input. For more information, refer to Variables and functions used in a Groovy expression.
Groovy Template: Select this option to use Groovy Template as input. For more information, refer to Groovy templates.
Groovy script: Enter a Groovy script or template depending on the Type selected. For more information on how to use this editor, refer to Groovy Editor in JMWE.
To test the input:Click
Test Groovy Script
orTest Groovy Template
to navigate to the Test Groovy Script or Test Groovy Template window respectively, where you can select Jira issues.Select the Issue key and/or optionally Linked issue key, Parent issue key to select the issue on which the Groovy input is run. You can also click
Select issue
to navigate to Issue selector to select an issue.Click
Test
to verify if your script (or template) runs successfully or not.
For more information, refer to Groovy script tester in JMWE.
Ensure the Groovy script or template inserted into the editor matches the Type selected. If not, a warning message is displayed notifying you to modify the input type.