I've set up a connection between 2 sandboxes. PL box and JIRA box there is a master detail relationship between product launch and JIRA (product launch is the master and JIRA is the detail) Now product launches can only be created in the PL box and JIRA in the JIRA box. the connection is set up such that product launches created in the PL box are published to the JIRA box. And JIRAs are created in the JIRA Box and are automatically published to Product launch Box and are automatically assigned the right record(Product Launch) Now any updates to the JIRA record(like Name,Status) in the JIRA Box are automatically synced to the production box. However when i change the Product launch(master record the JIRA is pointing to) in the JIRA box, the changes aren't reflected in the product launch box. It is still under the same product launch, other custom fields will still change
Here's the code in trigger we use to programmatically send JIRAs
List<PartnerNetworkRecordConnection> connectionRecords = new List<PartnerNetworkRecordConnection>();
PartnerNetworkConnection connection = [select Id, ConnectionStatus, ConnectionName from PartnerNetworkConnection where ConnectionStatus = 'Accepted' and ConnectionName = 'Our company'];
for(JIRA__c jira : trigger.new) {
PartnerNetworkRecordConnection newrecord = new PartnerNetworkRecordConnection();
newrecord.ConnectionId = connection.Id;
newrecord.LocalRecordId = jira.Id;
newrecord.ParentRecordId = jira.Product_Launch__c;
newrecord.SendEmails = false;
connectionRecords.add(newrecord);
}
We have checked the connection log in both the boxes and there are no errors at all. Is there a possible workaround or solution for this? Thanks in advance