mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-12 23:14:18 +01:00
N°9063 - Add missing ev_autoresolve transitions on UserRequest and Incident
This commit is contained in:
@@ -698,6 +698,29 @@
|
|||||||
</action>
|
</action>
|
||||||
</actions>
|
</actions>
|
||||||
</transition>
|
</transition>
|
||||||
|
<transition id="ev_autoresolve">
|
||||||
|
<target>resolved</target>
|
||||||
|
<actions>
|
||||||
|
<action>
|
||||||
|
<verb>SetCurrentDate</verb>
|
||||||
|
<params>
|
||||||
|
<param xsi:type="attcode">resolution_date</param>
|
||||||
|
</params>
|
||||||
|
</action>
|
||||||
|
<action>
|
||||||
|
<verb>SetElapsedTime</verb>
|
||||||
|
<params>
|
||||||
|
<param xsi:type="attcode">time_spent</param>
|
||||||
|
<param xsi:type="attcode">start_date</param>
|
||||||
|
<param xsi:type="string">DefaultWorkingTimeComputer</param>
|
||||||
|
</params>
|
||||||
|
</action>
|
||||||
|
<action>
|
||||||
|
<verb>ResolveChildTickets</verb>
|
||||||
|
<params/>
|
||||||
|
</action>
|
||||||
|
</actions>
|
||||||
|
</transition>
|
||||||
</transitions>
|
</transitions>
|
||||||
</state>
|
</state>
|
||||||
<state id="assigned">
|
<state id="assigned">
|
||||||
@@ -1029,29 +1052,6 @@
|
|||||||
<actions>
|
<actions>
|
||||||
</actions>
|
</actions>
|
||||||
</transition>
|
</transition>
|
||||||
<transition id="ev_autoresolve">
|
|
||||||
<target>resolved</target>
|
|
||||||
<actions>
|
|
||||||
<action>
|
|
||||||
<verb>SetCurrentDate</verb>
|
|
||||||
<params>
|
|
||||||
<param xsi:type="attcode">resolution_date</param>
|
|
||||||
</params>
|
|
||||||
</action>
|
|
||||||
<action>
|
|
||||||
<verb>SetElapsedTime</verb>
|
|
||||||
<params>
|
|
||||||
<param xsi:type="attcode">time_spent</param>
|
|
||||||
<param xsi:type="attcode">start_date</param>
|
|
||||||
<param xsi:type="string">DefaultWorkingTimeComputer</param>
|
|
||||||
</params>
|
|
||||||
</action>
|
|
||||||
<action>
|
|
||||||
<verb>ResolveChildTickets</verb>
|
|
||||||
<params/>
|
|
||||||
</action>
|
|
||||||
</actions>
|
|
||||||
</transition>
|
|
||||||
</transitions>
|
</transitions>
|
||||||
</state>
|
</state>
|
||||||
<state id="closed">
|
<state id="closed">
|
||||||
|
|||||||
@@ -764,6 +764,29 @@
|
|||||||
</action>
|
</action>
|
||||||
</actions>
|
</actions>
|
||||||
</transition>
|
</transition>
|
||||||
|
<transition id="ev_autoresolve">
|
||||||
|
<target>resolved</target>
|
||||||
|
<actions>
|
||||||
|
<action>
|
||||||
|
<verb>SetCurrentDate</verb>
|
||||||
|
<params>
|
||||||
|
<param xsi:type="attcode">resolution_date</param>
|
||||||
|
</params>
|
||||||
|
</action>
|
||||||
|
<action>
|
||||||
|
<verb>SetElapsedTime</verb>
|
||||||
|
<params>
|
||||||
|
<param xsi:type="attcode">time_spent</param>
|
||||||
|
<param xsi:type="attcode">start_date</param>
|
||||||
|
<param xsi:type="string">DefaultWorkingTimeComputer</param>
|
||||||
|
</params>
|
||||||
|
</action>
|
||||||
|
<action>
|
||||||
|
<verb>ResolveChildTickets</verb>
|
||||||
|
<params/>
|
||||||
|
</action>
|
||||||
|
</actions>
|
||||||
|
</transition>
|
||||||
</transitions>
|
</transitions>
|
||||||
</state>
|
</state>
|
||||||
<state id="assigned">
|
<state id="assigned">
|
||||||
@@ -964,6 +987,29 @@
|
|||||||
<target>rejected</target>
|
<target>rejected</target>
|
||||||
<actions/>
|
<actions/>
|
||||||
</transition>
|
</transition>
|
||||||
|
<transition id="ev_autoresolve">
|
||||||
|
<target>resolved</target>
|
||||||
|
<actions>
|
||||||
|
<action>
|
||||||
|
<verb>SetCurrentDate</verb>
|
||||||
|
<params>
|
||||||
|
<param xsi:type="attcode">resolution_date</param>
|
||||||
|
</params>
|
||||||
|
</action>
|
||||||
|
<action>
|
||||||
|
<verb>SetElapsedTime</verb>
|
||||||
|
<params>
|
||||||
|
<param xsi:type="attcode">time_spent</param>
|
||||||
|
<param xsi:type="attcode">start_date</param>
|
||||||
|
<param xsi:type="string">DefaultWorkingTimeComputer</param>
|
||||||
|
</params>
|
||||||
|
</action>
|
||||||
|
<action>
|
||||||
|
<verb>ResolveChildTickets</verb>
|
||||||
|
<params/>
|
||||||
|
</action>
|
||||||
|
</actions>
|
||||||
|
</transition>
|
||||||
</transitions>
|
</transitions>
|
||||||
</state>
|
</state>
|
||||||
<state id="approved">
|
<state id="approved">
|
||||||
@@ -1173,29 +1219,6 @@
|
|||||||
<actions>
|
<actions>
|
||||||
</actions>
|
</actions>
|
||||||
</transition>
|
</transition>
|
||||||
<transition id="ev_autoresolve">
|
|
||||||
<target>resolved</target>
|
|
||||||
<actions>
|
|
||||||
<action>
|
|
||||||
<verb>SetCurrentDate</verb>
|
|
||||||
<params>
|
|
||||||
<param xsi:type="attcode">resolution_date</param>
|
|
||||||
</params>
|
|
||||||
</action>
|
|
||||||
<action>
|
|
||||||
<verb>SetElapsedTime</verb>
|
|
||||||
<params>
|
|
||||||
<param xsi:type="attcode">time_spent</param>
|
|
||||||
<param xsi:type="attcode">start_date</param>
|
|
||||||
<param xsi:type="string">DefaultWorkingTimeComputer</param>
|
|
||||||
</params>
|
|
||||||
</action>
|
|
||||||
<action>
|
|
||||||
<verb>ResolveChildTickets</verb>
|
|
||||||
<params/>
|
|
||||||
</action>
|
|
||||||
</actions>
|
|
||||||
</transition>
|
|
||||||
</transitions>
|
</transitions>
|
||||||
</state>
|
</state>
|
||||||
<state id="closed">
|
<state id="closed">
|
||||||
|
|||||||
@@ -767,6 +767,29 @@
|
|||||||
</action>
|
</action>
|
||||||
</actions>
|
</actions>
|
||||||
</transition>
|
</transition>
|
||||||
|
<transition id="ev_autoresolve">
|
||||||
|
<target>resolved</target>
|
||||||
|
<actions>
|
||||||
|
<action>
|
||||||
|
<verb>SetCurrentDate</verb>
|
||||||
|
<params>
|
||||||
|
<param xsi:type="attcode">resolution_date</param>
|
||||||
|
</params>
|
||||||
|
</action>
|
||||||
|
<action>
|
||||||
|
<verb>SetElapsedTime</verb>
|
||||||
|
<params>
|
||||||
|
<param xsi:type="attcode">time_spent</param>
|
||||||
|
<param xsi:type="attcode">start_date</param>
|
||||||
|
<param xsi:type="string">DefaultWorkingTimeComputer</param>
|
||||||
|
</params>
|
||||||
|
</action>
|
||||||
|
<action>
|
||||||
|
<verb>ResolveChildTickets</verb>
|
||||||
|
<params/>
|
||||||
|
</action>
|
||||||
|
</actions>
|
||||||
|
</transition>
|
||||||
</transitions>
|
</transitions>
|
||||||
</state>
|
</state>
|
||||||
<state id="assigned">
|
<state id="assigned">
|
||||||
@@ -970,6 +993,29 @@
|
|||||||
<target>rejected</target>
|
<target>rejected</target>
|
||||||
<actions/>
|
<actions/>
|
||||||
</transition>
|
</transition>
|
||||||
|
<transition id="ev_autoresolve">
|
||||||
|
<target>resolved</target>
|
||||||
|
<actions>
|
||||||
|
<action>
|
||||||
|
<verb>SetCurrentDate</verb>
|
||||||
|
<params>
|
||||||
|
<param xsi:type="attcode">resolution_date</param>
|
||||||
|
</params>
|
||||||
|
</action>
|
||||||
|
<action>
|
||||||
|
<verb>SetElapsedTime</verb>
|
||||||
|
<params>
|
||||||
|
<param xsi:type="attcode">time_spent</param>
|
||||||
|
<param xsi:type="attcode">start_date</param>
|
||||||
|
<param xsi:type="string">DefaultWorkingTimeComputer</param>
|
||||||
|
</params>
|
||||||
|
</action>
|
||||||
|
<action>
|
||||||
|
<verb>ResolveChildTickets</verb>
|
||||||
|
<params/>
|
||||||
|
</action>
|
||||||
|
</actions>
|
||||||
|
</transition>
|
||||||
</transitions>
|
</transitions>
|
||||||
</state>
|
</state>
|
||||||
<state id="approved">
|
<state id="approved">
|
||||||
@@ -1182,29 +1228,6 @@
|
|||||||
<actions>
|
<actions>
|
||||||
</actions>
|
</actions>
|
||||||
</transition>
|
</transition>
|
||||||
<transition id="ev_autoresolve">
|
|
||||||
<target>resolved</target>
|
|
||||||
<actions>
|
|
||||||
<action>
|
|
||||||
<verb>SetCurrentDate</verb>
|
|
||||||
<params>
|
|
||||||
<param xsi:type="attcode">resolution_date</param>
|
|
||||||
</params>
|
|
||||||
</action>
|
|
||||||
<action>
|
|
||||||
<verb>SetElapsedTime</verb>
|
|
||||||
<params>
|
|
||||||
<param xsi:type="attcode">time_spent</param>
|
|
||||||
<param xsi:type="attcode">start_date</param>
|
|
||||||
<param xsi:type="string">DefaultWorkingTimeComputer</param>
|
|
||||||
</params>
|
|
||||||
</action>
|
|
||||||
<action>
|
|
||||||
<verb>ResolveChildTickets</verb>
|
|
||||||
<params/>
|
|
||||||
</action>
|
|
||||||
</actions>
|
|
||||||
</transition>
|
|
||||||
</transitions>
|
</transitions>
|
||||||
</state>
|
</state>
|
||||||
<state id="closed">
|
<state id="closed">
|
||||||
|
|||||||
Reference in New Issue
Block a user