Plugins Directory » ICCID custom field
|
|
Author: | Silent eSIM |
|---|---|---|
| Website: | https://gitea.com/silentesim/redmine_iccid | |
| Code repository: | https://gitea.com/silentesim/redmine_iccid.git | |
| Registered on: | 2026-11-30 (6 days ago) | |
| Current version: | 1.0.0 | |
| Compatible with: | Redmine 6.0.x, 5.1.x, 5.0.x | |
| User ratings: |
Adds two custom field formats for SIM and eSIM ICCIDs, the 18 to 22 digit number on a SIM card (or under Settings > About on a phone with an eSIM). Useful anywhere a team pastes ICCIDs into issues: telecom support, device fleets, IoT rollouts, travel desks.
- ICCID rejects mistyped numbers on save and shows valid ones in groups of four with a country hint, for example "8944 5001 0219 8304 826 (GB)".
- ICCID (masked) runs the same check but lists, notification emails and CSV exports only show the first 6 and last 4 digits ("8944 50** *** **4 826"), so a full card number doesn't end up in every inbox.
The check follows the ITU-T E.118 layout: digits only (spaces, dashes and a trailing F filler are stripped), 18 to 22 digits, starting with 89, and a valid Luhn check digit. Luhn catches any single wrong digit and most swapped neighbours, which covers nearly all copy-paste and phone-dictation mistakes. It's an offline format check only: it can't tell you whether the profile exists, is active or belongs to the person on the ticket. A few very old cards skip the Luhn digit; keep a plain text field for those.
Values are stored as typed, so switching an existing text field over doesn't rewrite data. The checker is plain Ruby with standalone tests (ruby test/unit/iccid_test.rb).
Written by the team behind Silent eSIM, a data-only travel eSIM, because most of our support tickets start with an ICCID. MIT licence.
Installation notes
Restart Redmine, then Administration > Custom fields > New, pick the object (Issue, User, Project...) and choose ICCID or ICCID (masked). No migrations.
Changelog
1.0.0 (2026-11-30)
Compatible with Redmine 6.0.x, 5.1.x, 5.0.x.