MissingPropertyException exception (event for class) when running a workflow post function script


We're currently running JIRA Software and Service Desk on one instance, and I've been trying to set up a script to run when an issue transitions using the Post Function.

Whenever it runs the script, it causes the following error:

2017-09-06 19:47:32,372 ERROR [workflow.ScriptWorkflowFunction]: Script function failed on issue: ARC-15301, actionId: 41, file: <inline script>
groovy.lang.MissingPropertyException: No such property: event for class: Script14
	at Script14.run(Script14.groovy:6)

 The script itself is simply:


Does anyone know what the issue is? Is it a bug with our instance?
I've noticed a couple of bugs since we updated our JIRA to include Service Desk, could it be from this? If so, does anyone know how to fix it?

Thanks in advance,


1 answer

This widget could not be displayed.

The script you have on your post-function is clearly not what you say it is - for a start, it's failing on line 6, so there must be more script than just your 'log.info' bit.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted yesterday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

72 views 1 0
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