- Getting Started
- Explain what this tutorial about
- By the end of this tutorial...(not sure) - You would be able to write moderate Groovy scripts in JMWE.
- Basics of Groovy
- Skip this if you already know Groovy
- Detail few basic concepts of Groovy
- if, for, closure, lambda expressions, safe navigation operator etc
- References to Groovy tutorials (external)
- Where do you write your Groovy script
- Add a post-function/scripted condition/scripted validator of JMWE
- Select "Groovy expression" option
- The Groovy editor is displayed - Rough introduction on Groovy editor and reference to its actual page.
- Tutorial - My first Groovy script
- Fetch the key of the issue
- issue.getKey()
- Provide reference to the issue variable and the getKey() method
- What do you get as the output - Refer the expected value of each field type document.
- What can I do with this Groovy script result? - that is a String
- Either add this as a comment/Set a field that expects a String as input.
...