1
0
-1

It seems strange that this is documented for worklogs, but not for comments. Is it not possible to specify a default account for comment attribution? Either it has to be attributed to the original commenter, or the Exalate proxy account? There's no ability to use a different account for it?

    CommentAdd your comment...

    1 answer

    1.  
      2
      1
      0

      Hi Peter


      It is possible to put a default proxy user that will be used for comments.

      Please implement this;


      replica.addedComments.each { it.executor = nodeHelper.getUserByEmail("putadefaulthere@email.com") }
      replica.changedComments.each { it.executor = nodeHelper.getUserByEmail("putadefaulthere@email.com") }
      issue.comments = commentHelper.mergeComments(issue, replica, { it })

      Please change the hardcoded default email "putadefaulthere@email.com"


      Thank you.

      Kind regards,
      Mathieu Lepoutre

        CommentAdd your comment...