Hi,
I am using behaviour plugin to update value of a custom field everytime a issue is reopened.. I am using the below code but no luck!!..Can anyone pls help
<config use-validator-plugin="false" name="Reopen Counter behaviour" description="" guideWorkflow="Test">
<field id="customfield_12051" required="null" readonly="false" hidden="false" validator-class="" validator-script="import com.onresolve.jira.groovy.user.FormField&#13;&#10;&#13;&#10;FormField formUserField = getFieldByName(&quot;ReopenCounter&quot;)&#13;&#10;&#13;&#10;formUserField.setFormValue(Integer.valueOf(formUserField.getFormValue()) + 1)&#13;&#10;" validator-method="">
<when action="3"/>
</field>
</config>
I am new to using this plugin so pls enlighten on mistakes if any or if I am missing something!!
Thanks