Details
-
Bug
-
Resolution: Fixed
-
High
-
6.13.4, 6.13.10, 6.15.1, 6.15.4, 6.15.6, 6.15.8, 6.15.9, 7.0.4, 7.2.2, 7.3.5
-
24
-
Severity 2 - Major
-
116
-
Description
Issue Summary
When editing the Jira Filter Results macro, the "fields to display" are unable to be edited. They are unable to be removed or sorted.
Steps to Reproduce
- Use a Confluence instance with an application link to Jira.
- Create a new page and add the Jira Filter Results macro.
- Select the macro and click on Edit.
- In the preview pane, at the bottom of the list, click on the cogwheel icon and then Edit.
- Attempt to
- Remove a field from the list of Fields to display, by clicking on the bin icon.
- Reorder a field
Expected Results
The field is removed / reordered from the list.
Actual Results
Nothing happens, the field stays in the list.
Check the attached video DeleteField-FilterResultsMacro.mp4 for a recording of the issue's reproduction.
Resolution
Upgrade Jira to the upcoming Jira 8.14 release.
Workaround
It is possible to remove and reorder fields using an additional plugin from Atlassian Marketplace called 'Source Editor'.
- In the Confluence user interface, select 'Confluence Administration' from the top right, then 'Manage Apps'
- Click 'Find new apps', and in the search box type in 'Source editor'.
- In the search results, find this one :
(You can also find it in the Atlassian Marketplace - source editor)
Click 'install' - Wait a few seconds and close the popup that says it's installed
- Load the Confluence page with the problematic macro on it
- Edit the page (but don't click 'edit' on the macro)
- In the top right corner, click on the '<>' icon (Mouseover will show 'Open in source editor')
- The example below shows the default columns, plus a new one that I added 'Created': Type, Key, Priority, Summary, Created.
- The macro block itself is within the <ac:structured-macro> tag:
<p>'Filter Results' macro added from Jira:</p> <p> <ac:structured-macro ac:macro-id="7a4a1ab1-3113-432d-8158-904056e9d433" ac:name="gadget" ac:schema-version="1"> <ac:parameter ac:name="filterId">filter-10002</ac:parameter> <ac:parameter ac:name="isConfigured">true</ac:parameter> <ac:parameter ac:name="preferences">filterId=filter-10002&num=10&columnNames=issuetype%7Cissuekey%7Cpriority%7Csummary%7Ccreated&isConfigured=true&refresh=false</ac:parameter> <ac:parameter ac:name="columnNames">issuetype|issuekey|priority|summary|created</ac:parameter> <ac:parameter ac:name="num">10</ac:parameter> <ac:parameter ac:name="refresh">false</ac:parameter> <ac:parameter ac:name="url">http:/testmachine.atlassian.com:8080/jira/rest/gadgets/1.0/g/com.atlassian.jira.gadgets:filter-results-gadget/gadgets/filter-results-gadget.xml</ac:parameter> </ac:structured-macro> </p>
- Using the source editor, remove or rearrange the fields/columns that you wish to remove or rearrange from the macro. For example, to remove the 'Created' field, we just need to change the two lines that reference it, changing:
<ac:parameter ac:name="preferences">filterId=filter-10002&num=10&columnNames=issuetype%7Cissuekey%7Cpriority%7Csummary%7Ccreated&isConfigured=true&refresh=false</ac:parameter> <ac:parameter ac:name="columnNames">issuetype|issuekey|priority|summary|created</ac:parameter>
To:
<ac:parameter ac:name="preferences">filterId=filter-10002&num=10&columnNames=issuetype%7Cissuekey%7Cpriority%7Csummary&isConfigured=true&refresh=false</ac:parameter> <ac:parameter ac:name="columnNames">issuetype|issuekey|priority|summary</ac:parameter>
- Click 'Apply' in the bottom-right corner of the source editor, then 'Update' to save the whole page.
Attachments
Issue Links
- is duplicated by
-
CONFSERVER-58794 can't sort or delete "fields to display" in ‘Filter Results’ JIRA gadget in Confluence
- Closed
- causes
-
CSP-255193 Loading...
- Mentioned in
- mentioned in
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...