Config error while mapping CFs in Jira

Originally asked by Asheesh Zar on 06 January 2023 (original question)


Hello,

While setting up unidirectional connection from Jira Source Instance to Jira Target Instance on data center. I am getting errors when trying to setup below. Any help on this is much appreciated.

Incoming script error
Cannot set property ‘value’ on null object

Error line: 19

My requirement is to map “Story Points” field from Source to a Text field in Target. Also, I want to map custom field (name: ABC) to custom field (name: XYZ) on target.

Thanks

Asheesh


Answer by Dhiren Notani on 06 January 2023

Hi Asheesh Zar ,

Please find the solution to your question below.

For mapping story points to custom fields.

Jira Source Outgoing

replica.customFields.“Story Points” = issue.customFields.“Story Points”

Jira Target Incoming

issue.customFields.“Text field name in Target”.value = replica.customFields.“Story Points”.value

For mapping simple text custom fields with custom fields the syntax still remains the same.

Thanks,

Dhiren


This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.