From 0b9fbc3a6b18e2d62c0a532c6c728a90cc4e0af0 Mon Sep 17 00:00:00 2001 From: Frank Niessink Date: Sat, 5 Sep 2020 22:51:59 +0200 Subject: [PATCH] Bug fix for #1407. (#1435) --- .../src/source_collectors/api_source_collectors/jira.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/collector/src/source_collectors/api_source_collectors/jira.py b/components/collector/src/source_collectors/api_source_collectors/jira.py index 1e75ea1955..877d7111cc 100644 --- a/components/collector/src/source_collectors/api_source_collectors/jira.py +++ b/components/collector/src/source_collectors/api_source_collectors/jira.py @@ -177,7 +177,7 @@ async def _parse_source_responses(self, responses: SourceResponses) -> SourceMea completed = sprint_points["completed"]["text"] entities.append( Entity( - key=sprint["id"], name=sprint["name"], goal=sprint["goal"], points_completed=completed, + key=sprint["id"], name=sprint["name"], goal=sprint.get("goal") or "", points_completed=completed, points_committed=committed, url=f"{api_url}/secure/RapidBoard.jspa?rapidView={board_id}&view=reporting&" f"chart=sprintRetrospective&sprint={sprint['id']}"))