The Exalate team will be on holiday for the coming days - returning Jan 4
Enjoy & stay safe

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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
titleIncoming Sync JSM
linenumberstrue
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
filterrecent
asktrue
include-topicsany
spaceexacom

...