https://confluence.atlassian.com/jirakb/locate-jira-server-file-attachments-in-the-filesystem-859487788.html
<JIRA_HOME>/data/attachments/<PROJECT>/<BUCKET>/<ISSUE_ID>/<ID>
The above kb mentioned about how to locate attachment in the filesystem.
I have some question on the <BUCKET>. What is this and how to retrieve this?
In my project, I can find "10000" for <BUCKET>. will it be any other value?
@Kim Tso Welcome to the Community!!!
<BUCKET> here is grouping based on issue row number in database, for example,
This is set just to by-pass limitations put by various OS and file-systems for number of sub-directories and files.
This is introduced in Jira 8.
@DPKJ Thanks.
Is there any java object call that can get the <BUCKET> in JIRA workflow?
It likely change when issues are created.
@Kim Tso There is one accessor that might help you,
https://docs.atlassian.com/software/jira/docs/api/8.0.0/com/atlassian/jira/issue/attachment/FileSystemAttachmentDirectoryAccessor.html
It looks like you're new here. Sign in or register to get started.