A comprehensive Redmine plugin providing audit utilities, employee data integration, and security workflow tools for the New York State Senate.
Note: Prefix rake commands with bundle exec if using Bundler
-
Clone plugin to
plugins/nysenate_audit_utilsdirectory:cd /path/to/redmine/plugins git clone git@github.com:nysenate/redmine-plugin-nysenate-audit-utils.git nysenate_audit_utils -
Install plugin dependencies:
# If using bundler bundle installor
# If not using bundler gem install webmock -
Run plugin migrations (from Redmine root):
cd /path/to/redmine rake redmine:plugins:migrate NAME=nysenate_audit_utils RAILS_ENV=production -
(Optional) Run tests to verify installation (from Redmine root):
rake redmine:plugins:test NAME=nysenate_audit_utils
-
Restart Redmine
-
Configure the plugin in the UI:
Administration → Plugins → NY Senate Audit Utils → Configure
- Redmine 6.0 or higher
- Ruby 3.1 or higher
- Access to ESS API (for employee integration features)
Configure access to the Employee Self Service API:
- ESS Base URL: Base URL for the ESS API endpoint
- ESS API Key: Authentication key for ESS API access
The plugin uses custom fields to store employee and request data.
Ensure that the following fields exist and are included in desired projects/trackers:
Employee Fields:
Employee ID- IntegerEmployee Name- TextEmployee Email- TextEmployee Phone- TextEmployee Status- List (Active/Inactive)Employee UID- TextEmployee Office- Text
Request Fields:
Account Action- ListTarget System- List
Configure field mappings via Administration → Plugins → Configure.
Click "Auto-Configure All Fields" to automatically detect fields by name.
If auto-detection fails, manually select field IDs from dropdowns in plugin settings.
After configuration, check status indicators to ensure all required fields are mapped. The system shows:
- ✓ Configured fields with field names
- ✗ Missing fields with configuration prompts
Enable features per-project:
- Go to Projects → *your project name* → Settings and scroll to the Modules section.
- Enable desired modules:
- Audit Reporting - Access to daily/weekly/monthly/triennial reports
- Employee Autofill - Employee search and autofill functionality
- Packet Creation - Create ticket packets containing ticket pdf + all issue attachments
Configure role permissions under Administration → Roles and Permissions:
Edit the desired role(s) so that they grant the following permissions:
Audit Utils Employee Autofill:
- Use employee autofill
Audit Utils Packet Creation:
- Create ticket packets
Audit Utils Reporting:
- View audit reports
- Export audit reports
Assign the role(s) to the applicable user(s) in project member settings: Projects → *your project name* → Settings → Members
Access via project menu: Reports → Audit Utils
- Daily Reports: Account status of employees with status changes in past 24 hours
- Weekly Reports: All completed tickets for previous week
- Monthly Reports: Snapshot of current employee account status
Generate audit-ready zip packages containing:
- Ticket PDF with all details
- All file attachments
Access:
- Single ticket: "Create Packet" button on issue detail page
- Bulk creation: Right-click context menu on issue list (select multiple issues)
- Real-time employee search widget on issue pages
- Automatic population of configured custom fields from ESS data
- AJAX-based search interface
Automatic request type classification based on Account Action and Target System combinations.
Library providing:
- Employee search and retrieval via ESS REST API
- Employee Status change tracking (appointments, terminations, transfers, etc.)