{
  "name": "Collaborator for Jira",
  "description": "Integrate Collaborator peer reviews with Jira",
  "key": "com.smartbear.collab.collab-jira-plugin",
  "version": "2.1.4",
  "baseUrl": "https://collab-jira.smartbear.com",
  "vendor": {
    "name": "SmartBear Software",
    "url": "https://smartbear.com/"
  },
  "authentication": {
    "type": "jwt"
  },
  "lifecycle": {
    "installed": "/installed",
    "uninstalled": "/uninstalled"
  },
  "apiVersion": 1,
  "scopes": [
    "WRITE",
    "READ",
    "ACT_AS_USER"
  ],
  "modules": {
    "jiraIssueContexts": [
      {
        "icon": {
          "width": 24,
          "hight": 24,
          "url": "/logo-128.png"
        },
        "content": {
          "type": "label",
          "label": {
            "value": "Open Collaborator Peer Review"
          }
        },
        "target": {
          "type": "web_panel",
          "url": "/reviews?issueId={issue.id}&projectKey={project.key}"
        },
        "key": "reviewPanel",
        "name": {
          "value": "Collaborator"
        },
        "weight": 1000
      }
    ],
    "dialogs": [
      {
        "key": "login-dialog",
        "url": "/dialogs/login?projectKey={project.key}",
        "options": {
          "height": "300",
          "width": "485",
          "chrome": false
        }
      },
      {
        "key": "delink-dialog",
        "url": "/dialogs/delink",
        "options": {
          "height": "100",
          "width": "650",
          "chrome": false,
          "header": {
            "value": "Delete link to the review"
          }
        }
      },
      {
        "key": "link-existing-dialog",
        "url": "/dialogs/link-existing?issueId={issue.id}&projectKey={project.key}",
        "options": {
          "height": "300",
          "width": "600",
          "chrome": false,
          "header": {
            "value": "Link Collaborator Review"
          }
        }
      },
      {
        "key": "message-dialog",
        "url": "dialogs/message",
        "options": {
          "height": "180px",
          "width": "600px",
          "chrome": false
        }
      }
    ],
    "jiraProjectAdminTabPanels": [
      {
        "location": "projectgroup4",
        "url": "/collab-integration?projectKey={project.key}",
        "weight": 100,
        "name": {
          "value": "Collaborator"
        },
        "key": "collab-integration",
        "conditions": [
          {
            "condition": "user_is_admin"
          }
        ]
      }
    ]
  }
}
