Hi, I have written a code which give me all the comments in jira issue. But I only want last comment which contain the specific string I want. Can anybody help me with that.
id = objJira.getIssue(issueid)
comment = id.fields.comment.comments
for com in comment:
print(com.body)