Sync Assignee of jira server core to jira cloud

Originally asked by Andrey Miranda on 13 December 2019 (original question)


I have two instance of Jira a Jira server core and another Jira cloud and i need to pass the assignee from Jira server core to Jira cloud.

I was try with some scripts but i don’t have result success

For example

server core in the Outgoing Sync i sue:

replica.assignee =issue.assignee

Jira cloud :

def defaultUser = nodeHelper.getUserByEmail(“Proxi-user@jira.com”)
issue.assignee = nodeHelper.getUserByEmail(replica.assignee?.email) ?: defaultUser

but not show the assigne from Jira server.

Someone know how to resolve this ?

Thanks


Comments:

Francis Martens (Exalate) commented on 13 December 2019

Hi Andrey Miranda,

Couple of questions

  • Is ‘Proxi-user@jira.com’ a valid email address?
  • Is the replica.assignee?.email a valid email address?
Andrey Miranda commented on 13 December 2019

yes is a valid email address.

but I dont have the same users in both intances

Answer by Andrey Miranda on 27 January 2020

Thank for your support at the moment my boss thinks that is not necessary


Answer by Andrey Miranda on 16 December 2019

No, because Jira outlook is not a user for Jira cloud or server.

I don’t know what is happening with the script

Thanks


Answer by Andrey Miranda on 13 December 2019

in Jira cloud now in the field assignee I can watch Jira outlook is the assignee


Comments:

Francis Martens (Exalate) commented on 13 December 2019

Is it working?

Andrey Miranda commented on 13 December 2019

I not sure, I think the script apply some change but not function correctly or i need to apply more configuration in exalate because it change the field the assignee of unassigne to Jira outlook .

Do you know how to fix I need some recommendations

Francis Martens (Exalate) commented on 13 December 2019

What is the email address of ‘Jira Outlook’

You will have to trace back to understand why the issue changed as these changed

Andrey Miranda commented on 13 December 2019

In the Script, I use the email of the Proxi user for default account and Jira outlook not is an account in the Jira server or Jira cloud .

Francis Martens (Exalate) commented on 14 December 2019

Hello Andrey - you lost me.

Are you saying that the assignee is set to the wrong assignee?

Andrey Miranda commented on 21 December 2019

I not sure. I think the scrip does not pass any user assignee

Francis Martens (Exalate) commented on 22 December 2019

Please raise an issue on our support channel and include an Exalate Support zip so we can have a look at what’s going on.

https://docs.idalko.com/exalate/display/ED/How+to+generate+support.zip+file