Originally asked by Destri Weir on 15 February 2022 (original question)
Comments:
Destri Weir commented on 15 February 2022
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
}
)