How to sync custom fields from Azure DevOps to Jira

Originally asked by James Lindsay on 18 January 2021 (original question)


Hi, I am trying to sync a custom field from Azure DevOps to Jira, I have tried multiple ways but with no luck,

Currently using this Rule

Dev Ops Outgoing Sync. replica.customFields.“repro steps” = workItem.customFields.“Repro Steps”

Jira Incoming Sync. issue.customFields.“steps to reproduce” = replica.customFields.“repro steps”

Both Dev Ops and Jira have custom fields, Dev Ops is Repro Steps and Jira’s is Steps to reproduce

If you could help with this it would be much appreciated.

Thanks


Answer by Tomás Martynowicz on 15 February 2021

Hi James,

To sync custom fields in Azure Devops you must use customKeys instead. Just like:

//Azure Outgoing script
replica.customFields."repro steps" = workItem.customKeys."Repro Steps"

Check here for more information on how to sync custom fields.