Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add try/except for creator.displayName #8

Open
sharkmerry7 opened this issue Nov 22, 2022 · 0 comments
Open

add try/except for creator.displayName #8

sharkmerry7 opened this issue Nov 22, 2022 · 0 comments

Comments

@sharkmerry7
Copy link

sharkmerry7 commented Nov 22, 2022

Line 75 of get-all-issues.py throws an error if creator displayname is "anonymous".

changing

creatorname = issue.fields.creator.displayName

to

try:
    creatorname = issue.fields.creator.displayName
except AttributeError:
    creatorname = 'Unknown'

seems to resolve the issue. Tried to commit a branch with the edit but no perms. Simple enough that y'all can do it im sure

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant