I tried to put opencsv-3.5.jar on JIRA_HOME/lib (of course I stopped and started Jira) but in behaviour script I still have :
import au.com.bytecode.opencsv.CSVReader : unable to resolve
Is it supposed to be on JDK?
regards,
Franck
Hi Frack
As Jamie suggested in a previous post https://answers.atlassian.com/questions/31674855 you can use the JIRA native com.mindprod.csv.CSVReader and then get your file
CSVReader reader = new CSVReader(new FileReader("yourfile.csv"));
You can find the documentation for it here : http://mindprod.com/application/csv.manual.html
Hello,
I try to reproduce : http://www.kellyrob99.com/blog/2010/07/01/groovy-and-csv-how-to-get-your-data-out/
in fact
import
au.com.bytecode.opencsv.CSVReader
CSVReader
import
au.com.bytecode.opencsv
List<String[]> rows =
new
CSVReader(
new
InputStreamReader(getClass().classLoader.getResourceAsStream(TEST_FILE_NAME)))
.readAll()
CSVReader
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
<jira-install>/atlassian-jira/WEB-INF/lib
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.