Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Filter Results’ Macro does not work for custom fields

Issue

- the Filter Results’ Macro cannot show custom fields

 

To reproduce

1. Create a Jira filter which contains both standard and custom fields

2. In Confluence select and add the Filter Results Gadget URL macro

On the macro

3. Set saved filter to that created in (1)

4. Set width to auto, number of results to 50 and refresh to 15 mins

5. In fields to display select and add some standard fields 

6. Click Save

7. The preview will display results (good)

8. Now add a customer field to the Fields to Display

9. Click Save

 

Bug

1. The preview does not display any results

 

Expected Result

1. The preview should display results when custom fields are selected to be displayed

 

Question

1. How do I show custom fields via the Filter Results macro?

 

5 answers

I am seeing this exact same problem. Choosing system-provided fields works fine, but if I add a custom field, the macro will not save. Ridiculous.

@Angélica Luz I'm seeing the same issue with failure to add a custom field to this gadget, I did not see any console errors posted but I did find this information in the network processing details.

Screenshot 2021-04-12 160207.png

Hello @Ryan Geddings,

Welcome to Atlassian Community!

I checked the network tab while adding the fields to the gadget, but it didn’t show the same as your screenshot. 

Are you facing the same issue as the bug below or is it a different behavior?

Screen Recording 2021-04-13 at 10.03.20 AM.gif

Kind regards,
Angélica

Angélica,

No, my issue is specific to the request above. It only occurs when trying to add a custom field. On a side note, in the video you posted above, the actual behavior I am seeing when adding a field and selecting the save button, does not match the behavior your video shows. 

  • Correct Behavior
    • When you add a base field to the widget and select the internal save button on the widget settings, a loading bar appears and then the widget reappears, allowing you to select the external save button on the widget control.
  • Incorrect behavior (What I'm seeing and what your video appears to show)
    • When you add a custom field to the widget and select the internal save button on the widget settings, there is no change, sometimes a console or network error will appear but it is inconsisten. The only consistent behavior is that the loading bar doesn't appear and when you to select the external save button on the widget control, no changes are populated to the widget.

Thank you for the details, @Ryan Geddings.

 What is the type of custom field you are adding to the macro?

There is a bug related to the Text field and Select list:

If it’s not related to the bug above, please let us know the type of fields you are using so we can test using the same type here.

The field we are using is a Select List (single choice) field. I have indicated on the bug ticket that my company is affected by this bug.

Like Angélica Luz likes this

@Angélica Luz 

same problem with multi select fields. We added a custom field "Deployment Dependencies" working exactly the same way as fix/affectsVersion choosing multiple release version.

Custom multi select field not shown in settings nor preview of JIRA Result Filter.gif

Like Nawat Wanachaweng likes this

JavaScript log:

 

batch.js?feature-jira-classic-jquery-vuln-217984=true&locale=en-US:34 Uncaught Error: Syntax error, unrecognized expression: [value=Deployment Dependencies\[Version Picker \(multiple versions\)\]]
at Function.d.error (batch.js?feature-jira-classic-jquery-vuln-217984=true&locale=en-US:34)
at Function.d.filter (batch.js?feature-jira-classic-jquery-vuln-217984=true&locale=en-US:34)
at d (batch.js?feature-jira-classic-jquery-vuln-217984=true&locale=en-US:34)
at d (batch.js?feature-jira-classic-jquery-vuln-217984=true&locale=en-US:34)
at Function.d.matches (batch.js?feature-jira-classic-jquery-vuln-217984=true&locale=en-US:34)
at Function.filter (batch.js?feature-jira-classic-jquery-vuln-217984=true&locale=en-US:34)
at init.M.fn.<computed> [as children] (batch.js?feature-jira-classic-jquery-vuln-217984=true&locale=en-US:34)
at HTMLDocument.<anonymous> (batch.js?feature-jira-classic-jquery-vuln-217984=true&locale=en-US:4295)
at HTMLDocument.dispatch (batch.js?feature-jira-classic-jquery-vuln-217984=true&locale=en-US:28)
at HTMLDocument.s (batch.js?feature-jira-classic-jquery-vuln-217984=true&locale=en-US:28)

Hi,

I'm also experiencing the same issues as @Tom with a select list multiple choice custom field. Sometimes, trying to add the field will successfully add the field in question into the list but after saving, it will not show up anyway.

Regards,

Nawat

0 votes

Any update? 

Hi Angelica ... 

Thanks for following up; in response to your comments

- this issue happens with any custom fields

-  it is not the same issue as https://jira.atlassian.com/browse/CONFCLOUD-71298 which talks about an intermittent issue'; my issue happens every time I select a custom field

- its not the same as https://jira.atlassian.com/browse/CONFCLOUD-70878; I can see all fields to be added (including custom fields) and I can add the custom fields. 

My issue is once the custom field/s are added and I click the Save button under the Refresh Interval nothing happens - I don't see a preview

Hello Mike,

Thank you for the details.

I was able to replicate this behavior by selecting some random fields. I couldn't save and some errors appear on the console.

Screen Shot 2021-01-28 at 10.41.13.png

Can you please let the developer tools opened on your browser and then follow the steps again to check if some error will appear after you click on Save? Please, share a screenshot of the errors or warnings with us. Just make sure to hide private information.

0 votes

Hello Mike,

Thank you for reaching out to Atlassian Community!

Just for a better understanding of the issue, I would like to know if it happens with any custom fields (that are not system fields) or if it's with specific fields from specific types.

I'm asking because I found two bugs related to the Filter result macro, so I want to make sure if it's related to the ones below or if maybe it's a new one:

Please, take your time to read the details of the bug tickets above and let us know if it's related.

If it's not, please, share with us the details I asked for at the beginning of this answer. 

Regards,
Angélica

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
Community showcase
Published in Confluence

Confluence Mythbusters: Does Atlassian even use Confluence?

Hi, Confluence collaborators! As part of #Confluence-Collaboratory month, we’ve created a very special Mythsbusters segment, where we're dive into an interesting myth and uncover the truth behind i...

1,362 views 7 28
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you