Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-35652

A JIRA Gadget With "url" As Parameter Will Not Be Displayed In Confluence

      When trying to add a JIRA Gadget to a Confluence page (see https://confluence.atlassian.com/display/DOC/Adding+JIRA+Gadgets+to+a+Confluence+Page) and that gadget has "url" as a parameter, the gadget will not be displayed.

      Editing the macro, Confluence shows the error message, that the gadget with the URL that was specified as the plugin's "url" parameter was not registered with Confluence.

      This was noticed in the Custom Content for JIRA plugin version 0.3 (https://marketplace.atlassian.com/plugins/com.tngtech.jira.plugins.customcontent.jira-gadget-custom-content). Renaming the parameter fixed the issue.

            [CONFSERVER-35652] A JIRA Gadget With "url" As Parameter Will Not Be Displayed In Confluence

            Hi, 

            i'd also like to use this Makro. When will this be fixed? 

             

            it says the following:

            Warning!

            The URL parameter was renamed due to this bug. Please edit this gadget and save it again.

            Antonino Piscione added a comment - Hi,  i'd also like to use this Makro. When will this be fixed?    it says the following: Warning! The URL parameter was renamed due to this bug. Please edit this gadget and save it again.

            Hi

            We have the latest version of 'Custom Content in Jira' that is 0.6 and our Jira software(Data Center)version is v7.13.5

            We are not able to render a page from Jira in confluence(v6.12.3) using the custom content(Gadget url) macro

            Could you please let us know how to fix this?

            Thanks

            Deleted Account (Inactive) added a comment - Hi We have the latest version of 'Custom Content in Jira' that is 0.6 and our Jira software(Data Center)version is v7.13.5 We are not able to render a page from Jira in confluence(v6.12.3) using the custom content(Gadget url) macro Could you please let us know how to fix this? Thanks

            It's unclear to me either. Where can I change this property?

            Junio Fernandes added a comment - It's unclear to me either. Where can I change this property?

            TB added a comment -

            I'm still unclear what to do as log as I'm not a developer. I tried different options from previous message, can you put details, what exactly should be done?

            TB added a comment - I'm still unclear what to do as log as I'm not a developer. I tried different options from previous message, can you put details, what exactly should be done?

            Jon Abad added a comment -

            Gotcha.
            I just looked at the plugin history and see that the latest is 0.5, which is where I assume that fix is.

            However, I'm encountering this issue using 0.5 so I thought I had to do something to the Confluence page when I used the gadget itself.

            Jon Abad added a comment - Gotcha. I just looked at the plugin history and see that the latest is 0.5, which is where I assume that fix is. However, I'm encountering this issue using 0.5 so I thought I had to do something to the Confluence page when I used the gadget itself.

            Sorry for being unclear in that.

            the gadget originally had a parameter called 'url', i.e. the config contained

            {
                                                userpref: 'url',
                                                label: 'URL:',
                                                description: <desc>,
                                                type: 'text',
                                                value: <value>
                                            }
            

            We then renamed it to targetPage and the macro can be embedded to Confluence:

            {  
                                                userpref: 'targetPage',
                                                label: 'URL:',
                                                description: <desc>,
                                                type: 'text',
                                                value: <value>
                                            }
            

            Ruben Straube added a comment - Sorry for being unclear in that. the gadget originally had a parameter called 'url', i.e. the config contained { userpref: 'url' , label: 'URL:' , description: <desc>, type: 'text' , value: <value> } We then renamed it to targetPage and the macro can be embedded to Confluence: { userpref: 'targetPage' , label: 'URL:' , description: <desc>, type: 'text' , value: <value> }

            Jon Abad added a comment -

            Hi, it's unclear what "Renaming the parameter" actually means.
            Which parameter needs to be renamed in order to use the gadget?

            Jon Abad added a comment - Hi, it's unclear what "Renaming the parameter" actually means. Which parameter needs to be renamed in order to use the gadget?

              Unassigned Unassigned
              20e509389a7c Ruben Straube
              Affected customers:
              12 This affects my team
              Watchers:
              14 Start watching this issue

                Created:
                Updated: