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

How to sync customfields by ID (same Jira Instance)

 
1
0
-1
Hello, In my Jira instance I have a customfield called location. There are 5 custom field called location. Exalate throws an error when trying to sync because there are a lot of this custom field. The documentation says I should call it by ID but does not specify the proper way. If I am syncing two Jira Projects locally (same server) what would be the correct syntax? Outgoing Option 1: replica.customFields."17800"= issue.customFields."17800" Ooption 2: replica.customFields."customfield_17800"= issue.customFields."customfield_17800" Ooption 3:replica.customFields."Location"= issue.customFields."17800" Incoming issue.customFields."17800".value = replica.customFields."17800".value issue.customFields."customfield_17800".value = replica.customFields."customfield_17800".value issue.customFields."17800".value = replica.customFields."Location".value Which one would be right? Thanks
    CommentAdd your comment...

    2 answers

    1.  
      1
      0
      -1

      It should be Option A:


      Outgoing:


      replica.customFields."17800"= issue.customFields."17800"


      Incoming:

      issue.customFields."17800".value = replica.customFields."17800"?.value


      I will make sure the docs indicate this correctly.

      Best regards,

      Juan

        CommentAdd your comment...
      1.  
        1
        0
        -1

        Thanks Juan! I will try it!

          CommentAdd your comment...