From 6276f72b020b0c8ed9906a61030ef23577d840fc Mon Sep 17 00:00:00 2001 From: Gui Martins Date: Fri, 23 Apr 2021 16:30:19 -0300 Subject: [PATCH] Presenting it better --- get/issues.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/get/issues.py b/get/issues.py index 28e5d9e..9cde4e4 100644 --- a/get/issues.py +++ b/get/issues.py @@ -103,7 +103,7 @@ def get_issues(output, user, include_closed, show_query, project, to_add.append(issue['key'] if not show_url else "https://jira.finastra.com/browse/" + issue['key']) to_add.append(issue['fields']['summary']) to_add.append(issue['fields']['status']['statusCategory']['name']) - if issue['fields'].get('assignee'): to_add.append(issue['fields']['assignee']['displayName'] + "(" + issue['fields']['assignee']['key'] + ")") + if issue['fields'].get('assignee'): to_add.append(issue['fields']['assignee']['displayName'] + "(" + issue['fields']['assignee']['name'] + ")") if issue['fields'].get('customfield_12800') and all_sprints: to_add.append(re.findall('(?:name=)(.*)(?:,startDate)', issue['fields']['customfield_12800'][0])[0]) if show_story_points: diff --git a/setup.py b/setup.py index d3195cb..48e3003 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ setup( name='fancy-jira', - version='0.0.4', + version='0.0.5', author='Gui Martins', url='https://fancywhale.ca/', author_email='gmartins@fancywhale.ca',