danswer-ai / danswer

Gen-AI Chat for Teams - Think ChatGPT if it had access to your team's unique knowledge.
https://docs.danswer.dev/
Other
9.75k stars 1.09k forks source link

Fix JIRA comment author email access #1663

Open artmatsak opened 1 week ago

artmatsak commented 1 week ago

This PR fixes accessing the non-existent emailAddress attribute of a User object in the JIRA connector which lead to errors of this sort in the logs:

connector.py  83 : [Attempt ID: 127] Failed to process comment due to an error: <class 'jira.resources.User'> object has no attribute 'emailAddress' ('User' object is not subscriptable)
vercel[bot] commented 1 week ago

@artmatsak is attempting to deploy a commit to the Danswer Team on Vercel.

A member of the Team first needs to authorize it.