You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Join now to unlock these features and more
We would like to use CLI (which I believe will work from what I read), to automatically update issues and add new ones from a csv file. We have a csv file that gets dropped to our shared drive, and we want to be able to import that data to 1) update issues and 2) add new issues.
Can someone point me in the direction and/or confirm CLI would work for this?
Hi @Ross Dammann,
We are from BobSwift support team.
Could you please provide us the below details to investigate the issue further:
Yes, using our Jira Command Line Interface (CLI) app, you can create/update issues with CLI action commands.
To discuss further on this ticket, we have created a bug request on behalf of you in our portal.
Could you please try to access the ticket https://bobswift.atlassian.net/servicedesk/customer/portal/1/SUPPORT-3503 and signup to our portal here.
Please share the requested details with us in the SUPPORT-3503.
Thanks Raja for the quick response. I wanted to learn more about using CLI. We currently get a dropped csv file 3 times a day to our shared drive. We have to use the external system function each time to update and/or create new issues inbjira software cloud. The csv data is data from another system. So over 5k records are being updated and, about 100 created every day. How would CLI work for our use case?
Hi @Ross Dammann ,
Can you please sign up for our portal here: https://bobswift.atlassian.net/servicedesk/customer/portal/1 and provide more information on Support-3503 in order to proceed further on this issue.
Hi @Ross Dammann ,
Can you please check now, whether you are able to access the support ticket: https://bobswift.atlassian.net/servicedesk/customer/portal/1/SUPPORT-3503
Once, you are able to access the link, please share the requested information with us.
Summarizing the solution shared in the support request here:
You can use the Jira CLI app to create new issues and update the issue from a csv file. Along wtih the action, you need to use the file parameter. The CSV file should be accessible to the CLI client and should preferably be in the CLI client's local file system.
To create issues, use the required parameters like, (issueType or type), (project or parent).
For example, you can use "createIssue" action to create issues from a csv file.
--action runFromCsv --file "3503-create.csv"
Also, you can use "updateIssue" action to update issues from a csv file. The parameter issue is mandatory for this action.
--action runFromCsv --file "3503-update.csv"
Alternatively, you can run something like the following so that this action will run by picking the issue details from the csv file.
--action runFromCsv --file test.csv --common "--action createIssue" --continue