Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

what is bucket in this attachment article?

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?

 

1 answer

1 accepted

1 vote
Answer accepted
DPK J Community Leader Jan 13, 2020

@Kim Tso  Welcome to the Community!!!

<BUCKET> here is grouping based on issue row number in database, for example,

  • Issues that get IDs from 10000 - 19999 go into the "10000" bucket.
  • Issues in IDs range from 20000 to 29999 go into the "20000" bucket.

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.

 @DPK J  Thanks.

Is there any java object call that can get the <BUCKET> in JIRA workflow?

It likely change when issues are created.

Suggest an answer

Log in or Sign up to answer
TAGS

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