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

Service Owners display an ID instead of the team name on assets fields and also returns incorrect Team ID for the service owners attribute under object activity

XMLWordPrintable

      Issue Summary

      When the Service Owners attribute is used as the Display attribute for an Assets field, the Opsgenie team ID is shown instead of the team name.

      This also affects the smart value below when using the lookup objects to search for a service:

      {{lookupObjects.Service Owners}}
      • Where we have noticed that is returns another ID instead of the Team ID 

      This is affecting sites migrated to the assets' new architecture.

      Steps to Reproduce

      1. Create an assets field referencing the services schema.
      2. Add the Service Owners as the display attribute.
      3. Add the field to a request type.
      4. Open the field options on the work item view.

      Expected Results

      It should show the team names and the correct team ID that we see in the URL should return in the object activity

      Actual Results

      It shows the Opsgenie team ID:

      The team ID returned is different than the actual team ID showing in the URL

      Workaround

      For the issue, where object activity shows incorrect ID, we can use the following workaround to get the correct Team ID:

      • We can use the send web request action in the automation with Get object endpoint
      • In the response, inside the opsgenieTeam value we have URL paramerter containing the correct team ID
      • Use the below smart value to get the URL:
        • {{webResponse.body.attributes.objectAttributeValues.opsgenieTeam.url}} 
      • Store the value in a variable
      • Now we need to remove all the strings before and after the team ID using the following smart value:
        • {{variableName.substringAfter("teams/").substringBefore("]")}} 
      • Now you will get the correct Team ID which can be used for subsequent actions

        1. image-2025-07-01-15-47-30-963.png
          42 kB
          Nataniel Rocha
        2. image-2025-09-08-12-31-18-597.png
          69 kB
          Neha Mahajan

              0175169b076e Akanksha Mishra
              877ac19b0be8 Nataniel Rocha
              Votes:
              17 Vote for this issue
              Watchers:
              12 Start watching this issue

                Created:
                Updated: