ScriptRunner for Jira is a collection of powerful but easy-to-use workflow functions, JQL functions, listeners and services. Either augment the ones provided with groovy, or write your own. You may never need to write your own java Add-on again.
You can leverage Test Management for Jira (TM4J) existing functionality and automate some tasks by using ScriptRunner integrated with TM4J. For example, you can script and customize TM4J out-of-the-box functionality, such as:
Workflow Condition that prevents an issue transition
Workflow Post Function that creates a test case when an issue performs a particular transition
Calculated scripted field that aggregates data for an Epic issue type