Automating recurring actions
You can automate common actions related to Tracker issues using triggers, auto actions, and macros. You can update issue parameters based on events, either periodically or on a command, as well as create new issues by schedule.
Let's look at some examples of how you can automate certain actions in Tracker:
Picking assignees automatically
If a certain issue falls under the responsibility of a specific employee, you can automatically make them an assignee for that issue using triggers. When the conditions are met, the trigger automatically updates the issue parameters.
For example, the QA engineer should start testing a new product feature once the developer changes the issue status to Ready for Test. To automatically assign a tester as an issue assignee, set up the trigger as follows:
-
Trigger conditions: the issue status changed to Ready for Test.
-
Trigger action: specify the QA engineer name in the Assignee field.
Let's take another example, when one developer focuses on the server part of your product, and another developer works on its client part. Whenever any new errors relating to the server or client part arise, you can automatically set the responsible developer as an assignee using components and triggers:
-
In your queue, configure the components that refer to the Server and Client sides of the product. When creating a new error, add a relevant component to it right away.
-
Set up a trigger for server part errors:
-
Trigger conditions: the value in the Components field changed to Server.
-
Trigger action: specify the server side developer name in the Assignee field.
-
-
Set up a similar trigger for errors in the client part:
-
Trigger conditions: the value in the Components field changed to Client.
-
Trigger action: specify the client side developer name in the Assignee field.
-
For a detailed example of how to set up a trigger, see Picking assignees automatically.
Reminding the assignee about the deadline
To make sure that your assignees adhere to deadlines, you can send them reminders using automatic actions. An automatic action triggers automatically and updates the parameters of issues that meet your criteria.
Say, for example, that you need to check all issues in your queue once a day. If the issue is still pending, and the date specified in the Deadline field occurs in less than three days, you should update the issue with a comment and invite the assignee. For this, set up the following automatic action:
-
Auto action type: Issue update.
-
Frequency: Once per day.
-
Filter parameters: a query written using the query language:
Resolution: empty() AND Deadline: <= today() + 3d
-
Issue action: send a comment and invite the user specified in the Assignee field.
For a detailed example of how to set up auto actions, see Auto update example.
Creating recurring issues
If you need to create issues by a template from time to time, you can use actions for this. For example, every week you can create an issue for data backup.
For this, set up the following automatic action:
-
Auto action type: Issue creation.
-
Frequency: Once a week on Fridays.
You can set the start and end dates of the interval within which the issues will be created automatically. It's no such interval is set, the issues will be created indefinitely.
-
Queue action: Create an issue. Fill in the fields of the automatic issue creation template.
For a detailed example of how to set up auto actions, see Auto update example.