Build your own Redmine in Java with AI and AppJars
A Redmine-style issue tracker in Java, built by an AI coding agent from four short specs on top of AppJars: SSO, runtime access rules and an audit trail included. Open source.

How much of a business application can an AI coding agent build on its own if you hand it the right pieces? We wanted a concrete answer, so we picked a classic: an issue tracker in the style of Redmine, with projects, trackers, workflows, a Gantt chart, time tracking, users and an audit log.
The agent started from a project generated by Craft with three AppJars already wired in. It could search the AppJars documentation through the AppJars Docs MCP Server. And instead of one long prompt, it got four short specs. Nobody wrote application code by hand: our part was writing the specs and testing the result.

It is not a product. It is a starting point to play with, and everything is open source: the specs, the prompts, the code, and a Git history with one commit per step. github.com/AppJars/appjars-ai-issue-tracker
Why build your own? #
Redmine is a great tool, and so are the hosted trackers. This is for teams that want issue tracking as part of their own Java codebase, and there are good reasons to want that:
- Your stack, your code. It is a single Maven project on Java, Spring Boot and Vaadin, like the rest of your applications. Your team can read it, debug it, review it and deploy it the way it does everything else, without another language runtime to keep patched next to it.
- The security your company already asks for. User Manager brings sign-in through OAuth2 / OpenID Connect, with Google and GitHub built in and your own identity provider through an SPI. Access rules decide who can open each view; administrators change them at runtime, with patterns and priorities, without a redeploy. Users, roles and groups come with it.
- An audit trail with the retention you decide. Activity Log keeps the events your application logs in your database. Retention rules apply per category, so security events can stay for years while routine noise goes after a few days, and log viewers give a team its own filtered view without opening the administration screens.
- Extend it in Java, not with plugins. Issue Tracker exposes its features as Spring services,
such as
IssueService, so your other code can use them: an order system that opens an issue when a shipment fails, or a nightly job that files what it could not process. Custom fields, workflows per role, and CSV and Excel import and export need no code at all. - Or put it inside an application you already have. Because these are modules, issue tracking doesn’t have to be a separate tool. It can live inside your customer portal or your back office, with the same users, the same sign-in and the same look.
- A foundation someone else maintains. The modules get fixes and Vaadin and Spring upgrades
through a version bump in
pom.xml. Why that matters for apps built with AI. - Your data, your infrastructure. It runs on your database and your servers, on premises if you need it.
Here are the steps, with what actually happened in each one.
Step 1: Start from a project that already runs #
Open craft.appjars.com and pick three modules:
- Issue Tracker for projects, issues, trackers, workflows, versions, Gantt and time tracking.
- User Manager for sign-in, users, roles, groups and access rules.
- Activity Log for the audit trail.
We set the application name to Issue Tracker, kept the in-memory H2 database and the Docker
option, and gave the Lumo theme Redmine’s blues: #3E5B76 as the primary color, #628DB6 as the
secondary one, and a 3px corner radius.
The download is a Spring Boot 4 and Vaadin 25 project with security, navigation, properties and
the theme already set up for those modules. It boots with mvn spring-boot:run. It also contains
an AGENTS.md that tells a coding agent how the project is put together and which rules are easy
to break: that Vaadin 25 uses plain CSS instead of @Theme, for example, or that the main layout
needs an access annotation. Read more about Craft.
Step 2: Let the agent read the documentation #
An agent that has never seen a library will still write code for it, with plausible class names and invented property keys. The AppJars Docs MCP Server fixes that by letting it search the documentation while it works. With Claude Code:
claude mcp add appjars-docs -- npx -y @serverless-dna/mkdocs-mcp https://docs.appjars.com/ "Official AppJars documentation"
The repository also commits a .mcp.json, so everyone who clones it gets the same setup.
Configurations for Cursor, VS Code, Windsurf, Codex, Gemini CLI and JetBrains are on
mcp.appjars.com. Read how the MCP server works.
Step 3: Write the what, not the how #
Spec-driven development, in its simplest form: describe what you want in small Markdown files, and let the agent decide how to build it. Each spec has a goal, numbered requirements, what is out of scope, and acceptance criteria you can check by hand.
| Spec | What it asks for |
|---|---|
00-principles.md | Rules that apply to every spec |
01-redmine-look.md | A dark top bar, a blue header with tabs, dense striped grids and an Administration page |
02-demo-data.md | Users, two projects, issues and time entries created on first start |
03-home.md | A home page with the projects and the demo credentials |
STATUS.md | Where the agent reports what it did and what it dropped |
The principles file matters most. These are its first two rules:
Reuse before you write. Issue Tracker, User Manager and Activity Log already provide projects, issues, workflows, time tracking, users, roles and audit logs. Use their views and services. Never re-implement something an AppJar already does.
Small and running beats complete. This is a starter to play with, not a product. If a feature gets complicated, drop it and note it under “Not done”.
The other rules point at AGENTS.md, keep styling in plain CSS, keep the demo data within the
free-mode limits, and define “done” as: it compiles and the application boots without errors.
Step 4: Run one short prompt #
The prompt is short, because the specs carry the detail:
You are working on a Spring Boot + Vaadin application generated by Craft, with three AppJars
already integrated: Issue Tracker, User Manager and Activity Log.
1. Read `AGENTS.md` and every file in `specs/`, starting with `specs/00-principles.md`.
2. Use the `appjars-docs` MCP server to look up how the AppJars work (services, views, routes,
free-mode limits) before writing code that depends on them.
3. Implement specs 01, 02 and 03, in that order.
4. After each spec, run `mvn -q -DskipTests package`. When all three are done, start the app with
`mvn spring-boot:run`, check the log for errors and fix them, then stop it.
5. Update `specs/STATUS.md`: mark each spec done or partial, and list anything you dropped under
"Not done".
Keep it simple. If something gets complicated, drop it and write it down instead of fighting it.
We ran it in a fresh, non-interactive Claude Code session with nothing configured except the AppJars MCP server, and nobody touching the keyboard. It took about fifteen minutes. In that time the agent:
- searched the documentation for the services, views and routes it needed;
- replaced the generated side menu with a Redmine-style top layout and wrote the CSS;
- wrote a demo-data seeder that goes through the Issue Tracker and User Manager services, never through SQL. Issue Tracker starts with no trackers, statuses or priorities, so the seeder creates a familiar set (Bug, Feature and Support; New, In Progress, Resolved and Closed) along with the workflows between them;
- compiled after each spec, fixed its own compilation errors, booted the application and checked the log;
- wrote
STATUS.md, including what it had not verified: it had never opened the pages in a browser.
That last point is worth noticing. An honest status file is more useful than an optimistic one.
Step 5: Test it, then iterate #
So we opened it in a browser and clicked through every tab, as the administrator and as a regular user. The look, the home page, the Administration page and “My page” were right. Two things were not: the issues grid showed only the issue number and the project, and the projects grid had no columns at all.

Instead of fixing it by hand, we wrote down what we saw as a new spec, 04-test-findings.md: what
works, what is wrong, and how to check the fix. Then we ran a second, shorter prompt pointing at
it. The agent found in the documentation that Issue Tracker reads the default columns of its lists
from its global settings, which start empty, and made the seeder fill them in. It also hid the
Administration link from users who are not administrators.
A third small prompt fixed something only a human would notice: the seeder created five open issues, exactly the free-mode limit, so a new user couldn’t create an issue without closing one first. Now it seeds three.

That loop is the whole method: test it, write the finding as a spec, prompt again. The findings stay in the repository next to the specs, so the next person, or the next agent, knows why things are the way they are.
Step 6: Deploy it #
Craft generated a multi-stage Dockerfile and a compose.yaml, so the host needs Docker and
nothing else:
docker compose up -d
The image runs the production build of the application. The same Dockerfile works on a VPS,
Railway, Render, Fly.io, Google Cloud Run or Azure Container Apps. Before you put it on the
internet, move the database from in-memory H2 to PostgreSQL, change the secret key and the demo
passwords, and set the public URL. The README lists each setting.
What we took away #
- The agent did not write the foundation, and that is good news. Sign-in, access rules, auditing and the issue tracking itself came from modules that are tested and maintained outside this repository. The agent’s code is the part that is specific to this application: the layout, the theme, the demo data and the home page.
- The pieces decide how far the agent gets. The agent did not write an issue tracker. It configured one, styled it and filled it with data. Projects, workflows, Gantt, time tracking, sign-in and auditing came from three Maven dependencies that someone else maintains. That is what made fifteen minutes enough.
- The docs matter as much as the code. Every time the agent needed something specific, like the services for creating users, the columns setting or the administrator flag, it found it in the documentation instead of guessing.
- Specs are cheap to write and cheap to fix. Four short files and three short prompts. When something was wrong, the fix started as a paragraph in Markdown, not as a debugging session.
- Test like a user. Compiling and booting are not the same as working. The most useful findings came from clicking around, and one of them, the free-mode limit, needed a person to notice it.
Try it #
Clone the repository, run
mvn spring-boot:run or docker compose up -d, and sign in as admin / admin or as alice,
bob or carol with the username as the password. Then write your next spec: per-project tabs, a
roadmap page, email notifications, PostgreSQL, your own logo. Run the prompt and test it.
To start your own application, pick its modules on Craft and connect your assistant to the documentation. Every AppJar works in free mode without a license or an account, with limits that are enough to evaluate it. Issue Tracker, for example, allows five users and five open issues. A license lifts the limits without changing a line of code.
And tell us which application you would like to see built this way next.
Redmine is a trademark of its respective owner. This project and AppJars are not affiliated with or endorsed by the Redmine project.


