Sync reporter from Jira Server to Jira cloud(Diffrent Instance)

Originally asked by srinivasarao.akiri on 24 April 2020 (original question)


When I am raising the request from the Jira service desk(Server) then in Jira Cloud the ticket is created but with the reporter(Exalate).I want the same reporter in the Cloud also.So i modified the code in the cloud in the. Connections-->Incoming sync issue.reporter= replica.reporter(To become same reporter) But if so, that sync is not happening.

Source: Jira Server/Datacenter


Answer by Juan Grases on 24 April 2020

Hi!

You will need to use the nodeHelper to get the local user by some parameter (email usually):

issue.reporter = nodeHelper.getUserByEmail(replica.reporter?.email)

You can find more details here: https://docs.idalko.com/exalate/display/ED/Sync+Jira+issue+user+fields


Answer by srinivasarao.akiri on 28 April 2020

Hi Juan,

I have integrated the Both isntances.My client new requirement is once the ticket has been created in the servicedesk project in the Jira Server Instance then once if it moves to the some status(approval) then only ticket has be to created in the Software project in the Jira Cloud instance.Based on the status ticket has to be created .Can you please suggest me


Comments:

Juan Grases commented on 28 April 2020

Hi!

This can be done through the Exalate trigger, define a JQL there that includes

project = 'The Project' AND status = 'Approval'

Answer by srinivasarao.akiri on 27 April 2020

Hi Juan GrasesHow to map the issuetypes in the mode


Comments:

Juan Grases commented on 27 April 2020

Hi! Could you open a separate question for this one? Also, what do you mean exactly with “in the mode” ? In any case, you might find useful details here: https://docs.idalko.com/exalate/display/ED/How+to+synchronize+issue+type

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.