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

0 votes

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
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,097 views 4 9
Read article

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