Sync Assignee from Azure to JIRA custom field

Originally asked by Ariel Aguilar on 05 January 2022 (original question)


Question raised:

I am trying to link the Assignee field in ADO to a custom field in JIRA. The field in JIRA was a text field. When trying to sync, this did not work and broke the integration. How would I go about doing this? I also want to do this from ADO to JIRA so if you could provide those details as well, it would be greatly appreciated.


Answer by Ariel Aguilar on 06 January 2022

To answer this question, we will need to know what configuration is in place. However, you should be doing:

Azure Devops Outgoing Sync:

replica.assignee = workItem.assignee 

Jira Cloud Incoming Sync

issue.customFields."Your custom field name".value = replica.assignee?.displayName

Or either:

issue.customFields."Your custom field name".value = replica.assignee?.email

Let me know if that helps.

Kind regards,

Ariel