{
  "key": "ta-smart-templates",
  "baseUrl": "https://smart-templates.titanapps.io",
  "name": "Smart Templates for Jira",
  "enableLicensing": true,
  "vendor": {
    "name": "TitanApps | Railsware",
    "url": "https://titanapps.io"
  },
  "authentication": {
    "type": "jwt"
  },
  "lifecycle": {
    "installed": "/installed",
    "uninstalled": "/uninstalled"
  },
  "scopes": [
    "READ",
    "ACT_AS_USER",
    "WRITE"
  ],
  "modules": {
    "webhooks": [
      {
        "event": "project_created",
        "url": "/jira-hooks/project_created"
      },
      {
        "event": "project_soft_deleted",
        "url": "/jira-hooks/project_soft_deleted"
      }
    ],
    "jiraIssueContents": [
      {
        "icon": {
          "width": 24,
          "height": 24,
          "url": "/smart-templates.png"
        },
        "target": {
          "type": "web_panel",
          "url": "/index"
        },
        "tooltip": {
          "value": "Smart Templates"
        },
        "name": {
          "value": "Smart Templates"
        },
        "key": "ta-smart-templates-panel"
      }
    ],
    "jiraProjectPages": [
      {
        "key": "ta-smart-templates-project-panel",
        "name": {
          "value": "Smart Templates"
        },
        "url": "/project/templates",
        "iconUrl": "/smart-templates.png",
        "weight": 1
      }
    ],
    "jiraEntityProperties": [
      {
        "key": "jira-issue-source",
        "name": {
          "value": "Issue source",
          "i18n": "source.index"
        },
        "entityType": "issue",
        "keyConfigurations": [
          {
            "propertyKey": "com.railsware.SmartTemplates.source",
            "extractions": [
              {
                "objectName": "nodeId",
                "type": "string"
              },
              {
                "objectName": "usageId",
                "type": "number"
              }
            ]
          }
        ]
      }
    ]
  }
}
