From d92df18eefaed8ee441641df20d0bc0665e69475 Mon Sep 17 00:00:00 2001 From: xander Date: Wed, 20 Jul 2022 18:51:28 +0100 Subject: [PATCH] fix bug status checker --- scripts/check_bug_fixes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/check_bug_fixes.py b/scripts/check_bug_fixes.py index fb86c53b..293abae7 100644 --- a/scripts/check_bug_fixes.py +++ b/scripts/check_bug_fixes.py @@ -34,7 +34,7 @@ json_response = response.json() fields = json_response['fields'] - resolution_id = fields['resolution']['id'] if 'resolution' in fields and fields['resolution'] is not None else -1 + resolution_id = int(fields['resolution']['id']) if fields['resolution'] is not None else -1 resolved = resolution_id == 1 fix_versions = []