fabric8-services / fabric8-wit

wit stands for Work Item Tracker
http://devdoc.almighty.io/
Apache License 2.0
45 stars 86 forks source link

Delete trackerquery #2394

Closed DhritiShikhar closed 5 years ago

DhritiShikhar commented 5 years ago

https://openshift.io/openshiftio/Openshift_io/plan/detail/1103

[1] Provides a boolean flag option along with trackerquery deletion

curl -X DELETE  <..>/api/trackerqueries/<trackerquery_id>?delete-wi=true -H "Authorization: Bearer $TOKEN"

[2] If delete-wi is true, all remoteworkitems in the system which were fetched through that trackerquery are deleted

[3] If delete-wi is false, only the trackerquery is deleted. remoteworkitems still remain in the system.