{
  "key": "com.mohamicorp.plugin.autowatch.autowatch-for-jira",
  "name": "Autowatch for Jira",
  "description": "Automatically watch issues matching custom JQL queries",
  "vendor": {
    "name": "Appfire",
    "url": "https://appfire.com"
  },
  "baseUrl": "https://autowatch.mohamicorp.com",
  "enableLicensing": true,
  "authentication": {
    "type": "jwt"
  },
  "apiMigrations": {
    "gdpr": true,
    "context-qsh": true,
    "signed-install": true
  },
  "lifecycle": {
    "installed": "/installed",
    "uninstalled": "/uninstalled"
  },
  "modules": {
    "jiraProjectAdminTabPanels": [
      {
        "location": "projectgroup4",
        "url": "/autowatch/addrule?project_key={project.key}&project_id={project.id}",
        "weight": 70,
        "height": 400,
        "key": "autowatch-config-tab",
        "name": {
          "value": "Autowatch Rules"
        },
        "conditions": [
          {
            "or": [
              {
                "condition": "user_is_admin"
              },
              {
                "condition": "user_is_project_admin"
              }
            ]
          }
        ]
      }
    ],
    "webhooks": [
      {
        "key": "issue-created-event",
        "event": "jira:issue_created",
        "url": "/event/issue-created"
      },
      {
        "key": "issue-updated-event",
        "event": "jira:issue_updated",
        "url": "/event/issue-updated"
      }
    ],
    "dialogs": [
      {
        "url": "/about.html",
        "options": {
          "width": "400px",
          "height": "200px",
          "header": {
            "value": "About Autowatch for JIRA"
          }
        },
        "key": "about-dialog"
      }
    ],
    "adminPages": [
      {
        "url": "/autowatch/globalrule",
        "key": "autowatch-rules-admin-page",
        "name": {
          "value": "Global Autowatch Rules"
        },
        "conditions": [
          {
            "condition": "user_is_admin"
          }
        ]
      }
    ]
  },
  "scopes": [
    "READ",
    "WRITE",
    "ACT_AS_USER"
  ]
}
