Could not sync user picker custom field

Originally asked by Jinjun Zhang on 10 October 2019 (original question)


Hi, I have some issue sync a custom field type user picker.

On my outgoing sync (Jira A instance), as any other custom field. I put something like

replica.customFields."Implementer" = issue.customFields."Implementer"

However when looking at the sync queue for a specific issue, information about “Implementer” does not show up at the list of information being send.

Another thing I tried is to to set the value of “Implementer” in my incoming sync (Jira A instance).

Which cause error regarding null value.

So it seems like as if this custom field does not exist at all.

What could be the cause of this problem?

Thanks,


Comments:

Francis Martens (Exalate) commented on 10 October 2019

Hi Jinjun Zhang

How do you conclude

However when looking at the sync queue for a specific issue, information about “Implementer” does not show up at the list of information being send.

Jinjun Zhang commented on 10 October 2019

So my Implementer field has user already set for this specific issue.

When looking at the sync queue, I could select detail of this issue, it has section “local issue payload” that shows information being send out. I don’t see “Implementer” on it but I do see my other custom fields.

user-3fd1a

Answer by Francis Martens (Exalate) on 11 October 2019

What is the exact type of the Implementer field.

Can you also try to assign it to a customKey like

replica.customKeys."Implementer" = issue.customFields."Implementer".value