Handling of different "nodeHelper" implementations (Jira/Zendesk)

Originally asked by Dominik Ross on 13 October 2020 (original question)


Hi,

we want to synchronize tickets between Zendesk and Jira Cloud by using the “nodeHelper”.

This is our code:

def project = nodeHelper.getProject("SI"); // this is the important code line!
def foundComponent = nodeHelper.getComponent("TestComponent", project);

if (foundComponent == null){
	/** Do nothing **/
} else{ 
	/** Do something **/
}

This works fine if the direction is “Zendesk -> Jira Cloud” (because the method “getProject” can be found). Unfortunately, in the opposite direction it throws an error “Scala.NotImplementedError: an implementation is missing” (in line 1) because there is no method “getProject” available within the Zendesk scope.

Does someone know how to solve this error?


Answer by Juan Grases on 17 November 2020

Hi! In zendesk we don’t support any field ‘component’ is this a native Zendesk field? If it is a custom field you might try to update your incoming script to update the custom field following our usual custom field scripts.

https://docs.idalko.com/exalate/display/ED/Zendesk%3A+custom+fields+synchronization

Best regards,

Juan