Details
-
Bug
-
Resolution: Fixed
-
Low
Description
Steps to reproduce
- Go to Confluence Admin >> Global Templates
- Edit Default Welcome Message, and add a Jira Issues macro listing more than one issue (eg: status = Open) or a markup with:
{jira:anonymous=true|url=http://jira.atlassian.com/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?jqlQuery=project+%3D+CONF+AND+%28summary+%7E+jiraissues+OR+description+%7E+jiraissues+OR+comment+%7E+jiraissues%29&tempMax=10|columns=type;key;summary}
- Preview will show the issues correctly.
- Save
- Go to the Welcome Page: the macro will not be rendered, instead shows this error:
java.lang.NullPointerException
- No error is reported on the logs (Jira or Confluence).
Workaround
- Create a new page. For example, titled "_Welcome" on a space with spacekey DS.
- Add the jiraissues macro in that page and save it
- Edit the Default Welcome Message and add a Include Page macro pointing to "DS:_Welcome"
- JIRA issues macro now should be rendered fine in the Dashboard Welcome page.
Testing Notes
Follow the Steps to reproduce above, you can add more than 1 JIM markups to the Welcome page, the test will be passed if:
- No NPEs shown
- Refresh links work properly (only a JIM table is refreshed at one time)
- Table sorting works properly
Attachments
Issue Links
- is related to
-
CONFSERVER-23353 jiraissues macro can no longer be rendered by the wiki markup renderer (eg. Dashboard welcome message, User Macros, unmigrated wiki markup blocks)
- Closed