# Error when syncing an epic issue from next-gen project to classic project

**URL:** <https://community.exalate.com/t/error-when-syncing-an-epic-issue-from-next-gen-project-to-classic-project/4261>\
**Category:** General Questions\
**Tags:** cloud-jira, migrated\_question\
**Created:** [November 4, 2024, 6:42am UTC](https://community.exalate.com/t/error-when-syncing-an-epic-issue-from-next-gen-project-to-classic-project/4261 "2024-11-04T06:42:48Z")\
**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:42am UTC](https://community.exalate.com/t/error-when-syncing-an-epic-issue-from-next-gen-project-to-classic-project/4261/1 "2024-11-04T06:42:48Z")

</div>

_Originally asked by Cloud Chiu on 23 June 2020 [(original question)](https://oldcommunity.exalate.com/questions/11340291)_

* * *

When syncing an epic issue from next-gen project to classic project, an error triggered.

```auto
ErrorCollectionValue(List(),List(FieldErrorValue(customfield_10005,Epic Name is required.)))

```

What I did to tackle it is adding the following code in the incoming sync rue of destination side.

```auto
if(issue.typeName == "Epic"){
   issue.customFields."Epic Name"?.value = replica.summary
}

```

May you advise my solution and I would like to look for a better one if available.

* * *

---

<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:42am UTC](https://community.exalate.com/t/error-when-syncing-an-epic-issue-from-next-gen-project-to-classic-project/4261/2 "2024-11-04T06:42:49Z")

</div>

_Answer by Francis Martens (Exalate) on 23 June 2020_

Hi Cloud Chiu

This is also how we would do it.  
The error indicates that the epic name is not set, and by adding the snippet, it is.

* * *
