IssueTrackerProduct

A user friendly bug tracking web application for Zope

Really short issue IdsReally short issue Ids

16 Mar 2005

By default the Id of your issues look like this "0001" or "0193". What if you want them to look like "1" or "9".

This is dead simple. Go to your issuetracker instance and log into the Zope management interface (e.g http://localhost:8080/issutracker/manage)

properties.png Click on the Properties tab and scroll down towards very bottom and look for Id length. Change that to 1 if you want issue Ids that look like "1". The IssueTrackerProduct basically pads up the internal counter with zeros and how many zeros to use is dictated by this property.

Bare in mind that this only works for any new issues. The existing ones (potentially saved with longer Ids) will not change when you change this property.

Advanced note

If you know what you're doing with Zope you can set an environment variable called ITP_ID_LENGTH set to some integer number and then all newly created issue trackers will use that number instead of the default 4 (at the time of writing)

<<< Return to all how-tos