feat(ST-507): split code from title in backlog parser and seed Scrum4Me with codes

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Janpeter Visser 2026-04-26 20:36:45 +02:00
parent 16a3b139ae
commit 9da9f6ae56
2 changed files with 5 additions and 2 deletions

View file

@ -103,6 +103,7 @@ async function main() {
data: {
user_id: demo.id,
name: 'Scrum4Me',
code: 'SCRUM4ME',
description:
'Een desktop-first fullstack webapplicatie voor solo developers en kleine Scrum Teams die meerdere softwareprojecten parallel beheren.',
repo_url: 'https://github.com/madhura68/Scrum4Me',
@ -126,7 +127,8 @@ async function main() {
const pbi = await prisma.pbi.create({
data: {
product_id: product.id,
title: `${ms.key}: ${ms.title}`,
code: ms.key,
title: ms.title,
description: ms.goal,
priority: ms.priority,
sort_order: ms.sort_order,
@ -161,6 +163,7 @@ async function main() {
pbi_id: pbi.id,
product_id: product.id,
sprint_id: inSprint ? sprint.id : null,
code: s.ref,
title: s.title,
description: storySummary,
acceptance_criteria: s.acceptance_criteria,