Attachments

santhoshkumar September 5, 2019

Is there any Addon for Automatic attached Attachments through CSV file  

2 comments

Ilya Turov
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 6, 2019

Hello, @santhoshkumar 

what kind of csv do you want to attach automatically?

santhoshkumar September 10, 2019

i want to import the project data but they provide me as CSV files and attachments separately when im importing the files directly through CSV only data is fetching i cant able to see attachments,
is there any way that i can import attachments separately for particular data

Ilya Turov
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 11, 2019

As mentioned in CSV import documentation, you should first place files you want to attach into your $JIRA_HOME/import/attachments folder, then you can mention those paths in your csv file.

santhoshkumar September 11, 2019

but i have an multiple files Ex 7000 Attached files how it can ?

Ilya Turov
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 11, 2019

well, guess you have filenames mapped to issues they should be attached to anyway, you can try mass editing your csv with for example excel, I mean adding that prefix path to filenames

santhoshkumar September 11, 2019

but each and every file name is different.
File No:

1. C:\Program Files\Atlassian\Application Data\JIRA\data\attachments\HDFCMF\HMF-51\34624

2. C:\Program Files\Atlassian\Application Data\JIRA\data\attachments\HDFCMF\HMF-102\thumbs\_thumb_35311

You can see the both the files names are different at the end of the file name

so like this for every issue having an attachmentS.

santhoshkumar September 11, 2019

Did u got my point

Ilya Turov
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 11, 2019

Yeah, I quite don't understand why you have attachments as a folder, but data as a csv.

If you are moving from instance to instance then I believe it's easier to move database as a whole with a backup, and attachment folder as well.

Documentation I linked earlier says you can specify attachment as a URL link, so if you have instance you are moving from up, you can try using something like this:

https://jira-server:8080/secure/attachment/image-name.png
Krzysztof Daukszewicz [CoreSoft Labs]
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
September 6, 2019

Do you want to import files based on csv file?

santhoshkumar September 10, 2019

i want to import the project data but they provide me as CSV files and attachments separately when im importing the files directly through CSV only data is fetching i cant able to attachments,
is there any way that i can import attachments separately for particular data

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events