Groovy Scripting in JIRA
Groovy Scripting in JIRA
Day 1
Groovy Introduction
Groovy Fundamentals
o Setup
o Write your first code
o Variable and Data types
o Collections in Groovy: List, Range, Maps
o Challenge
Groovy Essentials
o Understanding Closures
o Working with dates
o Working with strings
o Working with numbers
o Challenge
Script Runner for Jira Introduction
o What is Script Runner?
o Walkthrough
Environment Setup
o Installing Script Runner
o Local setup using IntelliJ
o Using Script Console
o Version control your scripts
Write your first script
o Hello World Script
o Create an issue
Built-In Scripts
o Automate with pre-built scripts
o Play with built in scripts
Time to write scripts
o Script to add a comment
o Script to fetch linked issues
o Challenge
Day 2
Workflows
o Conditions: Using Jira Expressions
o Validators: Using Jira Expressions
o Post Functions
o Challenge
Listeners
o Run scripts in response to events
o Update custom fields from email body
Script Fragments
o Create web panel
o Challenge
Other useful scripts
o Parse JQL results
o Bulk operation on issues
o Add worklog on issues
Integration with other tools
o Create a page in Confluence
o Consume external REST end point