1
0
-1


While trying to sync an epic at creation (i.e. epic is created in instance A and immediately synced to instance B) I get this error message:


Script error
details: Could not create an issue with type `Epic` on project `ABCD`:
Field customfield_10007: Field 'customfield_10007' cannot be set. It is
not on the appropriate screen, or unknown.. `

now all of the custom fields I use in the epic have been included in the scripts. Plus earlier today I was able to sync an epic under the same conditions.

Has anyone else experienced this?


    CommentAdd your comment...

    2 answers

    1.  
      1
      0
      -1

      Hi I was able to fix it, in the incoming sync script i had the following bit

      Epic.receive()

      However since I'm using a single connection for the issues this would mess with incoming epics


      Using a conditional statement worked

      if(issue.issueType != "Epic") {
      	Epic.receive()
      }

      Allows to sync epics and preserve the Epic Link in stories

        CommentAdd your comment...
      1.  
        2
        1
        0

        Hi,


        I'd need to see the Outgoing Sync script from the source and the Incoming Sync on the receiving side. Also evidence that 'customfield_10007' is indeed on the Create screen on the receiving side.


        Cheers,

        Howard

          CommentAdd your comment...