2
1
0

Hi, I wish to set a static/default Epic link in Jira cloud, from ServiceNow. I do not wish to sync all the Epics into ServiceNow. I can see there is documentation on how to do this for Jira "on prem". I have tried using the same script line as shown on the on prem and it does not work

    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      Hi Jonathan Gilbert 

      Rephrasing your question
      On an incoming sync - Jira Cloud side - issues need to be added to one specific epic



      Is this correct?



      1. Jonathan Gilbert

        Morning Francis


        Yes you are correct

      2. Francis Martens (Exalate)

        Just do on the incoming sync

        if(firstSync){
           issue.projectKey   = "PAR"
           issue.typeName     = "Story"
           issue.customFields."Epic Link".value = "PAR-22"
        }



        PAR-22 is the issue key of the Epic.

      CommentAdd your comment...