Questions for Confluence license has expired.

Please purchase a new license to continue using Questions for Confluence.

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

 
1
0
-1

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?

    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      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

        CommentAdd your comment...