Any way to get a list of recently deleted issues via the REST API?
Answered
I'm sending updates from YouTrack to an ElasticSearch instance, and this is working fine except I can't see how to get a list of deleted issues to remove them from ElasticSearch.
Any clues?
Please sign in to leave a comment.
Unfortunately, there is no such option in REST. But as a workaround I can recommend to catch this event from the workflow and then make http POST.
Thanks for the reply - I've got http POST working fine in a workflow, but I'm currently only getting new issues & updates. How do you capture deletions?
Thanks!
According to this https://youtrack-support.jetbrains.com/hc/en-us/community/posts/115000006430-Workflow-code-To-capture-delete-issue-event
and this: https://youtrack.jetbrains.com/issue/JT-29303
You can't capture delete events at the moment! Any suggestions?
Unfortunately, there is no other option for this action.
Sorry perhaps I am misunderstanding - you said:
> But as a workaround I can recommend to catch this event from the workflow and then make http POST.
Can you tell me how to do that?
Mark, I'm sorry for the confusion. Unfortunately it's not possible to implement this scenario via workflows/REST.
Please subscribe to the feature request you've already found: https://youtrack.jetbrains.com/issue/JT-29303 to be notified of the progress.
Let us know if we can help you any further. Thank you.