Community Announcements have moved! To stay up to date, please join the new Community Announcements group today. Learn more
×I am learning jira event whenever a issue is deleted in jira we can get the details of the issue by litening to this event i was also trying to figure out how to i get comments of the issue that was deleted currently i am only getting few details of the issue like summary issuetype assignee project but i am unable to get comment of the deleted issue throug event
Hi Ankit,
When an issue is deleted in Jira, the issueDeleted event does provide only limited details like summary, issue type, assignee, and project. Unfortunately, comments are not included in the payload for deleted issues.
A workaround is to capture comments before the deletion using the issueUpdated or commentCreated events and store them externally (like in a database or log). That way, if the issue gets deleted later, you still have access to the comments.
Jira’s API does not allow fetching comments of a deleted issue directly after deletion, so pre-capturing data is the safest approach.
Hope this helps!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.