Skip to content

fix(OUT-3297): subtasks inherit parent assignee from template#1150

Open
aschwartz91 wants to merge 2 commits intofeature/client-association-prodfrom
subtasks-inherit-status
Open

fix(OUT-3297): subtasks inherit parent assignee from template#1150
aschwartz91 wants to merge 2 commits intofeature/client-association-prodfrom
subtasks-inherit-status

Conversation

@aschwartz91
Copy link
Contributor

@aschwartz91 aschwartz91 commented Mar 9, 2026

Summary

  • Removed previewMode conditional in createSubtasksFromTemplate so assignee fields (internalUserId, clientId, companyId, associations) are always passed to subtasks created from templates
  • Previously subtasks only inherited the parent assignee when creating from CRM preview mode; now they inherit it from the main app as well

Test plan

  • As an internal user, create a task from a template with subtasks and assign the parent — verify subtasks inherit the assignee
  • As a client/company user (CRM preview), create a task from a template — verify subtasks still inherit the assignee as before
  • Create a task from a template without assigning anyone — verify subtasks are also unassigned
Screen.Recording.2026-03-09.at.6.00.59.PM.mov

Linear: https://linear.app/assemblycom/issue/OUT-3297

🤖 Generated with Claude Code

aschwartz91 and others added 2 commits March 9, 2026 17:48
Remove previewMode conditional so assignee fields are always passed
to subtasks, not just when created by client/company users.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Use associations instead of viewers, and always pass assignee fields
to subtasks created from templates.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@linear
Copy link

linear bot commented Mar 9, 2026

@vercel
Copy link
Contributor

vercel bot commented Mar 9, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
tasks-app Ready Ready Preview, Comment Mar 9, 2026 10:00pm

Request Review

@aschwartz91 aschwartz91 requested a review from rrojan March 9, 2026 22:04
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