# How to sync linked records

**URL:** <https://community.exalate.com/t/how-to-sync-linked-records/4321>\
**Category:** General Questions\
**Tags:** exalate, jira, migrated\_question\
**Created:** [November 4, 2024, 6:47am UTC](https://community.exalate.com/t/how-to-sync-linked-records/4321 "2024-11-04T06:47:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![xl8bot](https://dub1.discourse-cdn.com/flex018/user_avatar/community.exalate.com/xl8bot/32/324_2.png) [@xl8bot](https://community.exalate.com/u/xl8bot)\
**Post date:** [November 4, 2024, 6:47am UTC](https://community.exalate.com/t/how-to-sync-linked-records/4321/1 "2024-11-04T06:47:58Z")

</div>

_Originally asked by Vimalraj Rangasamy on 26 August 2020 [(original question)](https://oldcommunity.exalate.com/questions/11341760)_

* * *

Hi,

I have following requirement.

1. Need to sync linked records to a Defect.  
2. How to manage if the linked record is un-linked and re-linked to another Defect

Thanks

* * *

---

<div class="post-metadata">

**Author:** ![xl8bot](https://dub1.discourse-cdn.com/flex018/user_avatar/community.exalate.com/xl8bot/32/324_2.png) [@xl8bot](https://community.exalate.com/u/xl8bot)\
**Post date:** [November 4, 2024, 6:47am UTC](https://community.exalate.com/t/how-to-sync-linked-records/4321/2 "2024-11-04T06:47:59Z")

</div>

_Answer by Francis Martens (Exalate) on 26 August 2020_

The first thing you need to achieve is to detect that a link has been created/removed, and this depends on the instance

Can you detail out the details of your Jira (cloud, server - version) …

* * *

#### Comments:

> **Vimalraj Rangasamy commented on 26 August 2020**
>
> > Hi Francis,
> 
> I have a local server instance (server1) from which I will sync to cloud instance (cloud1). I believe I can sync a linked record by manually syncing both Defect and linked Event and replica.issueLinks = issue.issueLinks will take care of retaining the link.
> 
> For the second question, if the link between Defect and Event is removed in server instance (Jira1), will the cloud1 retain the link or Event will be unlinked in cloud?
> 
> If the Event-1 is unlinked from Defect-1 and linked to Defect-2, can this be synced to cloud1 considering Defect-2 is already synced to cloud1. i.e., Event-1 will be unlinked in Defect-1 and linked to Defect-2 in cloud
> 
> Please assist

> **Francis Martens (Exalate) commented on 28 August 2020**
>
> > > For the second question, if the link between Defect and Event is removed in server instance (Jira1), will the cloud1 retain the link or Event will be unlinked in cloud?
> 
> As told, you need to detect that that link has been removed. This is possible depending on the version of Jira Server. What is the version of Jira Server …

> **Vimalraj Rangasamy commented on 31 August 2020**
>
> > Jira server version: 8.1
