REST issue deleted attribute

Hello! 

I cant find in docs, attribute which show what - "issue status deleted" or query param to get NOT deleted issues from project. 

/api/admin/projects/{XXXXX}/issues?fields=  returns all issues and deleted 

I use REST api of YouTrack.

0
1 comment
Official comment

Hello,

 

Thank you for contacting YouTrack support.

 

There is no deleted flag for removed issues, moreover deleted issues shouldn't be listed anymore, but I have to admit that I reproduced the said behavior: requesting issues from projects resources shows all issues even if they are deleted.

If you request /api/issues?fields= removed issues won't be listed.

I have submitted a bug regarding this.

Please let me know if you have further questions.

Please sign in to leave a comment.