1
0
-1

Hello,


our sync is working with status mapping via status name. But often there are errors, because the other side is changing a status name. It is possible to change the mapping to status id's? 

Who can we do this?

Thanks,

Katja

    CommentAdd your comment...

    2 answers

    1.  
      1
      0
      -1

      Hi Jose,


      thanks - I have check the example you mention and that is what we have yet.

      I would like to have something like that:

      def statusMapping = [id_10345:id_12678, id_10100:id_5]
      def remoteStatusId = replica.Status.value
      issue.setStatus(statusMapping[remoteStatusId] ?: remoteStatusId)

      But I am not sure about the syntax - could you help?


      I will check the environment and give you feedback later on.

      Best Katja









      1. Mathieu Lepoutre

        Hi Katja


        The syntax provided is not recommended since the 'id_10345', 'id_12678', 'id_10100', and 'id_5' are considered as strings, not as status IDs.


        For more details, please refer to the Exalate documentation on how to sync statuses:
        JC: https://docs.exalate.com/docs/how-to-sync-status-on-jira-cloud
        JOP: https://docs.exalate.com/docs/how-to-sync-statuses-in-jira-on-premise

        Thank you.

        Kind regards,
        Mathieu Lepoutre

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

      Please check the example in the following documentation page:
      https://docs.idalko.com/exalate/x/ZA3HAw
      Can please provide more details about the instances you are using and what the error message displayed?


        CommentAdd your comment...