Note

We've packed up and moved from Confluence to Discourse to bring you a better, more interactive space. Out of courtesy we didn't migrate your user account so - you will have to signup again

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


Exalate can be used to synchronize the user mentions in Comments between Jira and Azure DevOps.

...

Code Block
languagegroovy
titleIncoming Sync Jira Cloud
linenumberstrue
collapsetrue

issue.description  = nodeHelper.toMarkDownFromHtml(replica.description)
for(comment in replica.addedComments){
    def newCommentBody=comment.body
    def matcher  = comment.body =~ /\[~accountid:([a-zA-Z0-9+._-]+@[a-zA-Z0-9._-]+\.[a-zA-Z0-9_-]+)\]/
 matcher.each {
 x->
    def target = nodeHelper.getUserByEmail(x[1])?.key ?:x[1]
    newCommentBody = newCommentBody.replace(x[1],target)
}
 comment.body=  newCommentBody
}
issue.comments     = nodeHelper.toMarkDownComments(commentHelper.mergeComments(issue, replica))

...

Widget Connector
urlhttp://youtube.com/watch?v=31kO_ARJgSs

Questions

Questions List
filterrecent
asktrue
include-topicsany
spaceexacom

...