Implications on Jelly "Escalation" service when using simplified Greenhopper workflow

Andrei [errno] Community Champion Aug 13, 2013

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?

1 answer

1 accepted

1 vote

The simplified workflow removes your transition names and has a swathe of simplified and standardised transitions. The names are the same as the target of the transition.

You'll need to look at your simplified workflow, but the simple answer is that your "close issue" transition will have been deleted, and you'll need to work out which one to change your script to call. My guess would be "Closed" as you mention that status.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,240 views 14 19
Join discussion

Atlassian User Groups

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!

Find my local user group

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

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot