6 Commits

Author SHA1 Message Date
stoat-tofu[bot] 97904579d7 chore: modify .github/workflows/validate-pr-title.yml 2026-03-24 19:04:06 +00:00
Paul Makles 9e717ec119 Revert "feat: delete OpenProject tickets when creation criteria is no… (#2)
Revert "feat: delete OpenProject tickets when creation criteria is no longer satisfied (#1)"

This reverts commit 46ba6d753a.
2026-02-09 19:42:06 +00:00
Paul Makles 46ba6d753a feat: delete OpenProject tickets when creation criteria is no longer satisfied (#1)
feat: delete OpenProject tickets when owner becomes unmapped

When a Zammad ticket's owner changes to someone who is not in the
ASSIGNEES mapping, the corresponding OpenProject work package is now
deleted. This maintains consistency with the creation rule that
prevents creating tickets for unmapped owners.

The deletion logic:
- Checks if an existing task has an unmapped owner
- Deletes the OpenProject work package via DELETE API call
- Returns early to prevent the update logic from running
- Logs the deletion with owner ID for debugging

This ensures that tickets only exist in OpenProject when they meet
the same criteria required for creation (owner must be mapped).

Co-authored-by: Claude <noreply@anthropic.com>
2025-11-16 12:54:38 +00:00
stoat-tofu[bot] dbfa756170 chore: modify .github/workflows/validate-pr-title.yml 2025-11-14 20:25:07 +00:00
izzy 768dabfd45 ci: add default GitHub Docker build workflow 2025-10-16 14:16:20 +01:00
izzy c4a91c4d16 feat: initial commit 2025-10-16 14:12:33 +01:00