Uploaded image for project: 'SR for Jira - Development'
  1. SR for Jira - Development
  2. SRJIRA-6736

The behaviours are not working with Asset object(legacy) on JSM portal

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Triage
    • Medium
    • Resolution: Unresolved
    • None
    • None
    • Behaviours
    • None
    • 0

    Description

      Steps:

      • Install Insight - Asset Management
      • Create an Object Schema
      • Create some objects in the created Object Schema
      • Create an Aseets objects field(legacy), configure this field and select the created schema.
      • Make the Insight objects/Asset object field visible on the customer portal screen via Project Settings > Request Types > Edit fields.
      • Create a Behaviour, and add Service Desk mapping to the JSM/JSD project and all request types.
      • Attach the following snippet to the Behaviour Initialiser:
      // Change the customfield_00000 to your Insight objects/Asset object field ID and "HOS-3" to the object key
      getFieldById("customfield_00000").setFormValue("HOS-3")
      

       

      • Open the related customer portal and select a mapped request type, and see if the behaviour is setting the value in the

       

      Expected Outcome

      -The Insight objects/Asset object field value should be set properly.

      Actual Outcome

      -The field value is not set, if the page is refreshed we can see the value being set for a fraction of a second before being set to blank
      (see attached video)

      Intermittent?

      No

      Affected Versions

      Plugin Confluence Browser Java Database 3rd Party App(s)
      -   - -    

      Attachments

        Activity

          People

            Unassigned Unassigned
            sreecharan Sreecharan .
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: