Table of Contents

Assets search gives the possibility of enhanced search, visibility, and selection of Asset objects in Assets custom fields from the Customer Portal. After configuration, the Asset search field will be added to the customer portal on the request creation page. See Asset search configuration and Assets search on the Customer Portal below for the user guide.

Before configuring the Asset search field, you need to establish a connection with Assets.

You need to have a Jira Service Management Premium or Enterprise license to use this feature!

Connection to Assets

When you navigate to the Asset search in the app configuration page after the installation of the app, you will see the notification that the connection with Assets is not established:

image-20250209-171728.png

Go to “General Settings / Assets search” to configure connection with Assets:

image-20250209-171819.png

Click the “Configure now” button and fill in the Email and API Token fields:

image-20250118-181511.png

When fill both fields in, the “Save Configuration“ button will be enabled and if the credentials are correct, you will see the success message:

image-20250118-182014.png

You can refresh the connection status by clicking the “Refresh status“ button.

If the credentials are incorrect, you will see the corresponding notification:

image-20250118-182205.png

When the connection is successful, you can go to the “Assets Search” in the left sidebar to configure the Asset search field.

You can also delete the connection by clicking the “Delete configuration” button after clicking the “Edit Configuration” and by confirming the deletion in the confirmation popup:

image-20250119-202331.png

Asset search configuration

The Better Search in Customer Portal does not create Assets custom field and it should be created and configured with JSM native functionality to be displayed on the Customer Portal. In the Jira custom field configuration, you need to select the object schema, where the search field will search the objects and the attributes that need to be searched and displayed. See the following link for the instructions: Set up the Assets objects custom field | Jira Service Management Cloud.

To configure the Asset search field, you initially need to connect to Assets. If the connection is not configured (for example after the initial installation of the app), you will see the corresponding notification:

image-20250209-171728.png

To configure the connection with assets, see the instructions above.

After the connection is successful, you can start configuring the Asset search field by clicking “+Add Asset search field“ button and defining the parameters.

image-20250209-172220.png

The corresponding Assets custom field should be initially created and configured in Jira!

After all the mandatory fields are filled, you can add another Assets field by clicking the “+Add another field“ button or click the enabled “Save Configuration“ button to save the field:

image-20250219-170112.png

If you decide to add another field, a new section will appear with the same fields (if the mandatory fields are not filled, the section will be red):

image-20250219-170233.png

Clicking anywhere on the field box will expand the fields that need to be filled.

You can rearrange the order of the fields either by drag and drop or by the arrows on the left side of the section:

image-20250219-170436.png

To delete the section, use the “delete“ icon on the right side of the section. You will see the confirmation popup:

image-20250314-083550.png

You can add up to 20 Asset fields (i.e. sections) in one Asset search field!

Cascading Assets fields

Using the application and the Assets custom field configuration, you can create Cascading Assets search fields, with the ability to be hidden or have a default object selected.

Let’s assume you have an object schema “Global” with countries (Object Type: “Country“) and corresponding cities (Object Type: “City“). The City Object Type has a reference attribute to the Object Type Country.

Let’s say you have various Request Types dedicated to certain countries and you need that when the customer opens a ticket of a certain Request Type, only cities in that country be shown in the Cities field.

To achieve this, you need to:

  1. Create an Assets custom field “Country“ with the following Filter Scope (AQL):

    1. obectType = Country

  2. Create an Assets custom field “City“ with the following Filter Scope (AQL) and Filter issue scope (AQL):

    1. Filter Scope (AQL): objectType = City

    2. Filter issue scope (AQL): object HAVING outboundReferences(objecttype = Country AND objectId IN (${customfield_10182${0}}))

      1. where customfield_10182 is the ID of the Country custom field

  3. Create Request Types for countries (e.g. “Request for USA offices“)

  4. Go to the Better Search app, create an Asset search field, and define the Project and the Request Type for a certain country.

  5. In the Assets Display Settings, add 2 fields:

    1. For Country

      1. Fill the mandatory and optional fields (if needed): Display name, Placeholder, and Description.

      2. Select the “Country” custom field in the Linked Jira Asset Field.

      3. Select an attribute in the “Display and search across these attributes in the custom field” (e.g. Label)

      4. Select the default response for the Request Type (e.g. USA)

      5. Toggle the “use Default response and hide from portal“ on.

    2. For City

      1. Fill in the mandatory and optional fields (if needed): Display name, Placeholder, and Description.

      2. Select the “City” custom field in the Linked Jira Asset Field.

      3. Select an attribute in the “Display and search across these attributes in the custom field” (e.g. Label)

      4. Leave the default response empty.

      5. Leave the “use Default response and hide from portal“ toggle off.

      6. Toggle “Required“ if needed.

  6. Save configuration.

See the following Atlassian instructions for the Using Assets Query Language (AQL) syntax.

As a result, while creating a request in the “Request for USA offices” request Type, the customer will see only one Asset field (City) with the cities related to the USA Object Type:

image-20250219-182314.png

You can add up to 20 cascading fields with various relations between each other.

When the field is added, you can see it in the list under “Assets search” from the left menu:

image-20250314-084609.png

From here you can view the name and status of the field and the user who created it. You can go to the configuration of the field by clicking the “Edit“ button, or delete the field by clicking the “Delete“ button. You will see the confirmation popup and the notification in the bottom left corner of the screen when the field is successfully deleted:

image-20250314-084754.png

Assets search on the Customer Portal

The Better Search in Customer Portal does not create Assets custom field and it should be created and configured with JSM native functionality to be displayed on the Customer Portal. In the Jira custom field configuration, you need to select object schema, where the search field will search the objects and the attributes that need to be searched and displayed. See the following link for the instructions: Set up the Assets objects custom field | Jira Service Management Cloud.

When the Asset search field is configured, you will see the field in the request create page and can search and view object details according to the configuration:

image-20250118-211848.png

Even if not selected in the configuration, the Label attribute and the object key will always be visible in the Assets Info Sheet.

For the customer users, the object icons cannot be visible due to the permission limitations. The customer users will see the default object icons:

image-20250315-191621.png

By checking the checkbox, you can select the object(s) in the field:

image-20250118-211936.png

After creating the request, the Asset field will be filled with the selected objects.

If the “Field can store multiple objects“ toggle is NOT on in the configuration, you will be able to select only one object (you will see radio buttons instead of checkboxes):

image-20250119-174915.png

If the object attribute name is too long, you will see the full name while hovering the name with the mouse.

If you select the “Required“ checkbox in the configuration, you will not be able to create a request without filling in the field. You will see the corresponding message:

image-20250119-175652.png

After the successful creation of the request, the Asset custom field will be filled with the selected Assets object(s). You can view the selected Assets objects in the registered request and also view the details of the selected object by clicking the downward arrow along the object:

image-20250309-200158.png

If the “Copy to Summary” option was selected, upon creating the request, the selected object names will be copied into the Summary, separated with commas:

image-20250119-181412.png

To remove the view of the objects in the ticket, please delete the corresponding Linked Jira Asset Field from the app configuration (see the “Assets Display Settings” above). Unless the linked Jira Asset field is removed from the configuration, the selected object(s) will be visible in the request even if the field is removed from the corresponding screen in the Jira configuration.