Set the sharing agreement when ticket is created, Zendesk support say this will only work for non zendesk sharing agreements, our use case is youtrack, which works perfectly.