updating tickets with xmlrpc in the name of a different user
|Reported by:||seniorsamu||Owned by:||osimons|
When a ticket is created using xmlrpc, the user can specify the reporter field so that a single user can be used from the calling program to do all ticket creation. However, when a change has to be introduced, this solution does not work, as with the ticket update xmlrpc call you cannot specify the changer. Implementing a small change in the plugin provides this capability.
In order to achieve this, we introduce an additional attribute to calling ticket.update. This is 'changer'. If the attribute is present then the changer will be logged as to who performed the change, otherwise the user who is authenticated. The attached patch introduces this change.
As this change does not affect current functionality, rather it adds further functions, I would be glad to see this change integrated into xmlrpc. However, didn't have a chance to check if this change affects any of the other extenstions working with xmlrpc, but as all current functionality remains I see little problem there.