I have a webhook that listens for the issue created event for Incident issuetype.
Incident is submitted > create issue event > webhook triggers
This is working as expected.
However, sometimes we want to change an existing ticket lets say with the issuetype Story into an Incident, so I have set up "convert to incident" workflow. It uses the Scriptrunner "Clones an issue, and links"
post-function to clone the ticket as an Incident and the original Story issue is resolved.
This creates a new ticket but it doesn't trigger the issue created event, and I can't figure out why.