Questions for Confluence license has expired.

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

How can I ignore certain statuses from the remote side?

 
2
1
0

I want statuses that are available on the local side but that don't exist on the destination instance to be ignored in the destination instance. How can I do this?


Thanks,


    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      You can try something like this on your incoming sync:

      def statusMap = ["Done": "Resolved", "In Progress": "In Action"] 
      def localStatus = statusMap[replica.status.name]
      if(localStatus){
       issue.setStatus(localStatus) 
      }
      
      

      Only statuses find on the map will be applied

        CommentAdd your comment...