Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Bill Boulden October 6, 2013

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

0 votes
Answer accepted
Bill Boulden October 14, 2013

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 votes
Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 7, 2013

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.

Bill Boulden October 7, 2013

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.

Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 8, 2013

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
TAGS
AUG Leaders

Atlassian Community Events