Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to fetch details of deleted comment using Atlassian SDK?

Keyur Makwana April 7, 2022

I want to fetch ticket detail that is being deleted by user using UI. I am using scheduler in Atlassian SDK and I want list of ticket that deleted in that time duration.

 

Can anyone guide how to do?

1 answer

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 7, 2022

Welcome to the Atlassian Community!

You can't report on what is not there.  Deleted issues and comments are deleted, gone, there's nothing there anymore.

This is why most of us recommend not allowing delete permission to anyone other than admins who understand that delete means delete.

Keyur Makwana April 7, 2022

Yes let me elaborate more. I am connecting Jira software with another application using Scheduler mechanism.

Now I am fetching all the Jira activity to database using this scheduler. Like new comment added or updated.

 

So now how can I get if any admin delete that comment so I can reflect it to my application? 

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 8, 2022

I'm going to have to say I am not sure about this one.  I do not know if Jira fires a "comment deleted" event.  I think it does, but I have not looked.

If it does, then that is the thing to look at, you'll need to write a listener that spots that event and sends data over to your other application.

I can tell you that you can do this for comments being added or edited though, it does fire the right events for that.

Keyur Makwana April 9, 2022

Ok @Nic Brough -Adaptavist- Thank you so much for your quick response. 

Suggest an answer

Log in or Sign up to answer