Uploaded image for project: 'Elements Connect'
  1. Elements Connect
  2. CO-3668

Dependencies to Insight fields do not work on edit / create issue screen

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Done
    • Affects Version/s: 5.14.0, 6.1.1
    • Fix Version/s: 6.1.6
    • Labels:
      None
    • Functional components:
      3rd party
      Dependencies

      Description

      How to reproduce

      • Install Insight
      • Create Insight Object Schema "IT schema"
      • Create 2 Insight Objects:
        • Device 1
        • Device 2
      • Configure an Insight custom field (of type Insight Object/s) named "device"¬†(let's say its id is 10800)
      • Configure a Live - Text Connect field "issues related to same device"
        • Datasource: Jira JQL
        • Query: device = "$issue.customfield_10800"
        • Display: summary
      • Create few issues, set the Insight field value
        • 2 issues with device = Device 1
        • 2 issues with device = Device 2
      • Create an issue (Insight and Connect field must be on screen)
        • Select "Device 1" in the Insight field

      Current result

      The Connect field is empty (apparently the dependency is not correctly resolved)

      Request payload of the REST call to Connect API:

      {
         "customFieldId":"customfield_10801",
         "userInput":"",
         "view":"EDIT",
         "fieldContext":{
            "issueCreateProjectId":"10000",
            "issueCreateIssueTypeId":"10002"
         },
         "formData":{
            "customfield_10800":[
               "IS-2"
            ],
            "customfield_10801":[
               "{}"
            ]
         },
         "startIndex":0
      }
      

      Expected

      "issues related to same device" Connect field is filled with issues which device Insight field is "Device 1"

      Note

      Works when

      • the connect field is inline edited
      • from the configuration tester

      Workaround

      Inline edit the Connect field (workaround not suitable for every scenario)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              christophe.prome@valiantys.com Christophe Promé
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: