Scriptrunner by Adaptavist is one of the most successful automation tools for Jira. It lets you write groovy scripts for many automation jobs, transitions, scripted fields, etc.

Now Scriptrunner is able to script other plugins with the help of two annotations if they have the necessary services and API-s.