issue regarding import through CLI plugin

Hi,

I am trying to import issue through CSV import using CLI plugin. I used the command:

atlassian jira --action runFromCsv --file importLink.csv --propertyFile import.properties --common "--project SWDEV" --continue

But it is not working. Can anyone please suggest how I can make it working.

 

Regards,

Barnali

3 answers

This widget could not be displayed.

Just from the top of my head, try this. Note: I've not tested, but let me know if it works for you. Please run it in a test environment first. All the best. 

-a runFromCSV --file "yourissuelistfile.csv" --common "-a runFromList" --server "yourjiraurl" --user "youradminusername" --password "youradminpassword"

 

Note: you should probably add the project too like --project "YOURPROJECT" as well, sorry missed this part

Hi,

 

Thanks for the suggestions. I tried it & got the below error:

Client error: File not found: D:\Atlassian\JIRA\cli-ui\importLink.csv

 

Do I need to keep the file in the mentioned location in server or putting the file in my local system would be enough.

I kept in my local & it did not work.

 

Another question I have, will this feature work only for users who have Admin access.

 

Regards,

Barnali

That file needs to be in that directory of your JIRA server. As for admin access, I prefer to use the admin account so I won't miss out on any issues with permission restrictions that normal user accounts will usually have, so it depends on what you want and your JIRA instance project setup 

This widget could not be displayed.

Hi ,  were you able to resolve the issue ? 

Also can you please share the sample code for running the above commands. 

Do we need to have JIRA SDK in the JIRA host server to run the above commands or JDK is enough.

Thanks ,

 

This widget could not be displayed.

This was asked and answer here: JCLI-968.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

222 views 1 3
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you