I am trying to export all comments in excel from issues of a Jira project using python. I have used following
Comments_list.append(issue.fields.comment.comments)
for comment in Comments_list:
ws.cell(row=comments_row, column=comments_column).value = comment.body
comments_row += 1
However, I am getting error ''
AttributeError: 'PropertyHolder' object has no attribute 'comment'
How can I solve this error?