In Configure System, you can indicate the number of priority buckets (Number of Priorities).
These buckets should be independent of the priority values themselves.
I'd like to be able to have 6-digit priorities without having 1 million buckets. Unfortunately, the plugin doesn't seem to work if the number of buckets is less than the priority numbers. And when the number of buckets is quite high, this can cause the Jenkins configuration pages to hang because of html dropdowns populated exhaustively with priority levels.
The plugin should use the Number of Priorities as a maximum bucket count, assign a new priority number to each bucket as a value and sort as necessary.
Bucket["value"] = 100523
Bucket["value"] = 100524
Bucket["value"] = 100525