Skip to content

Let activities be assigned to durable team objectives - #9

Merged
MarkJYoung merged 1 commit into
mainfrom
fix/assign-activity-to-team-objective
Sep 3, 2026
Merged

MarkJYoung merged 1 commit into
mainfrom
fix/assign-activity-to-team-objective

Conversation

@MarkJYoung

Copy link
Copy Markdown
Contributor

Creating an objective from a team roadmap (the new UX) makes a team-owned objective with no set and no direct roadmap link. objective_on_roadmap didn't recognise that shape, so objective_assignable_to_roadmap returned False and the item API rejected it with "Invalid objective for this roadmap".

Recognise a durable team objective (objective.team == roadmap.owning_team, sync on) as being on the roadmap, so items can be assigned to it. Regression test reproduces the flow: create objective via /api/objectives/ then assign an activity to it.

Full suite 163 green.

Creating an objective from a team roadmap (the new UX) makes a team-owned
objective with no set and no direct roadmap link. objective_on_roadmap didn't
recognise that shape, so objective_assignable_to_roadmap returned False and the
item API rejected it with "Invalid objective for this roadmap".

Recognise a durable team objective (objective.team == roadmap.owning_team, sync
on) as being on the roadmap, so items can be assigned to it. Regression test
reproduces the flow: create objective via /api/objectives/ then assign an
activity to it.

Full suite 163 green.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@MarkJYoung
MarkJYoung merged commit 6275d2e into main Sep 3, 2026
1 check passed
@MarkJYoung
MarkJYoung deleted the fix/assign-activity-to-team-objective branch September 3, 2026 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant