{
  "name": "Power BI Connector for Jira",
  "description": "Power BI Connector for Jira allows you to export your Jira data to Power BI. Stream Jira data to Power\n        BI and create interactive reports, data dashboards and visualizations in minutes.",
  "apiVersion": 1,
  "enableLicensing": true,
  "baseUrl": "https://au.powerbi.alphaservesp.com",
  "key": "com.alphaserve.powerbi-connector-jira",
  "vendor": {
    "name": "Alpha Serve",
    "url": "https://www.alphaservesp.com/"
  },
  "lifecycle": {
    "installed": "/installed",
    "uninstalled": "/uninstalled"
  },
  "authentication": {
    "type": "jwt"
  },
  "apiMigrations": {
    "signed-install": true,
    "context-qsh": true
  },
  "scopes": [
    "ACT_AS_USER",
    "READ",
    "ACCESS_EMAIL_ADDRESSES"
  ],
  "modules": {
    "jiraDashboardItems": [
      {
        "description": {
          "value": "Displays a Microsoft Power BI report"
        },
        "url": "/gadget/powerbiReport?dashboardItemId={dashboardItem.id}&dashboardId={dashboard.id}&view={dashboardItem.viewType}",
        "configurable": true,
        "thumbnailUrl": "/images/powerbi-report-dashboard-item.png",
        "name": {
          "value": "Power BI Report"
        },
        "key": "gadget",
        "conditions": [
          {
            "condition": "jira_expression",
            "params": {
              "expression": "app.key.includes('com.alphaserve.powerbi-connector-jira')"
            }
          }
        ]
      }
    ],
    "webItems": [
      {
        "icon": {
          "width": 20,
          "height": 20,
          "url": "/images/pluginLogo.png"
        },
        "name": {
          "value": "Power BI Connector for Jira"
        },
        "url": "/plugins/servlet/ac/com.alphaserve.powerbi-connector-jira/browse-bi#!/connectors",
        "location": "system.top.navigation.bar",
        "weight": 50,
        "context": "product",
        "key": "bi-dropdown",
        "conditions": [
          {
            "condition": "user_is_logged_in"
          },
          {
            "or": [
              {
                "condition": "user_is_admin"
              },
              {
                "condition": "entity_property_contains_any_user_group",
                "params": {
                  "propertyKey": "accessToPluginForGroupsArray",
                  "entity": "addon",
                  "objectName": "values"
                }
              },
              {
                "condition": "entity_property_contains_context",
                "params": {
                  "propertyKey": "accessToPluginForUsersArray",
                  "entity": "addon",
                  "objectName": "values",
                  "contextParameter": "user.accountId"
                }
              }
            ]
          }
        ]
      }
    ],
    "generalPages": [
      {
        "key": "browse-bi",
        "name": {
          "value": "Power BI Connector for Jira"
        },
        "url": "/front/web/",
        "location": "none",
        "conditions": [
          {
            "condition": "user_is_logged_in"
          },
          {
            "or": [
              {
                "condition": "user_is_admin"
              },
              {
                "condition": "entity_property_contains_any_user_group",
                "params": {
                  "propertyKey": "accessToPluginForGroupsArray",
                  "entity": "addon",
                  "objectName": "values"
                }
              },
              {
                "condition": "entity_property_contains_context",
                "params": {
                  "propertyKey": "accessToPluginForUsersArray",
                  "entity": "addon",
                  "objectName": "values",
                  "contextParameter": "user.accountId"
                }
              }
            ]
          }
        ]
      }
    ]
  }
  , "regionBaseUrls": { "US": "https://powerbi-cloud-prod.alphaservesp.com", "EU": "https://eu.powerbi.alphaservesp.com", "DE": "https://de.powerbi.alphaservesp.com", "AU": "https://au.powerbi.alphaservesp.com", "SG": "https://sg.powerbi.alphaservesp.com", "GB": "https://gb.powerbi.alphaservesp.com" }
}
