Build simple Assets automation rules
15 min
By the end of this lesson, you’ll be able to:
- Explain some of the uses and benefits of Assets automation
- List the building blocks of automation rules
- Configure automation rules
- Enhance automation rules with smart values
- Trigger automation from Assets objects
Use automation to tackle manual repetitive tasks
Jira Automation empowers you to focus on the work that matters, removing the need to perform manual, repetitive tasks by allowing your teams to automate their processes and workflows. Using a simple rule builder, you can configure powerful automation rules to handle even the most complex scenarios.
Assets Automation enables a Jira admin or service project admin to create rules that can automatically perform actions (like notifying users) based on specific events (such as updating an object) for all objects or groups of objects in a schema.
👇Click the boxes to learn more about examples of automation for different types of object schemas.
Use Jira Automation with Assets
Assets automation is integrated into Jira Automation, so all Assets related triggers, conditions, and actions are part of the Jira automation environment. Assets related triggers are configurable in global settings, but automation configuration can be delegated to service project admins.
👇Watch this video to see how to create an automation rule.
Components of an automation rule
Assets automation is configured by creating automation rules. The process is identical to using Jira Automation with Jira or Jira Service Management. An automation rule has three core components:
- Triggers
- Conditions
- Actions
👇Click the boxes to learn more about these components.
👇Watch this video to see how to automate changing an object’s status.
Use variables in your automation rules
Smart values enable you to access and manipulate issue data within Jira. They behave like variables and can add significant power and flexibility to your rules.
Smart values:
- Wrap the value in double curly brackets: {{value}}
- Use a period to reference child elements: {{issue.key}}
👇Click to expand and learn about several commonly used smart values.
Trigger automation from Assets objects
Assets automation rules can be triggered by actions on an Assets object and scheduled jobs that perform automated actions.
👇Click to expand and learn more about triggering automation rules.
Let’s explore an automation use case
We want to automatically add an approver to an issue depending on the Business service selected in the ticket. Specifically, set the Approvers field to the service owner.
The schema configuration contains a Business Service object type that contains a user attribute for Service Owner.
👇Click the boxes to see how to configure the automation rule.
👇Watch this video to see how to trigger automation on ticket creation.