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

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 

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 was asked and answer here: JCLI-968.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

845 views 3 12
Read article

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