{
  "key": "reopening-counter",
  "baseUrl": "https://reopening-counter.rozdoum.com",
  "name": "Reopening counter for JIRA Cloud",
  "description": "Reopening counter for JIRA Cloud shows how many times issue were reopened by users",
  "vendor": {
    "name": "Rozdoum",
    "url": "http://rozdoum.com"
  },
  "apiMigrations": {
    "gdpr": true,
    "context-qsh": true,
    "signed-install": true
  },
  "enableLicensing": true,
  "authentication": {
    "type": "jwt"
  },
  "lifecycle": {
    "installed": "/installed",
    "uninstalled": "/uninstalled"
  },
  "modules": {
    "jiraDashboardItems": [
      {
        "name" : {
          "value" : "Reopening Counter Gadget",
          "i18n" : "issues.in.project.i18n"
        },
        "url" : "/gadget-view.html?dashboard={dashboard.id}&dashboardItem={dashboardItem.id}",
        "key" : "reopening-counter-issue-gadget",
        "description" : {
          "value" : "Gadget which displays reopening count for issues",
          "i18n" : "issues.in.project.description.i18n"
        },
        "thumbnailUrl": "/img/logo_avatar.png",
        "configurable" : true,
        "conditions" : [{
          "condition": "user_is_logged_in"
        }]
      }
    ],
    "jiraIssueContexts": [
      {
        "icon": {
          "width": 0,
          "height": 0,
          "url": "/img/rc_glance.svg"
        },
        "content": {
          "type": "label",
          "label": {
            "value": "Reopens"
          }
        },
        "target": {
          "type": "web_panel",
          "url": "/issue-view.html?ii={issue.id}&ik={issue.key}&pk={project.key}&pi={project.id}"
        },
        "jiraNativeAppsEnabled": true,
        "name": {
          "value": "Reopening Counter"
        },
        "key": "reopening-counter-context"
      }
    ]
  },
  "scopes": [ "READ","WRITE", "ACT_AS_USER", "ADMIN" ]
}
