28 lines
1.2 KiB
Perl
28 lines
1.2 KiB
Perl
#!/usr/bin/env perl
|
|
|
|
@ScripConditions = (
|
|
{ Name => 'On Close With Dependents',
|
|
Description => 'Whenever a ticket is closed and other tickets depend on it',
|
|
ApplicableTransTypes => 'Status',
|
|
ExecModule => 'StatusChangeWithDependents',
|
|
Argument => 'dependents > 0; old: initial, active; new: inactive',
|
|
},
|
|
{ Name => 'On Close Without Dependents',
|
|
Description => 'Whenever a ticket is closed and no other tickets depend on it',
|
|
ApplicableTransTypes => 'Status',
|
|
ExecModule => 'StatusChangeWithDependents',
|
|
Argument => 'dependents == 0; old: initial, active; new: inactive',
|
|
},
|
|
{ Name => 'On Approved With Dependents',
|
|
Description => 'Whenever a ticket is an approval and other tickets depend on it',
|
|
ApplicableTransTypes => 'Status',
|
|
ExecModule => 'StatusChangeWithDependents',
|
|
Argument => 'dependents > 0; new: approved',
|
|
},
|
|
{ Name => 'On Approved Without Dependents',
|
|
Description => 'Whenever a ticket is an approval and no other tickets depend on it',
|
|
ApplicableTransTypes => 'Status',
|
|
ExecModule => 'StatusChangeWithDependents',
|
|
Argument => 'dependents == 0; new: approved',
|
|
},
|
|
);
|