feat(custom-fields): add required flag UI and API validation (#597) #612

Merged
jmiller merged 1 commits from feature/597-required-custom-fields into main 2026-06-12 02:59:24 +00:00
Owner

Summary

Adds the missing UI and API validation for the required flag on custom field definitions.

Changes

  • Org settings custom fields form: added Required checkbox
  • Field list table: shows red asterisk (*) on required fields
  • API issue create: validates required custom fields, returns 422 if missing
  • Added locale strings for required field UI

Notes

The Required boolean already exists in the DB (migration v343), API responses, and web form validation. This PR adds the missing pieces: the org settings UI to set it, and API-side validation.

Closes #597

## Summary Adds the missing UI and API validation for the `required` flag on custom field definitions. ## Changes - Org settings custom fields form: added Required checkbox - Field list table: shows red asterisk (*) on required fields - API issue create: validates required custom fields, returns 422 if missing - Added locale strings for required field UI ## Notes The `Required` boolean already exists in the DB (migration v343), API responses, and web form validation. This PR adds the missing pieces: the org settings UI to set it, and API-side validation. Closes #597
jmiller added 1 commit 2026-06-12 02:50:27 +00:00
feat(custom-fields): add required flag UI and API validation (#597)
Generic: Project CI / Tests (pull_request) Blocked by required conditions
Universal: PR Check / Build RC Package (pull_request) Blocked by required conditions
Universal: PR Check / Report Issues (pull_request) Blocked by required conditions
Branch Policy Check / Verify merge target (pull_request) Failing after 4s
Generic: Repo Health / Scripts governance (pull_request) Blocked by required conditions
Universal: PR Check / Branch Policy (pull_request) Failing after 4s
Generic: Repo Health / Repository health (pull_request) Blocked by required conditions
Generic: Repo Health / Report Issues (pull_request) Blocked by required conditions
Generic: Repo Health / Site Health (pull_request) Has been skipped
Universal: PR Check / Validate PR (pull_request) Failing after 15s
Generic: Repo Health / Access control (pull_request) Successful in 5s
Generic: Repo Health / Scripts governance (push) Blocked by required conditions
Generic: Repo Health / Repository health (push) Blocked by required conditions
Generic: Repo Health / Report Issues (push) Blocked by required conditions
Generic: Project CI / Lint & Validate (pull_request) Successful in 1m0s
Generic: Repo Health / Site Health (push) Has been skipped
Generic: Repo Health / Access control (push) Successful in 3s
Branch Cleanup / Delete merged branch (pull_request) Has been skipped
RC Revert / Rename rc/ back to dev/ (pull_request) Has been skipped
PR RC Release / Build RC Release (pull_request) Failing after 1m30s
Universal: Auto Version Bump / Version Bump (push) Successful in 11s
Universal: Build & Release / Promote to RC (pull_request) Has been skipped
Universal: Build & Release / Build & Release Pipeline (pull_request) Has been skipped
Universal: Secret Scanning / Gitleaks Secret Scan (pull_request) Successful in 2m37s
245b5a8e6a
- Add required checkbox to org custom field settings form
- Show red asterisk (*) indicator on required fields in the list
- Validate required custom fields on API issue create (return 422)
- Add locale strings for required field UI

The Required column already exists in the DB (migration v343) and is
already validated in the web form. This adds the missing org settings
UI checkbox and API-side validation.

Co-Authored-By: Moko Consulting <hello@mokoconsulting.tech>
jmiller closed this pull request 2026-06-12 02:51:12 +00:00
jmiller deleted branch feature/597-required-custom-fields 2026-06-12 02:51:21 +00:00
jmiller reopened this pull request 2026-06-12 02:58:49 +00:00
jmiller merged commit ece24c6d38 into main 2026-06-12 02:59:24 +00:00
Sign in to join this conversation.