This document describes the job parameter format used by DMTools for executing various reports and automation tasks. For complete API documentation and interactive testing, use the Swagger UI.
For complete API documentation, schemas, and interactive testing:
👉 Visit Swagger UI: http://localhost:8080/swagger-ui.html
DMTools jobs are executed using JSON parameters in the following format:
{
"name": "JobName",
"params": {
"parameter1": "value1",
"parameter2": "value2",
...
}
}Generate comprehensive developer productivity analytics and reports.
Analyze quality assurance team performance and metrics.
Create automated presentations from data sources.
Generate business intelligence and analytical reports.
Use the /api/executeJob endpoint with JSON parameters.
For command-line execution, encode JSON parameters as Base64:
java -cp dmtools.jar com.github.istin.dmtools.job.UrlEncodedJobTrigger "$BASE64_ENCODED_PARAMS"Use the DMTools web interface for interactive job configuration and execution.
start_date- Report start date (format: dd.mm.yyyy)report_name- Name of the generated reportinput_jql- JIRA JQL query for data filteringsources- Data sources (e.g., "bitbucket", "github", "jira")
employees.json- Employee information and rolesemployees_aliases.json- Employee alias mappings- Formula files (
.js) - Custom calculation formulas
-
Start the server:
./gradlew bootRun
-
Access API documentation: Visit
http://localhost:8080/swagger-ui.html -
Test job execution: Use the interactive Swagger interface to test job parameters
[
{
"Employee": "John Doe",
"Role": "Developer",
"Level": "A3"
}
]{
"John Doe": ["john-doe", "jdoe", "john.doe"]
}For detailed parameter schemas, validation rules, and interactive testing:
- Swagger UI:
http://localhost:8080/swagger-ui.html - GitHub Issues: DMTools Issues
- Main Documentation: README.md - Setup and configuration