Modifying an Existing Resolution State
You can chance the both the display label and the position of an existing state by using the modify_resolution_state verb.
emcli modify_resolution_state -label="old label of the state to be changed" -new_label="New label for display" -position="New display position" [-applies_to=BOTH]
This verb modifies an existing resolution state that describes the state of incidents or problems. As with the create_resolution_state verb, this command can only be executed by Super Administrators.
You can optionally indicate that the state should apply to both incidents and problems using the -applies_to
option.
Examples
The following example updates the resolution state with old label "Waiting for TT" with a new label "Waiting for Ticket" and if necessary, changes the position to 25.
emcli modify_resolution_state -label="Waiting for TT" -new_label="Waiting for Ticket" -position=25
The following example updates the resolution state with the old label "SR Waiting" with a new label "Waiting for SR" and if necessary, changes the position to 35. It also makes the state applicable to incidents and problems.
emcli modify_resolution_state -label="SR Waiting" -new_label="Waiting for SR" -position=35 -applies_to=BOTH