Decision Report Marco Doesn't Work
Asked by Jeff Edwards:

When attempting to add the decision report macro I get the following error.

Error rendering macro 'decisionreport' : Could not parse cql : null and hasDecision="true" order by title

However, if a use a filter to target things created within the past week it works or if I target an single page.

Why is this the case? What is wrong with the macro?


Answers:
author: Shannon S
body: Hi [@Jeff Edwards](/t5/user/viewprofilepage/user-id/4467364) [@David.Taylor](/t5/user/viewprofilepage/user-id/4510124) and [@Liam Green](/t5/user/viewprofilepage/user-id/3084048),

Thank you for all your help on this case. I see the ticket that Jeff raised with Atlassian Support resulted in the following bug report:

* [CONFCLOUD-72588](https://jira.atlassian.com/browse/CONFCLOUD-72588) *Decision report macro doesn't display any results until a filter is selected*

In the meantime, you will need to add a filter to the macro.

If anyone counters this same bug, please click "**This affects my team**" on the bug ticket above to add your report.

Thanks again, and take care!

Shannon


author: David.Taylor
body: This is definitely still an issue, I'm having the same symptoms as those above.


author: Liam Green
body: Hi [@Jeff Edwards](/t5/user/viewprofilepage/user-id/4467364)

Welcome to the Community!

Are you still having an issue with this? Have you restarted your machine, tried a different browser and tried a different machine?

Thanks,

Liam

comments: author: Jeff Edwards
body: Hello Liam,

Yes, this is still an issue. Using Chrome on a Windows PC.


author: Strak
body: I had the same issue - the macro doesn't work until a filter is applied.  

For example I can't have a report of all decisions in the current space (the default filter) unless I apply a filter (e.g. with parent Current Page).  

<br />

**Default report filter**   
![dreport no filter.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/154081iE231179FE03D6434/image-size/large?v=v2&px=999 "dreport no filter.PNG")  

**Gives this error**   
![decision report error.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/154082iCF2F4525784681CD/image-size/large?v=v2&px=999 "decision report error.PNG")


author: Liam Green
body: Hi [@Jeff Edwards](/t5/user/viewprofilepage/user-id/4467364) [@Strak](/t5/user/viewprofilepage/user-id/2828007)

I was able to replicate this, and I think I have solved it

If you click on the pencil to edit the decision report, then click on the preview button

![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/154156i0612337B6AEE5CA2/image-size/large?v=v2&px=999 "image.png")

That then showed me the decision.

I also click on the 'show' button next to options, and clicked 'add a filter' but didn't add one.

Does the above work for you?

Thanks,

Liam


author: Jeff Edwards
body: Hello Liam,

This didn't work and I've tried numerous combinations of adding filters vs. not. This macro simply doesn't work. As stated the only way I can get a decision to show is if I use the filter created last week.


author: Liam Green
body: Hi [@Jeff Edwards](/t5/user/viewprofilepage/user-id/4467364) and [@David.Taylor](/t5/user/viewprofilepage/user-id/4510124)

I'd say in this case the best thing to do would be to log a support issue with Atlassian, as it seems like either a bug or an issue with your instances.

You can contact them at support.atlassian.com


Tags: cloud

confluence-cloud