Automatically create user type Assets objects from reporters in Jira Service Management Cloud

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

Summary

This article covers how to create user-type Assets objects from work item submitters for future references in Jira Service Management Cloud.

Solution

The solution requires an automation rule to be created. The automation rule structure should be as follows:

Prerequisites: You will need an object type with at least one user attribute type.

Step 1: The automation trigger should be Work item created so that it executes whenever a new work item is submitted.

Step 2: Next, a Lookup objects action is required to search for existing objects based on the submitter's account ID to avoid duplicates. The Assets Query Language (AQL) search can be like: objecttype = 'User" AND "Jira User" = "{{reporter.accountld}}".

Warning

The AQL items highlighted above (User and Jira User) should be filled according to your object type name and object type attributes.

Step 3: Create an Advanced compare condition with the lookup objects action's results. In case an object already exists for the work item's submitters, we don't want to proceed and create a duplicate object, so we will need a step like this: {{reporter,accountid}} does not equal {{lookupObjects.Jira User}}.

Advanced compare condition configured: {{reporter,accountid}} does not equal {{lookupObjects.Jira User}}

Step 4: If the above condition matches, no object has been created for the work item's reporter. Therefore, we can include a Create object as the automation's next step, making the actual user object.

Example of Create object action.

Step 5: The final result will be a new object created.

Updated on May 8, 2025

Still need help?

The Atlassian Community is here for you.