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.
Enter a name for the queue. For example: 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 left-hand panel, 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 Next.
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 leave
Unpaid leave
Maternity leave
Sick leave
Start (date, required field)
End (date, required field)
Add other fields if needed.
Set up integration with Yandex 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, select Vacation type in the Question field and click Save.
In the Description field, click and select Responses. In the dialog box, 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.
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.
Click Queue settings in the top right corner of the Vacations Queue page.
Select Automation in the left-hand panel.
In the top right corner, click Create → Auto action.
In the Name field, enter a name for the auto action, such as Vacation reminder. You can add a description below the name.
In the Auto action type field, enable Issue update.
Under Trigger schedule, set the update frequency to once a day (for testing purposes, once an hour is recommended).
In the header of the When the issue matches section, select QL query.
Using the query language, enter the following in the field below:
Deadline: <= today() +14D Status: New
The condition will trigger for an issue with a vacation start date within the next two weeks which is still in the New status.
Under Perform actions, select Add comment to issue.
In the comment section, click Invite and select 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.
Select the widget named Vacation.
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.