1
0
-1

Hello,


I'd like to make a assignee of an issue in JSM instance to be assigned as a watcher in Jira instance.


I've found the implementation of Watcher to Watcher in documentation but changes that I've set to the script didn't really help.


I guess it's possible, but couldn't find anything. Please help (smile)

    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      To do this please send the assignee from the Source side like this

      replica.assignee       = issue.assignee


      Then you need to add the assignee as a watcher on the target like 

      issue.watchers += nodeHelper.getUserByEmail(replica.assignee.email)


      Thanks!

        CommentAdd your comment...