From 90852cfab28fcb85803895ffd89bf15afdbb4a27 Mon Sep 17 00:00:00 2001 From: Kendall Nelson Date: Wed, 20 Dec 2017 16:10:49 -0800 Subject: [PATCH] Migrate incomplete as todo Users would like to see bugs with incomplete status migrated over to Storyboard with a 'todo' status rather than an 'invalid' so that they aren't written off immediately when they just need more information on the bug to properly decide if its invalid or not. Task: 5686 Change-Id: I182013a9b635fc138105f7e133c3d0acb3b959aa --- storyboard/migrate/launchpad/loader.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/storyboard/migrate/launchpad/loader.py b/storyboard/migrate/launchpad/loader.py index 39d7d571..7a53d9e7 100644 --- a/storyboard/migrate/launchpad/loader.py +++ b/storyboard/migrate/launchpad/loader.py @@ -89,11 +89,11 @@ def map_lp_status(lp_status): """ # ('todo', 'inprogress', 'invalid', 'review', 'merged') - if lp_status in ('Unknown', 'New', 'Confirmed', 'Triaged'): + if lp_status in ('Unknown', 'New', 'Confirmed', 'Triaged', + "Incomplete (with response)", + "Incomplete (without response)"): return 'todo' - elif lp_status in ( - "Incomplete (with response)", "Incomplete (without response)", - "Opinion", "Invalid", "Won't Fix", "Expired"): + elif lp_status in ("Opinion", "Invalid", "Won't Fix", "Expired"): return 'invalid' elif lp_status == 'In Progress': return 'inprogress'