How can i sync Story Points if the local Jira have an another Language in the fields as the Server Side

Originally asked by Thomas Weichel on 19 May 2022 (original question)


Hello,

i want sync Story points from an local Jira on-premise to the Jira cloud.

I have seen there exists allready the command

outgoing

replica.customFields.``"Story Points" = issue.customFields.``"Story Points"

Incomming

issue.customFields.``"Story Points"``.value = replica.customFields.``"Story Points"``.value

At the Server Side (On-Premise) the name from the field is Story-Punkte and at the Server Side Story Points. How must the commands changed that i can synchroised this points?

Thanks in Advance and BR

Thomas


Answer by Thomas Weichel on 20 May 2022

Hello,

thanks for the Feedback. If i try this i get on Jira Cloud an error

And this line is the the line where i have put in the comand like described by Incoming Sync


Answer by Jose Pablo Alpizar Hidalgo on 19 May 2022

Hello,

Please try the following from the Jira server as local instance:

outgoing sync:

replica.customFields."Story-Punkte" = issue.customFields."Story-Punkte"

incoming sync:

issue.customFields."Story Points".value = replica.customFields."Story-Punkte".value

, and let us know the to come.

Best Regards,
Jose Pablo


Comments:

Thomas Weichel commented on 24 May 2022

Hello Jose Pablo Alpizar Hidalgo,

have you seen my answer, have you perhaps a tip why the script send an error?