1
0
-1

Hello,


We saw that exalated Jira tickets have a separate panel where they display the linked item. Is there something similar in Service-Now?

If not, can we add a comment to a ticket that was just exalated in service-now, something similar to:


"The Jira ticket was created. Please view it here: Link_to_Jira_Ticket".


We are using a scripted connection between Service-Now and Jira and we could add that comment through the script, if possible.


Thank you! 

    CommentAdd your comment...

    1 answer

    1.  
      2
      1
      0

      We have created another tab on the forms in ServiceNow to collect information about the connected issue. 


      To populate those fields, the incoming ServiceNow script looks like this:


      // trigger a sync back to the jira instance

      if(firstSync){
        syncHelper.syncBackAfterProcessing(
          )
      }
       //Define date and time 
      TimeZone.setDefault(TimeZone.getTimeZone('EST5EDT'))
      def now = new Date()
      def timestamp = now.toTimestamp()


      //Jira URL in Integration URL field
          entity.correlation_display = remoteIssueUrl
      //Jira key in Integration ID field
          entity.correlation_id = replica.key
      //Set time stamp
          entity.u_last_synced_to_servicenow = "" + timestamp
      //Integration App link - name of this connection 
          entity.u_correlation_app_link = "Connection Name"  


      I hope that helps. 

        CommentAdd your comment...