Details
-
Bug
-
Resolution: Unresolved
-
Medium
-
None
-
1
-
Severity 3 - Minor
-
0
-
Description
Issue Summary
When a project, sprint, or other searchable JQL data contains an ampersand and is included in a board's filter query, clicking on the Looking for an older issue? link on a board will redirect the user to the Issue Navigator results, but the JQL is truncated at the ampersand and returns an invalid query response.
Steps to Reproduce
- Create a Project, Sprint, or other entry that contains an ampersand (&)
- Reference the above entry on the Board Filter Query in a project's Kanban Board
- Example: project = "Project & Ampersand & Others" ORDER BY Rank ASC
- Set a Sub-filter on the board, which then allows you to set the Hide complete issues older than field (ex: set this to 2 weeks)
- Return to the board, and click on the Looking for an older issue? link
- When redirected to the Issue navigator page, the URL is broken at the ampersand because the URL used to search is not encoding the link
Expected Results
The JQL should return as ran in the board's filter query to include the status clicked on from the board column:
Actual Results
The Issue Navigator is displayed, with a syntax error similar to the below:
Error in the JQL Query: The quoted string 'Project ' has not been completed. (line 1, character 13)
The browser's Developer Tools shows this data response for the attempted JQL search:
jql: project = "Project
Ampersand :
Others" AND (fixVersion in unreleasedVersions() OR fixVersion is EMPTY) AND status : "10005" AND NOT (updated >= -2w OR statusCategory != Done) ORDER BY Rank ASC
Workaround
Similar to https://jira.atlassian.com/browse/JRACLOUD-74062, referencing the item's ID (project ID/sprint ID, etc.) in place of the full item name in the board filter query allows the link to work as expected.
Attachments
Issue Links
- mentioned in
-
Page Loading...