Unable to get author name
author_name=issue.fields.comment.comments[0].author.name
it gives below error:
author_name=issue.fields.comment.comments[0].author.name
File "C:\Users\mister\PycharmProjects\MyFirstProjest\venv\lib\site-packages\jira\resources.py", line 173, in __getattr__
if hasattr(self, 'raw') and item in self.raw:
TypeError: argument of type 'NoneType' is not iterable