- Ziad Qadora
- Jun 19, 2020
- connector-onpremise-jira
- Comment
2 answers
- 10-1
Hi Francis,
I did the follow the instructions in the epic sync
//Outgoing
//Epic Link
Epic.sendEpicFirst()
// Issue link sync
IssueLinks.send()
//Task Sync
SubTask.send()//Incoming
// Move this to the end of the incoming sync script
SubTask.receive()
Epic.receive()I do understand that we must sync the Epic first then the Story, but I want to print more meaningful message like the one for the sub-task
here is what I just added, but still do not see the error message
if (replica.epicId) {
def localEpic = nodeHelper.getLocalIssueFromRemoteId(replica.epicId.toLong())
if(localParent){
issue.epicId = localEpic.id
} else {
throw new com.exalate.api.exception.IssueTrackerException(issueType + " cannot be created: Epic issue with remote id " + replica.epicId + " was not found. Please make sure the epic issue is synchronized before resolving this error" )
}
}- Francis Martens (Exalate)
Ha - I didn't review if epicid is available. Need to find time to review
CommentAdd your comment... - 10-1
Hi Ziad Qadora
It is identical, but then you need to test with the epic id
Did you try the epic sync external script
It should also cover this case.
CommentAdd your comment...