# Cannot Display a Confluence page with a Team Calendars for Confluence macro in a JIRA Page Gadget

#### お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

## 症状

You have set up an application link and gadget subscription between JIRA and Confluence and are attempting to display a Confluence page with a Team Calendars for Confluence macro in the JIRA Page Gadget.

You see this error on the screen:

atlassian-confluence.log に次のメッセージが表示される。

2012-10-26 12:52:48,875 ERROR [http-10432-1] [xhtml.view.macro.ViewMacroMarshaller] marshal Error rendering macro: calendar
java.lang.IllegalArgumentException: No enum const class com.atlassian.confluence.content.render.xhtml.ConversionContextOutputType.PAGE_GADGET
at java.lang.Enum.valueOf(Enum.java:196)
at com.atlassian.confluence.content.render.xhtml.ConversionContextOutputType.valueOf(ConversionContextOutputType.java:7)
at com.atlassian.confluence.extra.calendar3.CalendarMacro.execute(CalendarMacro.java:116)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.atlassian.confluence.macro.xhtml.XhtmlMacroManager$ResourceAwareMacroInvocationHandler.invoke(XhtmlMacroManager.java:220) at$Proxy1343.execute(Unknown Source)
at com.atlassian.confluence.content.render.xhtml.view.macro.ViewMacroMarshaller.marshal(ViewMacroMarshaller.java:88)
at com.atlassian.confluence.content.render.xhtml.view.macro.ViewMacroMarshaller.marshal(ViewMacroMarshaller.java:24)
....

## 原因

This is because the Team Calendars for Confluence macro is not currently compatible with the JIRA Page Gadget. It is an Improvement Request that is being tracked here:

TEAMCAL-862 - 課題詳細を取得中... ステータス

At Atlassian we allow our customers to input into our bug fix and feature request prioritisation. We do this with the voting system - the more votes and detailed comments a ticket has, the more likely it is to be implemented. We use this as a way of gauging the needs of our customer base as a whole. If you would like to see this implemented, please vote on that ticket, and add a comment detailing how it affects your system and what you would like to see. If you also add yourself as a watcher to the ticket, you'll be notified whenever it's updated.