The Exalate team will be on holiday for the coming days - returning Jan 4 Enjoy & stay safe
I am using a visual connection with scripting, and I can't get this script to work:
issue.comments = commentHelper.mergeComments( issue, replica,{ comment -> comment.body = "[" + replica.key + "|https://wenergysoftware.atlassian.net/browse/"+replica.key+"]" + ", "+comment.body })
However, I can get the following script to work (I'd just prefer to have the link):
issue.comments = commentHelper.mergeComments( issue, replica, { comment -> comment.body = replica.key+", "+comment.body })
issue.comments = commentHelper.mergeComments(
issue, replica, {
comment ->
comment.body = replica.key+
", "
+comment.body
}
)
I answered this myself using the https://groovyconsole.appspot.com. It was a syntax error.
I am using a visual connection with scripting, and I can't get this script to work:
issue.comments = commentHelper.mergeComments(
issue, replica,{
comment ->
comment.body = "[" + replica.key
+ "|https://wenergysoftware.atlassian.net/browse/"+replica.key+"]"
+ ", "+comment.body
}
)
However, I can get the following script to work (I'd just prefer to have the link):
issue.comments = commentHelper.mergeComments(
issue, replica, {
comment ->
comment.body = replica.key+
", "
+comment.body
}
)