Setting up regular reminders
For your employees to be able to easily submit a vacation or sick leave in advance, create a queue and a request form and configure request status auto checks with a reminder to be sent to the HR staff should they fail to start processing the request on time.
Create a queue
- Create a queue using the Staff management template.
- Give it a name, e.g.,
Vacations Queue
. - Set up a workflow for the
Vacation
issue type. - Create additional issue types and workflows if needed.
Set up a request form
Create a form
- In the panel on the left, click
Create issue. - Under Try Yandex Forms for creating issues, click Create form.
- Create a new form:
- Name it
Vacation request
. - Add a description, e.g.,
Form for vacation requests
. - Click Continue.
- Name it
- Wait for the page to load and click Yandex Forms full version.
- Create a request form, e.g., with the following fields:
Full name
(short text, required field).Department
(short text, required field).Vacation type
(drop-down list, required field). Add options to the list, such as:Paid vacation
Unpaid leave
Maternity leave
Sick leave
Start
(date, required field)End
(date, required field)
- Add other fields if needed.
Set up integration with Tracker
- Click Configure integrations and wait for the page to load.
- In the Issue type field, select
Vacation
. - In the Header field, click
and select Response. In the dialog box that opens, select Vacation type in the Question field and click Save. - In the Description field, click
and select Responses. In the dialog box that opens, click Select all and choose Formatted in the Response formatting field. Click Save. - Click Add issue parameters and select the Deadline option using the search field.
- Use the Deadline field to add an answer to the
Start
question. - Click Save to save the form.
- Return to the form builder by clicking To builder at the top of the page.
- Click Publish and copy the link to the form in the dialog box that opens.
- Return to the
Vacations Queue
settings and click Form integration. - Click Add form and fill out the form that opens pasting the link you copied earlier into the Link to form field.
- Click Save to save the form integration.
Set up an auto action
Tracker has the auto actions feature to perform regular actions in a queue. Use an auto action to set up regular checks of the Vacations Queue
for requests that work is not started on yet. To avoid overloading the employees responsible for registration of vacations with reminders, configure them to be sent once a day and not earlier than two weeks prior to the vacation start date specified in the request.
-
Return to the
Vacations Queue
settings and click Auto actions. -
Wait for the page to load and click Create auto action.
-
In the Auto action type field, enable Issue update.
-
In the Name field, enter a name, such as
vacation_warning
. -
In the Update once per field, set the update frequency to once a day (for testing purposes, once an hour is recommended).
-
Under Filter settings, select Query and use the query language:
Deadline: <= today() +14D Status: New
The condition will trigger for an issue with a vacation start date occurring within the next two weeks and which is still in the New status.
-
Under Issue actions, click Add new action and select Add comment.
-
Click the invite to comment button and, in the Invite to comment line, add employees responsible for vacation registration.
-
In the comment field, add the following text:
Vacation is not registered! Deadline: "{{issue.dueDate}}".
-
To save an auto action, click Save.
Test the auto action
- On the issue creation page, select Never in the Allow issues to be created without a form field at the top right.
- Click the
Vacation
widget. - Fill out the form. In the Start field, specify a date that is a week from now.
- Submit the form.
- Make sure that, after the deadline specified in the auto action, the comment you set previously appears in the issue.