Where is attachment file uploaded via JIRA

Minju Kim May 22, 2017

I want to know location of attachment (the real file, not DB ID File in JIRA_HOME\Application Data\JIRA\data\attachments)

1 answer

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 23, 2017

That IS the "real file".  There's no other copies stored.

If you want to read an attachment directly off the file system you read the file under the attachments directory (I'd strongly recommend going through JIRA's API, and there's no way you should ever write here)

formulardev01 May 23, 2017

But, i can't read the file.. in attachments directory..

the file's name maybe DB ID .. where is my attachment file???

 

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 23, 2017

Your file is the one in the attachment directory.  It's been renamed to fit with JIRA's internal naming scheme

This is why you should not be reading it this way - you're over-complicating what you're doing.  JIRA's storage is not intended for you to access directly.

Suggest an answer

Log in or Sign up to answer