Inspiration

A press operator loses a fingertip at 9:12 on a Tuesday. The employer has 24 hours to tell OSHA (8 for a death). That same week there are a sutured cut, a strained back, a needlestick and an audiogram, and each one needs the same call: is it recordable under 29 CFR Part 1904, and on which line of the 300 log? US private employers reported 2.4 million work injuries and illnesses in 2025 (BLS). Federal OSHA received 9,034 severe injury reports in 2024, about 25 a day. Every year 52,092 establishments must file case data electronically, and about 463,000 must file 300A summaries. The difference between first aid and medical treatment decides most cases, and GAO found that over a third of the occupational health practitioners it surveyed had been pressured to keep treatment below the line that makes a case recordable. Safety teams already run requests in Jira Service Management, so the rules should run there too.

What it does

  • A structured report on the portal. The "Injury or illness" request type carries Recordable's form, a Forge JSM portal create property panel in UI Kit. Employees answer in plain words: where, when, what happened, the care they got ("Stitches or staples", "Butterfly strips", "Ice pack"), medicine and dose, and time off. The answers are saved on the request in Jira, and the form reminds employees of their right to report without retaliation (1904.35).
  • A decision with the rule for every step. A deterministic engine applies work-relatedness and the nine exceptions (1904.5), the new-case test (1904.6), the general criteria (1904.7, including the closed list of 14 first-aid items), needlesticks (1904.8), medical removal (1904.9), hearing STS of 10 dB plus 25 dB (1904.10), TB (1904.11) and privacy cases (1904.29(b)(7)). Each step shows its citation. A missing fact becomes a question, never a guess: what dose did the clinic recommend? Had the old back injury healed?
  • Clocks. Recordable runs the OSHA report clock in the plant's time zone: 8 hours for a fatality, 24 hours for an in-patient hospitalization, amputation or eye loss. It applies the 30-day and 24-hour windows and the exceptions for public roads, public transport and observation-only admissions, and fills in OSHA's call checklist from the report. It also runs the 7-day recording clock, counts days in calendar days to the 180-day cap, and posts hourly alerts.
  • The 300 log, 300A, 301 and ITA files. "Enter on the 300 log" assigns the case number and attaches a Form 301 equivalent PDF. Each establishment's log is computed live, and privacy cases show "Privacy case". One click prepares the year-end package as a Jira work item due February 1: the 300 log, the 300A summary with OSHA's required statements, and OSHA's Injury Tracking Application CSVs in the exact 28- and 24-column formats.
  • Who must file electronically. Recordable checks each plant's NAICS code and peak headcount against Appendices A and B to Subpart E and the partially exempt industries (all bundled), and says what to submit by March 2.
  • Establishments in JSM Assets, in an "OSHA establishments" schema Recordable creates. Without Assets, it keeps its own register.
  • Total recordable case rate and DART rate per establishment, from the hours worked.
  • A Rovo agent answers "Is this recordable? He got 3 stitches" and "What's our DART rate at Plant 2?" with citations and sources. Changes ask for confirmation first. A skill runs a weekly review.
  • A one-click sample: two plants and twelve reports that cover the edge cases. Remove sample undoes it.

How we built it

  • Forge with UI Kit: the JSM portal create property panel (structured intake saved as an issue property), a global page, an issue context panel with a live clock badge, an issue panel and an issue action, an entity property for JQL (oshaDecision, oshaRecordBy), triggers on issue created and deleted, an hourly scheduled trigger, a Rovo agent with 5 actions and a skill, and Forge personal data reporting.
  • The engine is pure JavaScript, with 30 unit tests on edge cases and an offline end-to-end test against a fake Jira/JSM site: 41 tests in all.
  • The law research (docs/LAW.md) was read from the eCFR text, OSHA's recordkeeping FAQs, the current enforcement directive CPL 02-00-172, the forms package and the ITA file specifications. Its 112 quotes were checked against the sources by script.
  • PDFs come from a small dependency-free writer; the CSVs follow OSHA's templates.
  • No egress, so the app is Runs on Atlassian eligible. Forge storage keeps only keys, account IDs, dates, codes and counts; names and medical details stay on the request in Jira.

Challenges we ran into

  • Prescription strength. The well-known thresholds (ibuprofen above 467 mg and so on) come from a directive OSHA cancelled in January 2025. The current test is the label: more than the single dose on the OTC label. We rebuilt the medication rule around it and kept the old numbers only as a hint.
  • Portal visibility. Jira's API can create a request type but can't add it to a portal group. So everything works without that step (the sample, requests raised by agents, "Treat as injury or illness" on any request), and the board explains the one optional admin step.
  • The 8- and 24-hour clocks are about wall time. Times are kept in each establishment's time zone, and the clock runs from when the employer learned of the event.
  • Required answers. JSM silently blocks Send when a panel is invalid, so the form says exactly which answers are missing.

Accomplishments that we're proud of

  • Every decision explains itself, down to the paragraph: "Sutures are medical treatment, 29 CFR 1904.7(b)(5)(ii)(D)".
  • A judge can see the whole year in a minute with the sample: a live 24-hour clock, questions, privacy cases, the 180-day cap, the 300A and the ITA files.
  • The ITA files match OSHA's templates exactly and run the ITA's cross-field checks.

What we learned

  • Recordkeeping is mostly about getting the facts right, then applying a closed set of rules.
  • An engine that asks for a missing fact is more trustworthy than one that guesses.
  • JSM's create property panel turns the help center into a structured intake for any regulated process.

What's next for Recordable

  • State Plan variations (for example Cal/OSHA reporting).
  • Direct ITA API submission, once an admin adds an OSHA API token.
  • Near-miss and corrective-action tracking tied to each case.
  • A non-admin "safety coordinator" role with its own view.

Built With

Share this project:

Updates

Submission history