1
0
-1

Hi,

I'm trying to implement the following case:

when a user is assigned to a ticket on Jira server instance, it's counterpart on Jira cloud is assigned to a default user (i.e.: support@....)

in case the ticket on Jira server is set to unassigned, its counterpart on Jira cloud is set to unassigned to.


So, on the Jira cloud incoming script I wrote the lines:


def defaultUser = nodeHelper.getUserByEmail("support@xxxxxx")

issue.assignee = nodeHelper.getUserByEmail(replica.assignee?.email) ?: defaultUser


Now, when I assign the ticket to a user on Jira server, I got the following error on Jira could:


"Could not update issue `XXXX-402` with id `79615`: Field assignee: Utente 'qm:e2e7309a-dd78-4901-96d7-80eaadda1a01:0528da11-e65c-4df7-a63d-27eec3e2c13b' can't be assigned to tickets


Then I added the default user to the service desk agent role but the error remains.

Could you help me, please?

Thank you in advance, Pas



  1. Javier Pozuelo

    Have you checked if the user has the correct permissions? After manually changing the user, and ignoring the error to the related sync, the error still shows? 

CommentAdd your comment...