Automate Reporter Assets Field in JSM Cloud

Platform Notice: Cloud Only - This article only applies to Atlassian products on the cloud platform.

Summary

Learn how to auto-populate the Assets object field based on the "Reporter" field of the ticket.

Solution

To populate the Assets object custom field based on the "Reporter" of the ticket, you need to configure an Automation rule, where you can use the Edit Issue action to achieve your use case by using an AQL query such as:

1 "<user-type-attribute-name>" = {{reporter}}

First, we need to set up a "User" type attribute on your Assets object:

  1. Select Assets in the top navigation bar and select the relevant object schema.

  2. Select the relevant object type and select Attributes.

  3. Add a new attribute with the type "User".

You should now be able to link users to this attribute. You can link both Atlassian accounts and portal-only accounts.

For this automation to work, the "User" type attribute created above must be populated with the reporter's account. 

After setting up the object type attribute and the Assets object field, create an automation rule as follows:

  1. Go to Project Settings > Automation.

  2. Click on Create Rule.

  3. Create a rule with the following structure:

    • Trigger: Issue Created.

    • Action: Edit Issue.

      • Select the Assets Object Field that is used to display objects assigned to users.

      • Set it up with the IQL below, but replace 'Owner' with the name of the attribute you created previously:

1 "Owner" = "{{reporter.accountId}}"
  • Save and publish the automation rule.

After publishing the rule, the Assets object field will be automatically populated with the assets assigned to the reporter of the ticket right on its creation.

For more examples about fetching Asset objects based on single or multi-user type custom fields or vice versa, refer to this article: Auto-populate approvers from Asset objects attributes.

Updated on April 29, 2025

Still need help?

The Atlassian Community is here for you.