Hi everyone.
I built a Behavior that is working but am not having luck with Listener.
The listener does not seem to be firing.
I need it to fire on a field changed event.
I added the "Issue create" Event to see if I could get anything but am not having any luck.
This is my code for now.
I have stripped it code down for testing. Just want to see the event fire.
import com.atlassian.jira.issue.Issue ;
import com.onresolve.jira.groovy.user.FieldBehaviours ;
import groovy.transform.BaseScript ;
import com.atlassian.jira.issue.IssueFieldConstants ;
try {
getFieldById('customfield_18801').setFormValue( "Hello txtField" ) ;
getFieldById('description').setFormValue( "Hello from Listener" ) ;
} catch(Exception e1) {
getFieldById('customfield_18801').setFormValue( e1.getMessage() ) ;
}
pic of my Listener setup is included.