diff --git a/app/(app)/products/[id]/settings/page.tsx b/app/(app)/products/[id]/settings/page.tsx
index 8150163..1ab3593 100644
--- a/app/(app)/products/[id]/settings/page.tsx
+++ b/app/(app)/products/[id]/settings/page.tsx
@@ -48,6 +48,7 @@ export default async function ProductSettingsPage({ params }: Props) {
defaultValues={{
id: product.id,
name: product.name,
+ code: product.code,
description: product.description ?? '',
repo_url: product.repo_url ?? '',
definition_of_done: product.definition_of_done,
diff --git a/components/backlog/pbi-dialog.tsx b/components/backlog/pbi-dialog.tsx
index 166bb12..8174f27 100644
--- a/components/backlog/pbi-dialog.tsx
+++ b/components/backlog/pbi-dialog.tsx
@@ -23,6 +23,7 @@ export interface PbiDialogPbi {
title: string
priority: number
description?: string | null
+ code?: string | null
}
type CreateState = { mode: 'create'; productId: string; defaultPriority?: number }
@@ -101,17 +102,30 @@ export function PbiDialog({ state, onClose }: PbiDialogProps) {
{!isEdit && }
-
-
-
+
diff --git a/components/backlog/story-dialog.tsx b/components/backlog/story-dialog.tsx
index 5077d5d..068d47f 100644
--- a/components/backlog/story-dialog.tsx
+++ b/components/backlog/story-dialog.tsx
@@ -124,7 +124,14 @@ export function StoryDialog({ state, onClose, isDemo = false }: StoryDialogProps