Details
-
Bug
-
Resolution: Unresolved
-
Medium
-
None
-
10
-
Severity 3 - Minor
-
5
-
Description
Issue Summary
Exporting the data from Jira Service management's assets objects will fail if the filter's AQL contains the ampersand (&) character somewhere in the string
Steps to Reproduce
- Go to an Assets object schema that has some objects
- View an object type and filter the objects in it using AQL that includes an ampersand like in the example:
"Team" = "Test & Test"
- Click in the "Bulk actions" drop-down menu (gear icon), then select"Export objects"
- Select Delimiter, Encoding and Format values then click in "Export"
Expected Results
The save file widget should open allowing the user to select the destination for the file containing the exported data.
Actual Results
The following unhandled error message is thrown in the page:
{"errorMessages":[ "Unexpected end-of-input: was expecting closing quote for a string value\n at [Source: (String)\" {\"iqlSearch\":true,\"iqlParams\":{\"objectTypeId\":\"3\",\"attributesToDisplay\":{\"attributesToDisplayIds\":[\"18\",\"19\",\"14\",\"20\",\"16\",\"17\",\"21\"]},\"page\":1,\"asc\":\"0\",\"orderByTypeAttrId\":\"14\",\"resultsPerPage\":100,\"includeAttributes\":true,\"objectSchemaId\":\"3\",\"iql\":\"\\\"Team\\\" = \\\"Test \"; line: 1, column: 273] (through reference chain: com.riadalabs.jira.plugins.insight.channel.web.api.rest.model.ObjectFiltersEntry[\"iqlParams\"]->com.riadalabs.jira.plugins.insight.channel.web.api.rest.model.ObjectIQLFilterParamEntry[\"iql\"])"],"errors":{}}
Workaround
Currently the only workaround to this issue is by avoid using the ampersand character at the IQL string.
Attachments
Issue Links
- relates to
-
JSDCLOUD-11959 Export fails for assets that are returned by AQL query that contains the plus(+) icon
- Closed
- mentioned in
-
Page Loading...