You could use server's attributes to create your datasource. Lets assume you create on your production and development server a datasource named defaultDatasource. You will need to create also those server attributes : connectionUserconnectionPasswordhostportservicewith those attributes, you will be able to create your datasource. For example, for the host attribute, you will enter {attribute('host','Server')}. With this configuration, when exporting you report from production server to development server, the datasource will use the attributes you defined on your server.