With auto actions, you can automatically update issues based on the conditions you set in filters. Issues will be updated as scheduled. For example, you can invite a lead to comment if the issue hasn't been updated for a long time.
When triggered, the auto action processes only the first 100 issues that meet the specified criteria. Other issues will be processed the next time the auto action is triggered.
Configuring automatic issue updates
In the left-hand panel, click Queues and select a queue.
In the top right corner of the queue page, click Queue settings.
Select Automation in the left-hand panel.
In the top right corner, click Create → Auto action.
Select Issue update as the type of auto action.
Set the name for the auto action.
You can add a description below the name.
Set the Trigger schedule, which is the interval of automatic issue update in hours or days.
To track issue updates, enable the Send a notification every time the trigger fires option.
Select the issues to apply the auto action to:
To have the auto action triggered for issues whose parameters match specific values, select the When the issue meets the condition mode. You can add multiple conditions. The auto action will trigger if all the conditions hold at the same time.
To have the auto action triggered for issues that meet the filter criteria, select the When the issue matches the QL query mode and set the conditions in the line using the query language.
Set a new issue status. Available statuses may vary depending on the workflow settings.
Automations are performed by a service robot named yndx-tracker-cnt-robot@. To enable the robot to update issue statuses:
If certain conditions are set up for status transitions and they restrict user permissions to change a status, add the yndx-tracker-cnt-robot@ robot to the list of users.
If you set up a transition screen for a status update, make sure it does not have required fields.
Updating fields
Set one or multiple issue parameters:
Click Add parameter and select an issue parameter.
To find a local queue field, enter the key of the queue where you want to set up an automation and a period before the field name (for example, DEVS.Tester).
Select an action:
Action
Description
Set value
Specify the parameter value.
Clear field
Delete a parameter value.
Add to list
Add another parameter value (for parameters with multiple values).
Remove from list
Remove a parameter value (for parameters with multiple values).
Set a new value for the parameter.
You can't change the value of the Parent ticket field using an auto action.
Adding comments to issues
Write the comment text that will be added to an issue.
You can insert values of issue fields into the comment text. To do this, click Variables and select one or more values. The comment field will show a sequence like {{issue.<field_key>}}.
The comment is sent on behalf of the user who activates the trigger. If you want a robot to appear as the comment author, enable the Send as robot option.
Calculating a value
You can set up a special field whose values are calculated automatically based on values entered in other fields.
To calculate the field value automatically:
Set a formula for calculating the value:
Click Add variable and add a field formula with numeric values. The formula will include a sequence like {{issue.<field_key>}}.
If the required field is missing from Tracker, you can create one.
You can use mathematical symbols for addition +, subtraction -, multiplication *, and division /.
To set the priority of operations, use parentheses.
To calculate values for date fields, you can use expressions with the today() function. For example, the today()+3d function returns the date that is three days from now.
Click Select a field and set the field you want to put the calculated value into.
If the field supports only integer values, the value will be rounded.
You can use HTTP requests to access the API of other services and set up integrations with them.
To send an HTTP request whenever the automation is triggered:
Select the HTTP request method.
Specify the full URL of the resource to which the request will be sent. For example: http://example.org/newfolder/newfile.
Choose the authorization method:
NoAuth
No authorization.
Basic
You are prompted to enter your username and password.
OAuth 2.0
You are prompted to enter a token, authorization header, and token type.
The authorization data (username, password, token, authorization header, token type) are transmitted in relevant fields and don't require to be re-entered in headers.
Enter the request body.
You can add issue field values or custom variables to the request body. To do this, click to the right of the field and choose the name for the field or value. The request body will include the {{<variable_name>}} sequence.
You can also use variables in the resource URL and header value.
Enter the headers and their values.
Add new variables if you need them in the request body or headers. For example, you can add an authentication key or other secret information.
When you save the trigger, the variable's value is hidden, and you can't look it up later.
When the automation is triggered, Tracker sends an HTTP request. The response can be any HTTP status code.
If no response is received within 10 seconds, or if the response contains code 500, the request will be resent. Each request will be retried up to 5 times, with the delay between attempts increasing exponentially from 10 seconds.