Files
subtask_field_copier/lib
Claude c45cb05355 Only copy visible values into untouched subtask fields
- Parent is looked up with Issue.visible, so a new-subtask form can't be
  used to read another issue's custom field values
- Only custom fields the user can see on the parent and edit on the
  subtask are copied (per-role field visibility)
- A parent value is copied only when the parent has one and the
  subtask's field is untouched (empty or still at its default); blank
  parent values no longer wipe defaults, and values the user typed or a
  link passed in are never overwritten
- Also fills fields that appear when the form refreshes (e.g. after
  changing the tracker), leaving submitted fields alone
- Registered plugin fields (customer, vehicle, ...) follow the same rules
- build_new_issue_from_params stays private

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BiwYMjhoQvL7XsKKfRz4pM
2026-10-28 23:40:10 -04:00
..