Hi all,
We have card properties which have colons in their names - like "D: Stage". I tried to set up a pie-chart using one of these properties, but I get a please check the syntax of the pie-chart macro error.
The macro looks like:
pie-chart
data: SELECT 'D: Stage', count(*) WHERE type = 'Defect'and works absolutely fine if I use a different property that doesn't have a colon in the name.
Sooo... can I escape the colon somehow? Or should I just rename the property?
Sorry if that's a bit of a noddy question - I'm a bit of a Mingle noob!
Cheers!
Comments
2 comments
Hey Rob
The problem here is that our macros markup is YAML and the colons in your property name are causing YAML syntax parsing problems.
There are some suggestions on how to avoid this issue here. Specifically in your case I think that using the following should work.
{{
pie-chart
data: "SELECT 'D: Stage', count(*) WHERE type = 'Defect'"
}}
Otherwise, yeah, it might be best to rename the property.
I hope you can get this working.
- Suzie
Hiya Suzie,
Yeah, that's sorted it without having to rename any properties - surprised I didn't work that one out for myself!
Thanks!
Please sign in to leave a comment.