Skip to main content
Skip table of contents

Automation Overview

Automation in AssetIT is designed to streamline workflows and enhance efficiency by automating routine tasks. Similar to Jira automation, it allows users to create rules that automatically perform the steps based on specified triggers and actions. This helps reduce manual effort, ensures consistency, and improves overall productivity within asset management processes.

image-20241021-104457.png

Important Notes:

  • Each automation rule in AssetIT can include a maximum of 5 components. This includes triggers, actions, and conditions.

  • Only the rule owner has the ability to edit an automation rule. App Admins, meanwhile, will be able to create new rules, or delete existing rules.

Components Explained

image-20241020-071029.png Trigger

A trigger is an event that starts the automation process. It defines the conditions under which an automation rule is activated. For instance, triggers can activate when an asset is checked out, when an issue is assigned, or when a scheduled due date approaches. By defining these events, you can automate responses and streamline workflows efficiently.

List of Triggers in AssetIT:

To customize rules related to issues (e.g., Issue Assigned, Issue Transitioned), ensure you select a project for which you are an admin.

  • Issue Assigned:

    • This trigger will be activated when an issue in the selected project is assigned.

    • From the dropdown menu, select the project where you want the automation rule to apply.

image-20241022-035543.png
  • Issue Transitioned:

    • This trigger will be activated when an issue changes from one to another status within the selected project.

    • Required information:

      • Project:

        • Enter the name or key of the project where the rule will apply.

        • Note: You must be a Jira project admin to select a project.

      • From Issue Status:

        • Select the current status of the issue (e.g., In Progress) that it is transitioning from.

      • To Issue Status:

        • Select the new status that the issue will change to (e.g., Done).

image-20241022-080128.png
  • Due Date & Expiration:

    • This trigger will activate when a scheduled event is approaching or overdue by a specified number of days.

    • Required information:

      • Resource Type:

        • Choose the type of resource that will be affected by the rule. You have two options: Asset or License.

      • With:

        • Based on your selection of resource type:

          • If you select Asset, the "With" field will show "Expected Checkin."

          • If you select License, the "With" field will provide options for "Expiration Date" or "Termination Date."

          • Number of Days / Days Overdue / Days to Expiry / Days to Terminate:
            Enter a number to specify how many days in advance the trigger should activate. This number determines how soon before the due date or expiration date the action will be executed.

image-20241020-070859.png

image-20241020-071106.png Action

An action is what happens as a result of a trigger being activated. It represents the task that will be performed automatically when the conditions of the trigger are met.

List of Actions in AssetIT:

  • Checkout resources linked to a Jira issue:

    • When this action is triggered, the system will automatically check out the selected resource type to the specified user (either the assignee, reporter, or a user of your choice) associated with the linked Jira issue.

    • Required information:

      • Resource Selection: you can choose from different resource types to check out, including:

        • Asset

        • Accessory

        • License

        • Consumable

      • Checkout To: Specify who the resource will be checked out to by selecting from the following options:

        • Issue Assignee: The person assigned to the Jira issue.

        • Issue Reporter: The person who reported the issue.

        • User: Any designated user in the system.

image-20241022-062623.png
  • Update Asset Status:

    • This action automatically updates the status of assets linked to the Jira issue.

    • Required informtion:

      • Change Asset Status To: Select the new status you want to assign to the asset linked to the Jira issue from the dropdown menu. This status reflects the asset's updated state in response to the change in the issue.

image-20241027-104117.png
  • Create a Jira Issue:

    • Generate a new issue within the selected project.

    • Required Information:

      • Project:

        • Enter the name or key of the project where the new issue will be created.

        • You must be a Jira project admin to select a project.

      • Issue Type: Select the type of issue you want to create from the dropdown menu (e.g., Bug, Task, Story).

      • Summary: Provide a brief summary of the issue.

      • Description: Enter a detailed description of the issue.

      • Assignee: Optionally, specify who the issue will be assigned to by entering a name.

image-20241020-072842.png

Smart Values {}

Smart Values allow you to dynamically insert information into your Jira issue. By clicking on the Smart Values button (denoted by {}), you will see a dialog that shows compatible smart values based on your rule as well as all available smart values.

  • Compatible Smart Values: These are values that can be used in the context of your current rule and provide relevant information based on the trigger or action you are configuring.

  • All Smart Values: This option lists all available smart values, which can be used for various purposes across different triggers and actions.

image-20241022-095109.png
  1. Overdue/Expiration Resource Smart Values: provides specific details regarding resources that are checked for overdue or expiration statuses. Here are the four key smart values related to this functionality:

    1. Overdue/Expiration Resource - Name

      • Smart Value: {{expirationResource.name}}

      • Description: This smart value returns the name of the resource (assets or licenses) that will be overdue, expired, or terminated.

      • Example: If the resource is an asset named ‘Laptop,' this smart value will display the asset’s name.

    2. Overdue/Expiration Resource - Days to Expiry

      • Smart Value: {{expirationResource.daysToExpiry}}

      • Description: This smart value returns the number of days remaining until the resource expires, becomes overdue, or being terminated.

      • Example: If a license will expire in 5 days, this smart value will display '5.'

    3. Overdue/Expiration Resource - Field

      • Smart Value: {{expirationResource.resourceField}}

      • Description: This smart value returns the field name of the resource that will be overdue, expired, or terminated.

      • Example: If the resource is an asset with an 'Expiration Date' field, this smart value will display 'Expiration Date.'

    4. Overdue/Expiration Resource - Resource Type

      • Smart Value: {{expirationResource.resourceType}}

      • Description: This smart value returns the type of resource that will be overdue, expired, or terminated.

      • Example: If the resource is categorized as an asset, this smart value will display 'Asset.'

image-20241027-104040.png
  1. Creator{{creator.displayName}}: is used to reference the user who created the rule. This can be particularly useful in automating notifications or including creator details in the issue description or summary.

image-20241027-103940.png

Compatible Actions for Each Trigger

Below is a list of compatible actions for each trigger type, ensuring that users can effectively create automation rules that work together seamlessly.

Trigger

Compatible Actions

Due Date & Expiration

image-20241024-093116.png Create a Jira Issue

Issue Assigned

image-20241024-093014.png Checkout resources linked to the Jira issue

image-20241024-093050.png Update asset status

image-20241024-093113.png Create a Jira issue

Issue Transitioned

image-20241024-093044.png Update asset status

image-20241024-093022.png Checkout resources linked to the Jira issue

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.