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

Directly using urlEncode(), length(), capitalize() functions with Asset objects' attributes does not return any values

XMLWordPrintable

      Issue Summary

      Directly using urlEncode(), length(), capitalize() functions with Asset objects' attributes does not return any values. These functions can be found on this page.

      Steps to Reproduce

      1. Create a schema and add an object type to that schema.
      2. Add a Text type attribute say 'Attribute' of the object type and create an object.
      3. Create an Automation rule with Object updated trigger.
      4. Print the value of Name and Attribute using Log action: {{object.Name}} and {{object.Attribute}}. Run the rule by updating attribute value. This will show correct result.
      5. Now, print the value of attribute with functions like {{object.Attribute.length}}, {{object.Attribute.capitalize}} or {{object.Attribute.urlEncode}}

      Expected Results

      The values should not be empty

      Actual Results

      The values are empty

      Workaround

      Create a variable and then use {{<variable_name>.urlEncode))

              Unassigned Unassigned
              3033da771e98 Ashutosh Sharma (Inactive)
              Votes:
              11 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: