{
  "key": "com.radbee.confluence.plugins.jira-snapshots-for-confluence",
  "baseUrl": "https://snapshots-test-frankfurt.radbeeapps.com",
  "name": "Snapshots of Jira data into Confluence",
  "enableLicensing": false,
  "authentication": {
    "type": "jwt"
  },
  "lifecycle": {
    "installed": "/installed",
    "uninstalled": "/uninstalled"
  },
  "scopes": [
    "WRITE",
    "ACT_AS_USER"
  ],
  "apiMigrations": {
    "gdpr": true,
    "context-qsh": true,
    "signed-install": true
  },
  "vendor": {
    "name": "RadBee Ltd.",
    "url": "https://radbee.com"
  },
  "modules": {
    "dialogs": [
      {
        "url": "/batchModalPlaceholder.html",
        "key": "jira-snapshots-batch-dialog",
        "options": {
          "width": "100%",
          "height": "200px",
          "chrome": false
        }
      }
    ],
    "spaceToolsTabs": [
      {
        "url": "/permissionSettings.html?spaceKey={space.key}",
        "location": "addons",
        "name": {
          "value": "Snapshots"
        },
        "key": "jira-snapshots-space-tools-tab",
        "conditions": [
          {
            "and": [
              {
                "condition": "user_is_logged_in"
              }
            ]
          }
        ]
      }
    ],
    "generalPages": [
      {
        "key": "jira-test-report-editor",
        "location": "hidden",
        "url": "/testReportEditor.html",
        "name": {
          "value": "Full Page Snapshots Test Report Editor"
        }
      },
      {
        "key": "jira-jql-snapshot-big-editor",
        "location": "hidden",
        "url": "/jqlSnapshotBigEditor.html",
        "name": {
          "value": "Full Page Snapshots Editor"
        }
      },
      {
        "key": "jira-snapshots-batch-modal",
        "location": "hidden",
        "url": "/batchModal.html",
        "name": {
          "value": "Full Page Snapshots Batch Modal"
        }
      },
      {
        "key": "jira-snapshots-automatic-snapshots-modal",
        "location": "hidden",
        "url": "/automaticSnapshotsModal.html",
        "name": {
          "value": "Snapshots Automatic Snapshots Modal"
        }
      },
      {
        "key": "jira-snapshots-user-settings",
        "url": "/userSettings.html",
        "name": {
          "value": "Snapshots User Settings"
        }
      },
      {
        "key": "jira-snapshots-notification-modal",
        "location": "hidden",
        "url": "/notificationModal.html",
        "name": {
          "value": "Jira Snapshots Notification Modal"
        }
      }
    ],
    "dynamicContentMacros": [
      {
        "icon": {
          "url": "/assets/logo.jpg",
          "width": 64,
          "height": 64
        },
        "categories": [
          "confluence-content",
          "reporting",
          "development"
        ],
        "description": {
          "value": "Display a static list of Jira issues for planning, documentation and reports."
        },
        "key": "jira-jql-snapshot",
        "url": "/jqlSnapshot.html",
        "name": {
          "value": "Snapshots"
        },
        "renderModes": {
          "pdf": {
            "url": "/api/v1/snapshots/rendered-data?pageId={page.id}&macroId={macroId}"
          },
          "word": {
            "url": "/api/v1/snapshots/rendered-data?pageId={page.id}&macroId={macroId}"
          },
          "default": {
            "url": "/api/v1/snapshots/rendered-data?pageId={page.id}&macroId={macroId}"
          }
        },
        "height": "100%",
        "outputType": "block",
        "bodyType": "none",
        "editor": {
          "url": "/jqlSnapshotEditorPlaceholder.html",
          "width": "100%",
          "height": "200px"
        },
        "parameters": []
      },
      {
        "icon": {
          "url": "/assets/logo.jpg",
          "width": 64,
          "height": 64
        },
        "categories": [
          "confluence-content",
          "reporting",
          "development"
        ],
        "description": {
          "value": "Report from Jira and Xray. Includes Tests and Test Runs."
        },
        "key": "jira-test-report",
        "renderModes": {
          "pdf": {
            "url": "/api/v1/snapshots/rendered-data?pageId={page.id}&macroId={macroId}"
          },
          "word": {
            "url": "/api/v1/snapshots/rendered-data?pageId={page.id}&macroId={macroId}"
          },
          "default": {
            "url": "/api/v1/snapshots/rendered-data?pageId={page.id}&macroId={macroId}"
          }
        },
        "url": "/testReport.html",
        "outputType": "block",
        "name": {
          "value": "Snapshots Test Report"
        },
        "height": "100%",
        "bodyType": "none",
        "editor": {
          "url": "/testReportEditorPlaceholder.html",
          "width": "100%",
          "height": "200px"
        },
        "parameters": []
      }
    ],
    "webhooks": [
      {
        "event": "page_copied",
        "url": "/page-copied"
      },
      {
        "event": "page_archived",
        "url": "/page_archived"
      },
      {
        "event": "page_unarchived",
        "url": "/page_unarchived"
      },
      {
        "event": "space_removed",
        "url": "/space-removed"
      }
    ],
    "webItems": [
      {
        "location": "system.content.action",
        "key": "jira-snapshots-page-batch-action",
        "condition": "content_property_equal_to",
        "params": {
          "propertyKey": "jira-snapshots-exist",
          "value": "true"
        },
        "name": {
          "value": "Take Snapshots"
        },
        "target": {
          "type": "dialogmodule",
          "options": {
            "key": "jira-snapshots-batch-dialog"
          }
        },
        "weight": 200
      },
      {
        "location": "system.user/user-preferences",
        "key": "jira-snapshots-user-settings-web-item",
        "name": {
          "value": "Snapshots User Settings"
        },
        "url": "jira-snapshots-user-settings",
        "target": {
          "type": "page"
        },
        "context": "page"
      }
    ],
    "contentBylineItems": [
      {
        "key": "jira-snapshots-page-button-batch-action",
        "context": "addon",
        "conditions": [
          {
            "condition": "content_property_equal_to",
            "params": {
              "propertyKey": "jira-snapshots-exist",
              "value": "true"
            }
          }
        ],
        "name": {
          "value": ""
        },
        "target": {
          "type": "dialogmodule",
          "options": {
            "key": "jira-snapshots-batch-dialog"
          }
        },
        "icon": {
          "width": 24,
          "height": 24,
          "url": "/assets/logo.jpg"
        },
        "tooltip": {
          "value": "Take all Snapshots on the page"
        }
      }
    ],
    "webPanels": [
      {
        "key": "jira-snapshots-automatic-snapshots-background",
        "location": "atl.footer",
        "name": {
          "value": "Snapshots Automatic Snapshots Background"
        },
        "url": "/automaticSnapshotsBackground.html",
        "layout": {
          "width": "0",
          "height": "0"
        },
        "conditions": [
          {
            "condition": "viewing_content"
          }
        ]
      },
      {
        "key": "jira-snapshots-notification-background",
        "location": "atl.footer",
        "name": {
          "value": "Jira Snapshots Notification Background"
        },
        "url": "/notificationBackground.html",
        "layout": {
          "width": "0",
          "height": "0"
        },
        "conditions": [
          {
            "condition": "viewing_content"
          }
        ]
      }
    ]
  }
}
