Notice: Trying to access array offset on value of type int in /var/www/html/wp-includes/formatting.php on line 889 Warning: fopen(/var/www/html/wp-content/themes/phlox-pro-child/temp/pdf/cache/gilroy_bold_3af507257cc34acc8a5b483f81bf64e3.ufm): failed to open stream: No such file or directory in /var/www/html/wp-content/themes/phlox-pro-child/libraries/dompdf/vendor/phenx/php-font-lib/src/FontLib/AdobeFontMetrics.php on line 45 Warning: fwrite() expects parameter 1 to be resource, bool given in /var/www/html/wp-content/themes/phlox-pro-child/libraries/dompdf/vendor/phenx/php-font-lib/src/FontLib/AdobeFontMetrics.php on line 191 Warning: fopen(/var/www/html/wp-content/themes/phlox-pro-child/temp/pdf/cache/font_awesome_5_brands_normal_6c7b9742dc5ae85c1a4a9ff1945464dc.ufm): failed to open stream: No such file or directory in /var/www/html/wp-content/themes/phlox-pro-child/libraries/dompdf/vendor/phenx/php-font-lib/src/FontLib/AdobeFontMetrics.php on line 45 Warning: fwrite() expects parameter 1 to be resource, bool given in /var/www/html/wp-content/themes/phlox-pro-child/libraries/dompdf/vendor/phenx/php-font-lib/src/FontLib/AdobeFontMetrics.php on line 191 Warning: fopen(/var/www/html/wp-content/themes/phlox-pro-child/temp/pdf/cache/font_awesome_5_free_normal_53a461860a760912241c035ad97e42ed.ufm): failed to open stream: No such file or directory in /var/www/html/wp-content/themes/phlox-pro-child/libraries/dompdf/vendor/phenx/php-font-lib/src/FontLib/AdobeFontMetrics.php on line 45 Warning: fwrite() expects parameter 1 to be resource, bool given in /var/www/html/wp-content/themes/phlox-pro-child/libraries/dompdf/vendor/phenx/php-font-lib/src/FontLib/AdobeFontMetrics.php on line 191 Warning: fopen(/var/www/html/wp-content/themes/phlox-pro-child/temp/pdf/cache/font_awesome_5_free_900_a496f8644d2cd386b5617d8f041a0ea0.ufm): failed to open stream: No such file or directory in /var/www/html/wp-content/themes/phlox-pro-child/libraries/dompdf/vendor/phenx/php-font-lib/src/FontLib/AdobeFontMetrics.php on line 45 Warning: fwrite() expects parameter 1 to be resource, bool given in /var/www/html/wp-content/themes/phlox-pro-child/libraries/dompdf/vendor/phenx/php-font-lib/src/FontLib/AdobeFontMetrics.php on line 191 /var/www/html/wp-content/themes/phlox-pro-child/temp/pdf/32668.pdf

Demo Blog

It’s common knowledge that team members often tag (or mention) each other in comments for various reasons. 

You can use Exalate scripts to sync user mentions in comments between systems like Jira, Azure DevOps, Salesforce, etc. 

The following scripts would do the magic.

Jira Incoming sync

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 } def addedComments = commentHelper.mergeComments(issue, replica)

Jira Incoming Sync
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
}

def addedComments = commentHelper.mergeComments(issue, replica)
Accordion #2
I am item content. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.
Accordion #3
I am item content. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.

Comments are closed.