Confluence has been updated to ver 6.15.9. In case of any troubles, please contact infra team.

Questions

 
1
0
-1

How can I set the assignment_group on the ServiceNow side versus the assigned_to?


The idea is to populate a Jira field with the team to assign the ServiceNow tasks to.

    CommentAdd your comment...

    1 answer

    1.  
      2
      1
      0

      Hi!


      To populate a custom field in Jira with the assignment_group of the corresponding ServiceNow entity, in this case an Incident:


      ServiceNow Outgoing Sync:

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



      Jira Incoming Sync:

      //Change "ServiceNow Assignment Group" to the actual name of the Jira custom field you wish to populate with this info.
      issue.customFields."ServiceNow Assignment Group"?.value = replica.assignment_group


      Thanks,


      André

        CommentAdd your comment...