This guide will walk you through the steps necessary to export a .CSV report of your projects issues.
Requirements:
- A Bash terminal (such as Git Bash)
- The codescan-export tool (This can be acquired through Node.JS or git)
- Your Codescan credentials:
- Organization Key (Where can I find my Organization Key?)
- Project Key (Where can I find my Project Key?)
- Security Token (How do I generate a Security Token?)
The plugin can then be used by simply calling it from the CLI and feeding it the required parameters.
Enter the following command to see a list of options.
codescan-export -h
Example usage of the plugin to pull all issues:
(Note: The API is limited to returning 10,000 results at once; due to this you may need to segment your issues into multiple reports)
codescan-export MyOrganizationKey MyProjectKey --token=MyToken
-f C:/MyDirectory/MyFileName.csv
Example usage of the plugin to pull all issues with the severity of blocker or critical:
codescan-export MyOrganizationKey MyProjectKey --token=MyToken --types=BUG
--severities=BLOCKER,CRITICAL -f C:/MyDirectory/MyFileName.csv