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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Fadoua M. Boualem
Published Monday in Trello

Using Trello to manage events

As a Jira power user, I was at first doubtful that Trello could benefit my workflow. Jira already uses boards (ones you can customize!), so why would I even need to use Trello?! In this post you will...

466 views 7 8
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