How to run Import/Export Utility using Command Line argument?

To run the Import/Export Utility using the Command line argument, kindly follow the steps mentioned below:

  • Download this file.

  • Un-zip the file to a local folder.

  • Open your terminal or Command Prompt.

  • Navigate to the folder containing the Export file through the command :    cd <path to directory> 

  • Execute the following command on the terminal with the respective values:

java -cp export.jar com.infostretch.importExportUtility.cliController.Main <username> <apitoken> <apiKey> <jira url> <destination file> <projectKey>

Note: The order of the input parameter has to be maintained.