Files
Claude 9460d4bf2e Cross-link only "related to", with permission and ID fixes
- Only cross-links "relates": directional types created invented
  relations, and "precedes" rescheduled dates / "duplicates" closed
  issues between the targets
- Requires permission to manage relations in both issues' projects
  (cross-links are between issues the user isn't editing)
- Parses issue ids the way Redmine does ("#13", spaces), so "#" ids are
  no longer dropped
- Uses the relations actually saved to the base issue instead of the
  form-only @unsaved_relations, so it behaves the same for the form, a
  plain post and the API
- Skips pairs already related, caps at 10 issues per request, and logs
  failures instead of raising after the relations were saved

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