{
  "key": "com.jibrok.jira.plugins.jsm-fields-panel-cloud",
  "baseUrl": "https://jsm-fields-panel-cloud.jibrok.com",
  "name": "Fields panel for Jira Service Management (JSM)",
  "description": "The application allows you to display any issue fields(system and custom fields) on the customer portal in Jira Service Management",
  "apiMigrations": {
    "context-qsh": true,
    "signed-install": true
  },
  "vendor": {
    "name": "JiBrok",
    "url": "https://jibrok.com/"
  },
  "enableLicensing": true,
  "icon": {
    "width": 80,
    "height": 80,
    "url": "https://jibrok.com/uploads/jsm-fields-panel-cloud/jsm-fields-panel.png"
  },
  "links": {
    "self": "https://jsm-fields-panel-cloud.jibrok.com/atlassian-connect.json",
    "documentation": "https://jibrok.com/docs/jsm-fields-panel-cloud/overview/"
  },
  "lifecycle": {
    "installed": "/installed",
    "uninstalled": "/uninstalled",
    "enabled": "/enabled",
    "disabled": "/disabled"
  },
  "authentication": {
    "type": "jwt"
  },
  "scopes": [
    "READ",
    "WRITE"
  ],
  "modules": {
    "serviceDeskPortalRequestViewPanels": [
      {
        "key": "sd-portal-customer-request-view-content",
        "url": "/sd-portal-customer-request-view-content?issueId={issue.id}&serviceDeskRequestTypeId={servicedesk.requestTypeId}&serviceDeskId={servicedesk.serviceDeskId}",
        "conditions": [
          {
            "and": [
              {"condition": "user_is_logged_in"},
              {"condition": "addon_is_licensed"}
            ]
          }
        ]
      }
    ],
    "serviceDeskPortalRequestViewDetailsPanels": [
      {
        "key": "sd-portal-customer-request-view-details-content",
        "url": "/sd-portal-customer-request-view-details-content?issueId={issue.id}&serviceDeskRequestTypeId={servicedesk.requestTypeId}&serviceDeskId={servicedesk.serviceDeskId}",
        "conditions": [
          {
            "and": [
              {"condition": "user_is_logged_in"},
              {"condition": "addon_is_licensed"}
            ]
          }
        ]
      }
    ],



    "jiraProjectAdminTabPanels": [
      {
        "location": "projectgroup1",
        "url": "/projectJSMFieldPanelSetting?projectId=${project.id}",
        "iconUrl": "https://jibrok.com/uploads/jsm-fields-panel-cloud/jsm-fields-panel.png",
        "weight": 100,
        "name": {
          "value": "Fields panels for customer"
        },
        "key": "jsm-field-panel-settings",
        "conditions": [
          {
            "condition": "project_type",
            "params": {
              "projectTypeKey": "service_desk"
            }
          },
          {
            "or": [
              {
                "condition": "user_is_admin"
              },
              {
                "condition": "user_is_sysadmin"
              }
            ]
          }
        ]
      }
    ]
  }
}

