have been using https://confluence.atlassian.com/display/JIRA/Jelly+Escalation for a while now with great results
<jira:Login username="admin" password="">
<log:info>Running "Close tickets - Jelly"</log:info>
<core:set var="varComment">Auto-closing a resolved issue (no recent activity).</core:set>
<core:set var="varWorkflowStep" value="Close Issue" />
<core:set var="varWworkflowUser" value="admin" />
<core:set var="varFilter" value="<<<my-filter-id>>>" />
<jira:RunSearchRequest filterid="${varFilter}" var="issues" />
<core:forEach var="issue" items="${issues}">
<log:info>Closing issue ${issue.key}</log:info>
<jira:TransitionWorkflow key="${issue.key}" user="${varWworkflowUser}" workflowAction="${varWorkflowStep}" comment="${varComment}" />
</core:forEach>
</jira:Login>
after switching one of the projects in my filter to simplified Greenhopper workflow it stopped working with
<jira:TransitionWorkflow> Invalid action name 'Close Issue'.
in the logs. "Resolved" and Closed" statuses are in "Done" swimlane in my Kanban board...
Any pointers?