You can create a file named service1.groovy with the following content
Then you put this file to <JIRA_HOME_DIRECTORY>/scripts/groovy
and then you configure a service in JIRA. You can read here how to configure it:
When you need to provide a groovy script file provide the following line
That is it. You will see in atlassian-jira.log file "service completed". Then change service1.groovy as you wish to meet your buisness goal.
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs