Hi I'm developing a plugin that monitor a custom field in the ticket and add the info automatically to a new task..
Since I need to run the code at every modification of that field I've to put away the idea to connect to the "ticket.created" signal event and I opted for a more generic "object.edited" but, even filtering the type, in some cases the plugin runs twice doubling the data.. a case of data duplication comes in when I declare closed the ticket during its main creation.. (it happens for the reporting of closed issues)
there is a safe way to execute only once the code? reverse engineering the code it seems that the signal "ticket.edited" is not existant but maybe its reproducible by filtering the call to object edited but I dont get how.
Thanks for any reply