Insight field filter issue scope validation fails on the Portal using ${project.label} or ${project.id}

XMLWordPrintable

    • 1
    • Severity 2 - Major

      Issue Summary

      When using filter issue scope to filter Insight objects using ${project.label} or ${project.id}, Insight objects can be found and selected correctly in Jira and on the Customer Portal, however when trying to submit a request on the Portal a validation error occurs - "Validation failed for Insight object".

      Steps to Reproduce

      1. Create an Insight object type with a text attribute named "Project".
      2. Set the "Project" field for an object equal to the name of a JSM project.
      3. Set up an Insight object custom field and set the filter issue scope to: Project= ${project.label}
      4. Add the Insight custom field to the JSM project.
      5. Go to the Customer Portal for the JSM project > create request screen > search for and select the Insight object from step 2. Notice that search results are correctly filtered to objects with the "Project" attribute set to the JSM project's name. 
      6. Submit the request.

      Expected Results

      The request is successfully submitted.

      Actual Results

      The request fails to submit with validation error: "Validation failed for Insight object" shown on the Insight field. Occurs for both ${project.label} and ${project.id} placeholders.

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

            Assignee:
            Unassigned
            Reporter:
            oli
            Votes:
            7 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: