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
This commit is contained in:
Kendall Nelson 2017-12-20 16:10:49 -08:00
parent 7eddc73f7e
commit 90852cfab2
1 changed files with 4 additions and 4 deletions

View File

@ -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'