Skip to content

Commit

Permalink
Merge pull request #190 from aaujon/master
Browse files Browse the repository at this point in the history
Fix #170 : use default 'hidden' email address when Jira server settin…
  • Loading branch information
ssbarnea committed Apr 21, 2016
2 parents 24aba3c + 4564c98 commit d9df096
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jira/client.py
Expand Up @@ -785,7 +785,7 @@ def group_members(self, group):

result = {}
for user in r['users']['items']:
result[user['name']] = {'fullname': user['displayName'], 'email': user['emailAddress'],
result[user['name']] = {'fullname': user['displayName'], 'email': user.get('emailAddress', 'hidden') ,
'active': user['active']}
return result

Expand Down

0 comments on commit d9df096

Please sign in to comment.