Create 3d Tickets

Creates a parent ticket and subtasks for 3D modeling based on the template CHI-36273.

timwilliams-prod 2 updated 2mo ago
Claude CodeGeneric
View source ↗
# Create 3D Modeling Tickets

Creates a parent ticket and subtasks for 3D modeling based on the template CHI-36273.

## Process

1. **Get Parameters**
   - Unit name (e.g., "Steam Sage")
   - Start date (e.g., "May 11th" or "2026-05-11")
   - Assignee name (e.g., "Felipe Chaves")

2. **Find Assignee**
   - Use `clickup_find_member_by_name` to get user ID

3. **Load Estimates**
   - Read `planning/pods/unit/3d_modeling_estimates.md` for task durations

4. **Calculate Schedule**
   - Calculate working days (excluding weekends)
   - Start from provided start date
   - Sequential tasks based on estimates:
     - High Poly modeling: 4 days
     - Low poly modeling: 2 days
     - UVs (texture layout): 0.5 days
     - Bake: 0.5 days
     - Textures: 3 days
   - Parent ticket spans from first task start to last task end

5. **Check Assignee Workload Conflicts**

   Before creating the parent ticket, verify the assignee isn't already overloaded during the proposed window.

   - Call `clickup_filter_tasks` with:
     - `assignees`: [found user ID]
     - `due_date_from`: proposed parent start date
     - `include_closed`: false
     - `subtasks`: true

   - Post-filter the results — keep only tasks that:
     - Have **both** `start_date` and `due_date` set (otherwise overlap is undefined)
     - Have `start_date` **on or before** the proposed parent due date (otherwise they begin after our work ends)
   - The survivors are the **conflicts**.

   - **No conflicts:** proceed to the next step.

   - **Conflicts exist:**
     1. Show the user the conflict list — for each: task name, custom ID, status, `start → due` dates, URL.
     2. Compute `suggested_start = max(due_date among conflicts) + 1 working day` (skip Sat/Sun).
     3. Use `AskUserQuestion` with three options:
        - **Reschedule to {suggested_start}** (Recommended) — recompute the entire schedule from this new start.
        - **Proceed anyway** — accept the overlap and create the tickets as planned.
        - **Pick a different start date** — user provides a custom date; recompute.
     4. If the user reschedules (suggested or custom), **re-run this check** with the new dates. Loop until either no conflicts remain or the user chooses "Proceed anyway".

6. **Create Parent Ticket**
   - Name: `{Unit Name} - 3D`
   - List ID: `901208416337` (Product Backlog)
   - Start/Due dates: calculated span
   - Assignee: found user ID
   - Custom field "🪷 Lotus Pod" = "Battle" (ID: `ee297ee9-3b42-4f32-b3d8-b577debf883f`, value: `a1bd403a-aafc-4224-834f-6a75a452e761`)
   - Tag: "3d"
   - Task type: `"Deliverable"` (parent only — subtasks use the default task type)
   - Parent: `86ag91381` (from template's parent field)

7. **Create Subtasks** (in order)
   - {Unit Name} - Highpoly
   - {Unit Name} - Lowpoly
   - {Unit Name} - UVs
   - {Unit Name} - Bake
   - {Unit Name} - Textures
   
   Each with:
   - Calculated start/due dates
   - Time estimate (in milliseconds: days * 8 hours * 3600000)
   - Same assignee as parent
   - Lotus Pod custom field = "Battle"
   - Parent: the newly created parent ticket ID

8. **Return Summary**
   - Parent ticket ID and URL
   - All subtask IDs and URLs with dates
   - Total duration

## Custom Field Details

**Lotus Pod Field:**
- Field ID: `ee297ee9-3b42-4f32-b3d8-b577debf883f`
- Battle option ID: `a1bd403a-aafc-4224-834f-6a75a452e761`
- Set using: `custom_fields` parameter with `[{"id": "ee297ee9-3b42-4f32-b3d8-b577debf883f", "value": "a1bd403a-aafc-4224-834f-6a75a452e761"}]`

## Time Estimates (milliseconds)

- 4 days = 115,200,000 ms (32 hours)
- 3 days = 86,400,000 ms (24 hours)
- 2 days = 57,600,000 ms (16 hours)
- 0.5 days = 14,400,000 ms (4 hours)

## Example Usage

User: Create 3D tickets for "Steam Sage" starting May 27th, assign to Felipe Chaves


## Notes

- Weekends (Saturday/Sunday) are excluded from working days
- All dates calculated sequentially (one task after another)
- Template ticket CHI-36273 used as structural reference
- Parent ticket gets parent ID: `86ag91381` from template
- Total pipeline time: 10 working days (80 hours)

Maintain Create 3d Tickets?

Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.

[Create 3d Tickets on getagentictools](https://getagentictools.com/loops/timwilliams-prod-create-3d-modeling-tickets?ref=badge)