undo_change
Changes data
Undo one change of a product's history, all of it or none (Product Owners and Admins, once per change). It restores every value the change set, origins included, and answers the undo, itself a change. Refused (conflict, rule in details.rule) when a value it set changed since, the result would break a rule, or it was already undone. To undo what you just did, take the newest change in list_changes with app set to your app.clientId whose createdBy.id is your person's id (both from get_me): others may use the same app.
Set area to one of these:
hierarchy(needsproductId,changeId; optionalexpectedVersion): Positions come back too. Undoing an undo is a redo: it does the change again, and can itself be undone.feedback(needsproductId,changeId; optionalexpectedVersion): Also refused when a topic it would bring back was merged away. An undo can't be undone.
Actions (set area)
hierarchy
- Who can use it
- Admins and the product's Owners
- Hints
- Changes data
- Runs
undo_hierarchy_change- Inputs
productIdstring, requiredFrom
read_productwith actionlistorget_me.changeIdstring, requiredThe change's id, from
list_changeswith the same area.expectedVersionstringOptional: the version you planned from, refused (
conflict) when it changed since: forhierarchytheversionfromget_hierarchy, forfeedbackthemeta.feedbackVersionfrom a feedback read.
feedback
- Who can use it
- Admins and the product's Owners
- Hints
- Changes data
- Runs
undo_feedback_change- Inputs
productIdstring, requiredFrom
read_productwith actionlistorget_me.changeIdstring, requiredThe change's id, from
list_changeswith the same area.expectedVersionstringOptional: the version you planned from, refused (
conflict) when it changed since: forhierarchytheversionfromget_hierarchy, forfeedbackthemeta.feedbackVersionfrom a feedback read.