Uploaded image for project: 'Jira Service Management Cloud'
  1. Jira Service Management Cloud
  2. JSDCLOUD-12733

Automation text functions do not work on the Assets object and field attributes.

    XMLWordPrintable

Details

    • 3
    • 4
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      Summary

      Automation functions don't work on the Assets object and field attributes.

      The text functions will not work with Assets text type attributes (except for the default Name attribute)

      Steps to Reproduce

      1. Add a text attribute to one of the object types and set a value for an object
      2. Create an automation rule to check if the text attribute equals a specific string

      Expected Results

      Able to use the  text functions and the below value returns true or false depending on the attribute value:

       {{issue.AssetsCustomFieldName.AttributeName.equals("Vendor1")}}
      OR {{object.AttributeName.equals("Vendor1")}}

      Actual Results

      The text functions don't work on the Assets text attributes. The below smart value is empty, when it should return true or false:

      {{issue.AssetsCustomFieldName.AttributeName.equals("Vendor1")}} 

      While the below smart value returns the string:

      {{issue.AssetsCustomFieldName.AttributeName}}

      Though these functions work on the default Name attributes of the Assets objects.

      {{issue.AssetsCustomFieldName.Name.equals("Vendor1")}} 

      Workaround

      The following knowledge base article details workarounds for this bug as well as other automation functions impacted in a similar way: Workaround for using smart value functions with Assets data in Automations

      An example use of the workaround mentioned in the article:

      1. Create a variable "textvalue" to store the asset attribute value:
        {{issue.AssetsCustomFieldName.AttributeName}}
      1. Then use the below functions on the variable name:
        {{textvalue.equals("Vendor1")}}

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              skahol Swati Kahol
              Votes:
              8 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated: