Questions for Confluence license has expired.

Please purchase a new license to continue using Questions for Confluence.

Sync Assignee of jira server core to jira cloud

 
2
1
0

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

  1. Francis Martens (Exalate)

    Hi Andrey Miranda,


    Couple of questions


    • Is 'Proxi-user@jira.com' a valid email address?
    • Is  the replica.assignee?.email a valid email address?



  2. Andrey Miranda

    yes is a valid email address.

    but I dont have the same users in both intances

CommentAdd your comment...

3 answers

  1.  
    1
    0
    -1

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



      CommentAdd your comment...
    1.  
      1
      0
      -1

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


      I don't know what is happening with the script


      Thanks

        CommentAdd your comment...
      1.  
        1
        0
        -1

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

        1. Andrey Miranda

          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

        2. Francis Martens (Exalate)

          What is the email address of 'Jira Outlook'

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

        3. Andrey Miranda

          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 .


        4. Francis Martens (Exalate)

          Hello Andrey - you lost me.

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

        5. Andrey Miranda

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

        6. Francis Martens (Exalate)

          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

        CommentAdd your comment...