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

Automation List functions do not work on the Assets object and field Select List attribute

XMLWordPrintable

    • 5
    • 3
    • 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.

      Summary

      Automation functions don't work on the Assets attributes.

      The list functions will not work with Assets object and field select list attributes

      Steps to Reproduce

      1. Add a List attribute to one of the object types and set a value for an object
      2. Create an automation rule to access the first value in the select list

      Expected Results

      Able to use the  text functions and the below value returns the first value in the list: 

       {{issue.AssetsCustomFieldName.AttributeName.get(0)}}
      OR {{object.AttributeName.get(0)}}

      Actual Results

      The list functions don't work on the Assets Select list attribute. The below smart value returns all the values in the list: 

      {{issue.AssetsCustomFieldName.AttributeName.get(0)}}

      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

      In summary, the Assets smart value can be added to a variable and in this case, using the split function to create a list from that data will allow for list functions to work.

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

              Created:
              Updated: