It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Automated process for File uploads in JIRA

surendra raju Feb 03, 2014

Hi Mates,

I am new to JIRA. I need all your help to automate the process.

we are copying csv files from emails to Unix server (where JIRA is running)

Then opening the JIRA console and external import and giving teh path of teh file and template and uploading it. It will show the number of records updated.

Could you please let me knwo is there any way we can run any UNIX or windows script to upload the csv files JIRA and get a File row count.

Cheers

2 answers

JIRA Command Line Interface has addAttachment to add attachments to issues or if the csv file represents JIRA issues, then runFromCsv. It wasn't clear what you meant by file row count.

surendra raju Feb 05, 2014

Thanks for the reply. But we are using JIRA Version - JIRA 3.13.2-#335. JIRA CLI will work from version 5 onwards. Is there any other way that i can make this work for my version?

That is a very old JIRA version :(. addAttachment may still work. You might have to use a much earlier version. Another option is to directly use SOAP add attachment service.

Damir Suljkic Oct 11, 2017

Followup Question: Can you use JIRA Command Line when using JIRA over a web interface?

I would like to try the addAttachment for my issues and folders (Structure), but I am not the administrator atm, yet I have to establish a folder for users that auto-uploads their pdfs to specific issues.

1 vote
surendra raju Feb 04, 2014

Thanks for the reply. But we are using JIRA Version - JIRA 3.13.2-#335. JIRA CLI will work from version 5 onwards. Is there any other way that i can make this work for my version?

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Jira Service Desk

Jira Service Desk Admin Certification (ACP-400) now $150 until 31 July

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the free Certification Prep Course by 30 June 2019 (earlier ...

169 views 0 7
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you