Custom Field from JIRA causes JIRA Issues macro to not render in Confluence

I have a Confluence page that's embedding a JIRA issues macro.

We have quite a few custom fields and the macro sometimes breaks based on how much or how little data is returned.

Here is flavor one of the JQL query:

project = (project name) AND issuetype = "(issue type)" AND status in (Open, "In Progress", Reopened) and cf[11201] = '(field setting)' ORDER BY cf[11208] ASC, cf[11206] ASC, createdDate DESC

This returns an issue list just fine.

Then if the search is broadened by removing the custom field we were filtering on:

project = (project name) AND issuetype = "(issue type)" AND status in (Open, "In Progress", Reopened) ORDER BY cf[11208] ASC, cf[11206] ASC, createdDate DESC
Suddenly the macro, embedded, displays:
Error rendering macro 'jira' : com.atlassian.confluence.macro.MacroExecutionException: java.io.IOException: Error on line 210: The content of elements must consist of well-formed character data or markup.

2 answers

1 accepted

We changed up which Macro we were using. We were using the standard JIRA macro and we switched to JIRA Saved Filter Select Columns

0 vote

What kind of a custom field is it? I am guessing that one of the possible values of that field has a special character that breaks the rendering.

No, Jobin, Strangely, it's just a date field! And for all values it appears to be either a successful date, or NULL. Nothing else, that I can see! There are only 37 records that have this field filled in so far so it was easy to see them all and verify there's nothin' but Dates and Nulls here.

That is indeed strange. You might want to raise a support ticket. And if you have free time, narrow down the list of issues to find if there is one specific issue that is breaking it ;)

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

587 views 20 11
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you