Originally asked by Cloud Chiu on 28 May 2020 (original question)
Hi,
I would like to know if it is possible to sync with different Jira issue type. Let’s say when site A create an epic issue, then sync and create a story issue to site B.Source: Jira Cloud (old community)
Comments:
Roman commented on 28 May 2020
Hi Cloud Chiu
Yes, you can use the script from this article: https://docs.idalko.com/exalate/display/ED/How+to+synchronize+issue+type
//map issue types between source and destination instances.
def issueTypeMapping = [
// "remote issue type" : "loal issue type"
"Bug" : "Problem",
"Task" : "Assignment",
"Epic" : "Story"
]
issue.typeName = issueTypeMapping[replica.type?.name] ?: "Assignment"
Let me know if this helps