Page History
Introduction
Hello all,
Picture this: You've successfully synced Azure DevOps and Jira Cloud, with a fully operational JSM project up and running.
...
Code Block | ||||
---|---|---|---|---|
| ||||
if(firstSync){ issue.projectKey = "JSM" issue.typeName = nodeHelper.getIssueType(replica.type?.name, issue.projectKey)?.name ?: "[System] Service request" } issue.summary = replica.summary issue.description = replica.description issue.labels = replica.labels replica.addedAttachments.each { a -> def comment = commentHelper.addComment("!${a.filename}!", [])[0] comment.internal = true comment.restrictSync = true issue.comments += comment } issue.attachments = attachmentHelper.mergeAttachments(issue, replica) replica.addedComments.each { it.executor = nodeHelper.getUserByEmail(it.author?.email) } replica.changedComments.each { it.executor = nodeHelper.getUserByEmail(it.updateAuthor?.email) } issue.comments = commentHelper.mergeComments(issue, replica, {it.internal = true; it}) |
Thank you.
Kind regards
Questions
Questions List | ||||||||
---|---|---|---|---|---|---|---|---|
|
...