Uploaded image for project: 'Jira Service Management Data Center'
  1. Jira Service Management Data Center
  2. JSDSERVER-11901

Insight custom field values are not populated for IssueType sub-task

XMLWordPrintable

      Issue Summary

      Insight custom field values are not populated for IssueType "sub-task" and this only happens for sub-task and when we open create screen in a new tab.

      Steps to Reproduce

      • Create 2 objectTypes Action and Profile.
      • Here is what the Attributes of Action and Profile ObjectTypes look like -

      • Allow cardinality to be unlimited for the reference profiles.
      • Create 2 Insight custom fields. Say ActionCF and ProfileCF with the type Insight Objects
        • ActionCF displays the objects with objectType Action.
        • ProfileCF displays the objects with objectType Profile.
      • Below is the insight custom field configuration for Action and Profile.
        Action:
        Filter Scope (IQL): ObjectType = Action
        Profile:
        Filter Scope (IQL): ObjectType = Profile
        Filter Issue Scope (IQL): object HAVING inR(key = ${Action})
      1. Create 4 profile objects. Profile1, Profile2, Profile3, Profile4.
      2. Create 2 Action objects Action1, Action2.
      3. In object Action1, add a reference to profile object Porfile1.
      4. In object Action2 add 2 reference objects Profile2 and Profile4.
      5. Create a sub-task from a jira software project from the issue view screen, by selecting More dropdown, and select "Create sub-task". We can see the Insight custom field values are populated for Action and Profile. 
      6. Now, do right-click and open the "create sub-task" option in the new tab, So that the create issue screen comes in a separate tab. Now the values for Profil are not populated.

      Expected Results

      The profileCF values should be displayed in the dropdown when the creation of the sub-task happens in a new tab.

      Actual Results

      The profileCF values are not displayed in the dropdown when the creation of the sub-task happens in a new tab.

      Workaround

      The sub-task creation should happen on the same page instead of the new tab.

        1. Action_Attributes.png
          153 kB
          Sireesha
        2. bandicam 2022-07-26 17-21-24-574.mp4
          3.01 MB
          Sireesha
        3. Profile_Attributes.png
          134 kB
          Sireesha
        4. Sub-task-creation-from-new-tab.png
          44 kB
          Sireesha
        5. Sub-task-creation-from-same-page.png
          51 kB
          Sireesha

              c8bcca445054 Benjamin Suess
              1463fcb5e3fd Sireesha
              Votes:
              3 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: