I have series of ProForma forms that are submitted as issues to the Jira Service Desk.
I needed to run some scripts against these issues after they were created and fast-tracked into a Queued state. I elected to run a Groovy script as a Listener on Issue Update. The thinking was that because the state of the ticket was being updated from Open to Queued, the Listener would have plenty of material to work with.
The issue that I encountered was that the listener was only detecting some of the issues. I enabled logging at the outset of the Listener script and told it to record any ticket that was subject to an Issue Updated event. Some of the issues created by the forms weren’t being detected by this at all. At the same time, some of them were.
The issue was consistent, in that certain forms were never detected by the listener, and certain forms were always detected. There was no appreciable difference in the form setup or the way the tickets were processed. The Listener script itself simply examined the Request Type field of each ticket (which is a Jira Core field), and routed the ticket based on