1
0
-1

We need to sync the Assignment Group to Component – how hard is it to map that with Exalate?

    CommentAdd your comment...

    1 answer

    1.  
      2
      1
      0

      Hi!


      You are going to need to map from the ServiceNow Assignment group values to the corresponding component names in Jira (smile)


      ServiceNow Outgoing Sync:

      if(incident.assignment_group && incident.assignment_group != "")){
        replica.assignment_group = incident.assignment_group?.displayValue
      }


      Jira Incoming Sync:

      def componentsMapping = ["Assignment Group A":"Component Name 1",
                               "Assignment Group B":"Component Name 2"]
      def component = nodeHelper.getComponent(componentMapping[replica.assignment_group], issue)
      issue.components += component


      Thanks,


      André

        CommentAdd your comment...