2
1
0

Hello,


we have Jira Service Management on Cloud and Jira Software on Server. To connect between instances we're trying to use your plugin.  
Our question is: is it possible to adjust 'Excalate' user name on Cloud if we don't have user with email on it?
For users with email on both instances we used:


replica.addedComments.each { it.executor = nodeHelper.getUserByEmail(it.author?.email) }
replica.changedComments.each { it.executor = nodeHelper.getUserByEmail(it.updateAuthor?.email) }
issue.comments = commentHelper.mergeComments(issue, replica, { it })


as its described on https://docs.idalko.com/exalate/display/ED/How+to+impersonate+a+comment+in+Jira+on-premise
and its working like a charm.

But what about if we would like to have different name for non existing user.. Can new user be created like in Server and how? 


Thank you for answers.


    CommentAdd your comment...

    1 answer

    1.  
      2
      1
      0

      No - that is not possible.
      The user is a system entry created by Atlassian.

      The only way to impersonate another user is by using the approach you mention, but then with your own created user ...


      1. Marko Jesenek

        Thank you Francis, for your answer. 

        But just to bi sure (because its very important for us - to plan future usage)..
        The thing is we have Jira Service Managment product on Cloud and Jira Software product on server. If I get it correctly, there is no way for users in Jira Software that do not exists in JSM, to comment in their environment and not be seen as 'Excalate' user in JSM? Or we can change user 'Excalate' with our other existing user in JSM in some way? To assign this other user as a comment executor? 


         

      2. Francis Martens (Exalate)

        Yes - the latter.


        • On JSM (Cloud) - create a user 'John Doe'

        • Whenever the dev user is non existent on JSM, fallback to John Doe using the executor approach
      CommentAdd your comment...