Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-60262

Empty parameter passed Connect addon when matching default value

    XMLWordPrintable

Details

    Description

      Url:

       "url": "/ap3/file?fileId={fileId}&showLink={showLink}&width=800&height=600&type=slide",
      

      Macro def:

      {
        "identifier": "showLink",
        "name": { "value": "Show document link" },
        "description": { "value": "Show document link" },
        "type": "boolean",
        "required": false,
        "defaultValue": "true"
      }
      

      Actual:
      When showLink is ticked, no value is sent, but when showLink is not ticked false is sent

      Expected:
      The value of showLink is correctly replaced in the URL regardless of the default setting.

      Attachments

        Activity

          People

            Unassigned Unassigned
            psemeniuk Petro Semeniuk (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: