JIRA Issues Macro - Won't Display a Specific Project
Asked by Steve Sweales:

I have been using the JIRA Issue Macro with our Confluence / JIRA setup for quite some time now, and up until this time I have not had any major problems.

I have just created a new project within JIRA and set up a JIRA Agile board. It is configured the same as most of the other projects, except a few less issue types and few few different statuses.

For some reason, any issue within this new project will not display within the JIRA Issues Macro within a Confluence page. I leep getting the following error displayed in place of the expected JIRA Issue - "Unable to render JIRA issues macro, execution error."

Issues from any other project work just fine in the same page.

Anybody have any ideas?


Answers:
author: Steve Sweales
body: I upgraded to the latest version of the JIRA Issue plugin today, and it has sorted out the problem.

I had gotten around it by using the other project's config for fields. By trial / error / elimination, I could see that it was a problem with the Field Configuration, although I could not determine exactly what the problem was.


author: Bruna Griebeler
body: Hi Steve,

There's some strange messages on your logs that might indicate a database encoding issue.

```
ERROR [pool-97362-thread-1] [confluence.extra.jira.JiraIssuesMacro] throwMacroExecutionException Macro execution exception:\-- url: /display/TEST/SIM+Orders+regression | page: 24284810 | userName: clivett | referer: {\field{\*\fldinst{HYPERLINK "https://confluence.xxx.xx.x/display/TEST/Regression+Pack"}}{\fldrslt \fs26 \cf2 \ul \ulc2 }} | action: viewpage\java.lang.NullPointerException\\'a0\'a0\'a0\'a0\'a0\'a0\'a0 at com.atlassian.confluence.extra.jira.JiraIssuesMacro.setupContextMapForStaticSingleIssue(JiraIssuesMacro.java:728)\\'a0\'a0\'a0\'a0\'a0\'a0\'a0 at com.atlassian.confluence.extra.jira.JiraIssuesMacro.populateContextMapForStaticSingleIssue(JiraIssuesMacro.java:675)\\'a0\'a0\'a0\'a0\'a0\'a0\'a0 at com.atlassian.confluence.extra.jira.JiraIssuesMacro.createContextMapFromParams(JiraIssuesMacro.java:540)\\'a0\'a0\'a0\'a0\'a0\'a0\'a0 at com.atlassian.confluence.extra.jira.JiraIssuesMacro.execute(JiraIssuesMacro.java:1374)\\'a0\'a0\'a0\'a0\'a0\'a0\'a0 at com.atlassian.confluence.extra.jira.StreamableJiraIssuesMacro$JIMFutureTask.call(StreamableJiraIssuesMacro.java:113)\\'a0\'a0\'a0\'a0\'a0\'a0\'a0 at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)\\'a0\'a0\'a0\'a0\'a0\'a0\'a0 at java.util.concurrent.FutureTask.run(Unknown Source)\\'a0\'a0\'a0\'a0\'a0\'a0\'a0 at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)\\'a0\'a0\'a0\'a0\'a0\'a0\'a0 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)\\'a0\'a0\'a0\'a0\'a0\'a0\'a0 at java.lang.Thread.run(Unknown Source)\


Could you check if your database is using InniDB engine and UTF-8 as encoding?
```

comments: author: Steve Sweales
body: I can confirm we arw using UTf-8

btw - I updated to the latest version of the JIRA Issue plugin today and it now works ok.


author: Vamsi K Nori
body: Hi Steve and Deividi

I am facing the same issue. Did you guys manage to get a solution?


author: Deividi Luvison
body: Could you please check if your Confluence User account have permission over that project in JIRA?

Because even if you set an application link between the apps, the login account you are using need to have permission over both applications.

Thanks and Regards,  
David\|Atlassian Support

comments: author: Steve Sweales
body: I am an admin on both Confluence and JIRA and it does not work for me. =(

I have also tried setting a link between the Space and the Project specifically, however that made no difference.


author: Deividi Luvison
body: Do you have any errors on atlassian-confluence logs?

Thanks and Regards,  
David\|Atlassian Support


author: Steve Sweales
body: Yes - (ConfluenceLog.txt)


Tags: jira