{
  "key": "com.qotilabs.jira.rich-filters-plugin",
  "baseUrl": "https://rfc.qoticloud.com",
  "name": "Rich Filters for Jira Dashboards",
  "enableLicensing": true,
  "authentication": {
    "type": "jwt"
  },
  "apiMigrations": {
    "context-qsh": true,
    "gdpr": true,
    "signed-install": true
  },
  "cloudAppMigration": {
    "migrationWebhookPath": "/rest/migration"
  },
  "lifecycle": {
    "installed": "/installed",
    "uninstalled": "/uninstalled",
    "enabled": "/rest/lifecycle/enabled",
    "disabled": "/rest/lifecycle/disabled"
  },
  "scopes": ["READ", "WRITE", "ACT_AS_USER", "ADMIN"],
  "vendor": {
    "name": "Appfire",
    "url": "https://appfire.com/"
  },
  "modules": {
    "webSections": [
      {
        "key": "rich-filters-admin-section",
        "location": "admin_plugins_menu",
        "name": {
          "value": "Rich filters"
        },
        "weight": 100
      }
    ],
    "webItems": [
      {
        "key": "rich-filters-item",
        "name": { "value": "Rich Filters" },
        "icon": {
          "url": "/static/rf-link-icon-80.png",
          "width": 20,
          "height": 20
        },
        "context": "product",
        "url": "/plugins/servlet/ac/com.qotilabs.jira.rich-filters-plugin/rich-filters",
        "location": "system.top.navigation.bar",
        "conditions": [{ "condition": "user_is_logged_in" }],
        "weight": 100
      },
      {
        "key": "rich-filters-config-item",
        "url": "/plugins/servlet/ac/com.qotilabs.jira.rich-filters-plugin/rich-filters-config",
        "name": { "value": "App configuration" },
        "location": "admin_plugins_menu/rich-filters-admin-section",
        "context": "product",
        "weight": 110
      }
    ],
    "configurePage": {
      "key": "rich-filters-config",
      "name": { "value": "Config" },
      "url": "/assets/rich-filters-config.html?qrfak=com.qotilabs.jira.rich-filters-plugin",
      "conditions": [{ "condition": "user_is_admin" }],
      "cacheable": true
    },
    "generalPages": [
      {
        "key": "rich-filters",
        "name": { "value": "Rich Filters" },
        "url": "/assets/rich-filters.html?qrfak=com.qotilabs.jira.rich-filters-plugin",
        "cacheable": true,
        "location": "none"
      },
      {
        "key": "rest-tests",
        "name": { "value": "RF REST Tests" },
        "url": "/assets/rest-tests.html?qrfak=com.qotilabs.jira.rich-filters-plugin",
        "cacheable": true,
        "location": "none"
      },
      {
        "key": "query-tests",
        "name": { "value": "RF Query Tests" },
        "url": "/assets/query-tests.html?qrfak=com.qotilabs.jira.rich-filters-plugin",
        "cacheable": true,
        "location": "none"
      },
      {
        "key": "expressions",
        "name": { "value": "RF/Expressions" },
        "url": "/assets/expressions.html?qrfak=com.qotilabs.jira.rich-filters-plugin",
        "cacheable": true,
        "location": "none"
      },
      {
        "key": "log-tag-colors",
        "name": { "value": "Log Tag Colors" },
        "url": "/assets/log-tag-colors.html",
        "cacheable": true,
        "location": "none"
      }
    ],
    "jiraBackgroundScripts": [
      {
        "key": "dashboard-background-script",
        "url": "/assets/dashboard-background-script.html?qrfak=com.qotilabs.jira.rich-filters-plugin",
        "location": { "type": "dashboard" }
      }
    ],
    "jiraDashboardItems": [
      {
        "key": "controller-gadget",
        "name": { "value": "Rich Filter Controller" },
        "description": {
          "value": "Used to apply quick filters to other gadgets."
        },
        "url": "/assets/controller-gadget.html?dashboard={dashboard.id}&gadget={dashboardItem.id}&view={dashboardItem.viewType}&qrfak=com.qotilabs.jira.rich-filters-plugin",
        "thumbnailUrl": "/static/rf-logo-300x154.png",
        "configurable": true,
        "refreshable": false
      },
      {
        "key": "table-gadget",
        "name": { "value": "Rich Filter Results" },
        "description": {
          "value": "Shows the issue results as a table, filtered by active quick filters."
        },
        "url": "/assets/table-gadget.html?dashboard={dashboard.id}&gadget={dashboardItem.id}&view={dashboardItem.viewType}&qrfak=com.qotilabs.jira.rich-filters-plugin",
        "thumbnailUrl": "/static/rf-logo-300x154.png",
        "configurable": true,
        "refreshable": false
      },
      {
        "key": "counter-gadget",
        "name": { "value": "Rich Filter Simple Counters" },
        "description": {
          "value": "Used to count the issues selected by active quick filters."
        },
        "url": "/assets/counter-gadget.html?dashboard={dashboard.id}&gadget={dashboardItem.id}&view={dashboardItem.viewType}&qrfak=com.qotilabs.jira.rich-filters-plugin",
        "thumbnailUrl": "/static/rf-logo-300x154.png",
        "configurable": true,
        "refreshable": false
      },
      {
        "key": "stats1d-gadget",
        "name": { "value": "Rich Filter Statistics" },
        "description": {
          "value": "Used to perform statistics on the issues selected by active quick filters."
        },
        "url": "/assets/stats1d-gadget.html?dashboard={dashboard.id}&gadget={dashboardItem.id}&view={dashboardItem.viewType}&qrfak=com.qotilabs.jira.rich-filters-plugin",
        "thumbnailUrl": "/static/rf-logo-300x154.png",
        "configurable": true,
        "refreshable": false
      },
      {
        "key": "stats2d-gadget",
        "name": {
          "value": "Rich Filter Two Dimensional Statistics"
        },
        "description": {
          "value": "Used to perform statistics on the issues selected by active quick filters."
        },
        "url": "/assets/stats2d-gadget.html?dashboard={dashboard.id}&gadget={dashboardItem.id}&view={dashboardItem.viewType}&qrfak=com.qotilabs.jira.rich-filters-plugin",
        "thumbnailUrl": "/static/rf-logo-300x154.png",
        "configurable": true,
        "refreshable": false
      },
      {
        "key": "charts-gadget",
        "name": { "value": "Rich Filter Flexi Charts" },
        "description": {
          "value": "Shows charts with the issues selected by active quick filters."
        },
        "url": "/assets/charts-gadget.html?dashboard={dashboard.id}&gadget={dashboardItem.id}&view={dashboardItem.viewType}&qrfak=com.qotilabs.jira.rich-filters-plugin",
        "thumbnailUrl": "/static/rf-logo-300x154.png",
        "configurable": true,
        "refreshable": false
      },
      {
        "key": "smart-counter-gadget",
        "name": { "value": "Rich Filter Smart Counters" },
        "description": {
          "value": "Displays multiple counters for issues from a rich filter, based on the clauses of a smart filter."
        },
        "url": "/assets/smart-counter-gadget.html?dashboard={dashboard.id}&gadget={dashboardItem.id}&view={dashboardItem.viewType}&qrfak=com.qotilabs.jira.rich-filters-plugin",
        "thumbnailUrl": "/static/rf-logo-300x154.png",
        "configurable": true,
        "refreshable": false
      },
      {
        "key": "gauge-gadget",
        "name": { "value": "Rich Filter Simple Gauges" },
        "description": {
          "value": "Displays issue count and field sum gauges for issues from a rich filter. Gauge levels are based on predefined criteria or on static filters."
        },
        "url": "/assets/gauge-gadget.html?dashboard={dashboard.id}&gadget={dashboardItem.id}&view={dashboardItem.viewType}&qrfak=com.qotilabs.jira.rich-filters-plugin",
        "thumbnailUrl": "/static/rf-logo-300x154.png",
        "configurable": true,
        "refreshable": false
      },
      {
        "key": "smart-gauge-gadget",
        "name": { "value": "Rich Filter Smart Gauges" },
        "description": {
          "value": "Displays multiple gauges for issues from a rich filter, based on the clauses of a smart filter."
        },
        "url": "/assets/smart-gauge-gadget.html?dashboard={dashboard.id}&gadget={dashboardItem.id}&view={dashboardItem.viewType}&qrfak=com.qotilabs.jira.rich-filters-plugin",
        "thumbnailUrl": "/static/rf-logo-300x154.png",
        "configurable": true,
        "refreshable": false
      },
      {
        "key": "time-series-gadget",
        "name": { "value": "Rich Filter Time Series Chart" },
        "description": {
          "value": "Displays rich filter time series."
        },
        "url": "/assets/time-series-gadget.html?dashboard={dashboard.id}&gadget={dashboardItem.id}&view={dashboardItem.viewType}&qrfak=com.qotilabs.jira.rich-filters-plugin",
        "thumbnailUrl": "/static/rf-logo-300x154.png",
        "configurable": true,
        "refreshable": false
      },
      {
        "key": "created-resolved-gadget",
        "name": {
          "value": "Rich Filter Created vs Resolved Chart"
        },
        "description": {
          "value": "Displays created issues vs. resolved issues for a project or saved filter."
        },
        "url": "/assets/created-resolved-gadget.html?dashboard={dashboard.id}&gadget={dashboardItem.id}&view={dashboardItem.viewType}&qrfak=com.qotilabs.jira.rich-filters-plugin",
        "thumbnailUrl": "/static/rf-logo-300x154.png",
        "configurable": true,
        "refreshable": false
      },
      {
        "key": "text-gadget",
        "name": {
          "value": "Rich Filter Text Panel"
        },
        "description": {
          "value": "Displays configurable rich text. Use this gadget to inform & guide users and give context to your dashboards."
        },
        "url": "/assets/text-gadget.html?dashboard={dashboard.id}&gadget={dashboardItem.id}&view={dashboardItem.viewType}&qrfak=com.qotilabs.jira.rich-filters-plugin",
        "thumbnailUrl": "/static/rf-logo-300x154.png",
        "configurable": true,
        "refreshable": false
      },
      {
        "key": "activity-gadget",
        "name": {
          "value": "Rich Filter Issue Activity Stream"
        },
        "description": {
          "value": "Lists recent activity in issues, based on the current quick filter selection."
        },
        "url": "/assets/activity-gadget.html?dashboard={dashboard.id}&gadget={dashboardItem.id}&view={dashboardItem.viewType}&qrfak=com.qotilabs.jira.rich-filters-plugin",
        "thumbnailUrl": "/static/rf-logo-300x154.png",
        "configurable": true,
        "refreshable": false
      }
    ],
    "dialogs": [
      {
        "key": "export-dialog",
        "url": "/assets/export.html?qrfak=com.qotilabs.jira.rich-filters-plugin",
        "cacheable": true,
        "options": {
          "chrome": false,
          "width": "700px",
          "height": "275px"
        }
      },
      {
        "key": "media-view-dialog",
        "url": "/assets/media-view.html?qrfak=com.qotilabs.jira.rich-filters-plugin",
        "options": {
          "chrome": false,
          "size": "fullscreen"
        }
      }
    ]
  }
}
