I want to import issues from a CSV file using the command line interface.
This command line creates the issue and adds the version if necessary.
jira --action createIssue --autoVersion --project "IMP" --type "task" --summary "Test" --fixVersions "3.999"
But if I want to run it from a csv, I cannot get the right syntax. This is what I tried:
action, project, issue, Type, issue Type, summary, Date, assignee, description, fixVersions, autoVersion
CreateIssue, IMP, ,task, bug, "Test Summary",31.10.2011, Brenk, "Test Description", 3.2,
This gives the error "Version '3.2' is not valid for project with key: IMP"
So how should I specify this parameter --autoVersion in a csv file?
The answer was given by Bob Swift on the Jira CLI project page.
https://studio.plugins.atlassian.com/wiki/display/JCLI/JIRA+Command+Line+Interface
Use --common "--autoVersion" on the runFromCsv command for now. This will apply to all rows. Row specific switch settings are missing - JCLI-169.
I tried it and it does what I need.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.