From 8fa7c938da825cc2a215022a4dfa28e515f1dcc1 Mon Sep 17 00:00:00 2001 From: Vyacheslav Tumanov Date: Thu, 12 Jan 2023 20:51:22 +0500 Subject: [PATCH] Update default status id for issues when created one after another (#2501) Signed-off-by: Vyacheslav Tumanov --- plugins/tracker-resources/src/components/CreateIssue.svelte | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/tracker-resources/src/components/CreateIssue.svelte b/plugins/tracker-resources/src/components/CreateIssue.svelte index e1ae521e88..6f60931b6c 100644 --- a/plugins/tracker-resources/src/components/CreateIssue.svelte +++ b/plugins/tracker-resources/src/components/CreateIssue.svelte @@ -159,6 +159,9 @@ template = undefined object = { ...defaultIssue } subIssues = [] + if (!originalIssue && !draft) { + updateIssueStatusId(_space, status) + } } let templateId: Ref | undefined = draft?.template?.template