Need timestamp update automatically when internal comment is commented in Issue transaction

Hi Friends,
I renamed Issue doctype as “Ticket” if we enter comment it should update the timestamp



Thanks in Advance

Hi @sathya_raj,

Please apply it and check the video.

if doc.comment_type == "Comment" and doc.reference_doctype == "Issue":
    upd_issue = frappe.get_doc('Issue', doc.reference_name)
    upd_issue.save()
1 Like

Thank you so much NCP