Automating routine actions in issues
Employees on a probation period perform routine actions whose tracking can be automated.
Set up automatic assignment of the end of the probation period
To have the probation period end date set automatically, create a trigger that will fire when an issue is created:
- In the top-right corner of the
Employment Queue
page, click Queue settings. - On the left-hand panel, select Automation → Triggers and click Create trigger.
- In the Name field, enter a trigger name, e.g.,
probation_setup
. - Under Trigger conditions, select System → Type.
- In the field that appears, select is equal to and then, in a new field next to it, select Probation period (the issue type created previously).
- Add another condition: select Event under Trigger conditions and then select ** Issue Created** in the field that appears.
- Under Trigger actions, select Calculate value in the Add new action field.
- Enter the following formula in the resulting field:
now()+3M
Set up automatic checklist creation
To make sure you do not miss anything important in the course of new employee onboarding, add checklist creation to trigger actions:
- Under Trigger actions, select Create checklist in the Add new action field.
- In the form that opens, click Add item and enter a description of the first item, such as
Assign a supervisor
. - Repeat the steps to add other items to the checklist.
- To save the trigger, click Create.
Set up issue status auto updates
To switch the issue to the next status upon filling in the checklist, create a new trigger:
-
Click Create trigger.
-
In the Name field, enter a trigger name, e.g.,
probation_checklist
. -
Select Checklist and Type → is equal to → Probation period as trigger conditions.
-
Select Change issue status as the trigger action and set a status, such as In progress.
Warning
The issue status will not change if there are fields that must be filled in during transition to the specified status.
For example, the Closed status requires making a comment, so you cannot use it in this action. -
Save your trigger.
Test the triggers
- On the
Employment Queue
page, select an issue of theNew employee
type. - Change the issue status to Accept.
- Make sure the queue now contains all the appropriate sub-issues.
- Open the
Probation period
sub-issue and check that:- The Deadline field shows a date that is three months from now.
- There is a section named Checklist with the appropriate items.
- Select all the checklist items and refresh the page. Make sure the issue status has changed.