diff --git a/plugins/tracker-resources/src/components/CreateIssue.svelte b/plugins/tracker-resources/src/components/CreateIssue.svelte index 192f8e1ac9..0d4aa68c20 100644 --- a/plugins/tracker-resources/src/components/CreateIssue.svelte +++ b/plugins/tracker-resources/src/components/CreateIssue.svelte @@ -340,8 +340,6 @@ labels: [], parentIssue: undefined, priority: 0, - project: null, - sprint: null, subIssues: [], template: undefined, title: '' @@ -359,6 +357,14 @@ return false } + if (draft.project && draft.project !== defaultIssue.project) { + return false + } + + if (draft.sprint && draft.sprint !== defaultIssue.sprint) { + return false + } + if (draft.status === '') { return true }