{
  "key": "com.assertthat.jira.bdd",
  "baseUrl": "https://bdd.assertthat.app",
  "name": "AssertThat - BDD, Cucumber & Test Management for Jira",
  "description": "#1 BDD & Cucumber App supporting User Story Collaboration, Test Automation, Test Management and Reporting tools all in Jira",
  "enableLicensing": true,
  "apiMigrations": {
    "gdpr": true,
    "context-qsh": true,
    "signed-install": true
  },
  "vendor": {
    "name": "AssertThat",
    "url": "https://www.assertthat.com/"
  },
  "links": {
    "self": "https://www.assertthat.com/assertthat-bdd-jira-plugin"
  },
  "authentication": {
    "type": "jwt"
  },
  "lifecycle": {
    "installed": "/installed",
    "uninstalled": "/uninstalled",
    "enabled":"/enabled",
    "disabled":"/disabled"
  },
  "scopes": [
    "read",
    "write",
    "ACT_AS_USER",
    "ADMIN"
  ],
  "translations": {
    "paths": {
      "es-ES": "/i18n/es_ES.json",
      "fr-FR": "/i18n/fr_FR.json",
      "pt-PT": "/i18n/pt_PT.json",
      "de-DE": "/i18n/de_DE.json"
    }
  },
  "modules": {
    "jiraEntityProperties": [
      {
        "key": "assertthat-bdd-project-settings",
        "name": {
          "value": "AssertThat Settings",
          "i18n": "settings"
        },
        "entityType": "project",
        "keyConfigurations": [
          {
            "propertyKey": "com.assertthat.bdd.settings",
            "extractions": [
              {
                "objectName": "enabled",
                "type": "string"
              }
            ]
          }
        ]
      },
      {
        "key": "assertthat-bdd-project-scenarios",
        "name": {
          "value": "AssertThat Scenarios",
          "i18n": "entity.scenarios"
        },
        "entityType": "issue",
        "keyConfigurations": [
          {
            "propertyKey": "assertthat-scenarios",
            "extractions": [
              {
                "objectName": "failed",
                "type": "number"
              },
              {
                "objectName": "passed",
                "type": "number"
              },
              {
                "objectName": "in_progress",
                "type": "number"
              },
              {
                "objectName": "not_run",
                "type": "number"
              },
              {
                "objectName": "total",
                "type": "number"
              },
              {
                "objectName": "automated",
                "type": "number"
              },
              {
                "objectName": "manual",
                "type": "number"
              },
              {
                "objectName": "avg_times_failed_auto",
                "type": "number"
              },
              {
                "objectName": "avg_times_failed_manual",
                "type": "number"
              },
              {
                "objectName": "avg_times_passed_auto",
                "type": "number"
              },
              {
                "objectName": "avg_times_passed_manual",
                "type": "number"
              },
              {
                "objectName": "avg_times_passed",
                "type": "number"
              },
              {
                "objectName": "failed_auto",
                "type": "number"
              },
              {
                "objectName": "passed_auto",
                "type": "number"
              },
              {
                "objectName": "failed_manual",
                "type": "number"
              },
              {
                "objectName": "passed_manual",
                "type": "number"
              },
              {
                "objectName": "in_progress_manual",
                "type": "number"
              },
              {
                "objectName": "in_progress_auto",
                "type": "number"
              },
              {
                "objectName": "not_run_auto",
                "type": "number"
              },
              {
                "objectName": "not_run_manual",
                "type": "number"
              },
              {
                "objectName": "tags",
                "type": "text"
              },
              {
                "objectName": "status",
                "type": "text"
              },
              {
                "objectName": "status_ind",
                "type": "number"
              }

            ]
          }
        ]
      }
    ],
    "jiraProjectAdminTabPanels": [
      {
        "location": "projectgroup4",
        "url": "/project/{project.id}/admin",
        "weight": 100,
        "name": {
          "value": "AssertThat Integration",
          "i18n": "integration"
        },
        "key": "assertthat-admin",
        "conditions": [
          {
            "and": [
              {
                "or": [
                  {
                    "condition": "user_is_project_admin"
                  },
                  {
                    "condition": "user_is_admin"
                  }
                ]
              },
              {
                "condition": "addon_is_licensed"
              },
              {
                "condition": "project_type",
                "params": {
                  "projectTypeKey": "service_desk"
                },
                "invert": "true"
              }
            ]
          }
        ]
      }
    ],
    "jiraProjectPages": [
      {
        "key": "features-page-jira-proj",
        "name": {
          "value": "Features",
          "i18n": "features"
        },
        "url": "/project/{project.id}/features",
        "iconUrl": "/images/icon.svg",
        "weight": 1,
        "conditions": [
          {
            "and": [
              {
                "condition": "user_is_logged_in"
              },
              {
                "condition": "addon_is_licensed"
              },
              {
                "condition": "entity_property_equal_to",
                "params": {
                  "entity": "project",
                  "propertyKey": "com.assertthat.bdd.settings",
                  "objectName": "enabled",
                  "value": "true"
                }
              },
              {
                "condition": "project_type",
                "params": {
                  "projectTypeKey": "service_desk"
                },
                "invert": "true"
              }
            ]
          }
        ]
      }
    ],
    "webPanels": [
      {
        "key": "assertthat-bdd-issue-left-panel",
        "location": "atl.jira.view.issue.left.context",
        "name": {
          "value": "Acceptance tests",
          "i18n": "acceptance-tests"
        },
        "url": "/project/{project.id}/issue/scenarios?issueKey={issue.key}",
        "conditions": [
          {
            "and": [
              {
                "condition": "user_is_logged_in"
              },
              {
                "condition": "addon_is_licensed"
              },
              {
                "condition": "entity_property_equal_to",
                "params": {
                  "entity": "project",
                  "propertyKey": "com.assertthat.bdd.settings",
                  "objectName": "enabled",
                  "value": "true"
                }
              },
              {
                "condition": "project_type",
                "params": {
                  "projectTypeKey": "service_desk"
                },
                "invert": "true"
              }
            ]
          }
        ]
      },
      {
        "key": "assertthat-bdd-issue-right-panel",
        "location": "atl.jira.view.issue.right.context",
        "name": {
          "value": "Test Status",
          "i18n": "status"
        },
        "url": "/project/{project.id}/issue/status?issueKey={issue.key}",
        "conditions": [
          {
            "and": [
              {
                "condition": "user_is_logged_in"
              },
              {
                "condition": "addon_is_licensed"
              },
              {
                "condition": "entity_property_equal_to",
                "params": {
                  "entity": "project",
                  "propertyKey": "com.assertthat.bdd.settings",
                  "objectName": "enabled",
                  "value": "true"
                }
              },
              {
                "condition": "project_type",
                "params": {
                  "projectTypeKey": "service_desk"
                },
                "invert": "true"
              }
            ]
          }
        ]
      }
    ],
    "jiraReports": [
      {
        "url": "/project/{project.id}/report/runs",
        "description": {
          "value": "Shows the automated test results, displays execution trends and provides test report analysis. This helps your team investigate failed automated tests, link tests to defects and assign tests to members of your team for investigation."
        },
        "reportCategory": "agile",
        "thumbnailUrl": "/images/chart.svg",
        "name": {
          "value": "Automated tests report",
          "i18n": "report"
        },
        "key": "report-assertthat-bdd",
        "conditions": [
          {
            "and": [
              {
                "condition": "user_is_logged_in"
              },
              {
                "condition": "addon_is_licensed"
              },
              {
                "condition": "entity_property_equal_to",
                "params": {
                  "entity": "project",
                  "propertyKey": "com.assertthat.bdd.settings",
                  "objectName": "enabled",
                  "value": "true"
                }
              },
              {
                "condition": "project_type",
                "params": {
                  "projectTypeKey": "service_desk"
                },
                "invert": "true"
              }
            ]
          }
        ]
      }
    ],
    "jiraIssueContents": [
      {
        "icon": {
          "width": 24,
          "height": 24,
          "url": "/images/icon.svg"
        },
        "target": {
          "type": "web_panel",
          "url": "/project/{project.id}/issue/scenarios?issueKey={issue.key}"
        },
        "tooltip": {
          "value": "Acceptance Tests"
        },
        "name": {
          "value": "Acceptance Tests"
        },
        "conditions": [
          {
            "and": [
              {
                "condition": "user_is_logged_in"
              },
              {
                "condition": "addon_is_licensed"
              },
              {
                "condition": "entity_property_equal_to",
                "params": {
                  "entity": "project",
                  "propertyKey": "com.assertthat.bdd.settings",
                  "objectName": "enabled",
                  "value": "true"
                }
              },
              {
                "condition": "project_type",
                "params": {
                  "projectTypeKey": "service_desk"
                },
                "invert": "true"
              }
            ]
          }
        ],
        "key": "assertthat-bdd-new-issue-left-panel"
      }
    ],
    "jiraDashboardItems": [
      {
        "name" : {
          "value" : "AssertThat - Features/Scenarios Count",
          "i18n" : "gadget-features-scenarios-count-name"
        },
        "url" : "/gadgets/features-scenarios-count?dashboard={dashboard.id}&dashboardItem={dashboardItem.id}",
        "key" : "at-gadget-features-scenarios-count",
        "description" : {
          "value" : "Features and scenarios count per project",
          "i18n" : "gadget-features-scenarios-count-description"
        },
        "thumbnailUrl": "/images/gadget-features-scenarios-count.png",
        "configurable" : true
      },
      {
        "name" : {
          "value" : "AssertThat - Automated Runs Statistics for Project",
          "i18n" : "gadget-automated-stats-project-name"
        },
        "url" : "/gadgets/automated-stats-project?dashboard={dashboard.id}&dashboardItem={dashboardItem.id}",
        "key" : "at-gadget-automated-stats-project",
        "description" : {
          "value" : "Automated scenarios execution statistics over time for selected project",
          "i18n" : "gadget-automated-stats-project-description"
        },
        "thumbnailUrl": "/images/gadget-automated-stats-project.png",
        "configurable" : true
      },
      {
        "name" : {
          "value" : "AssertThat - Number of times in status",
          "i18n" : "gadget-number-of-times-in-status-name"
        },
        "url" : "/gadgets/number-of-times-in-status?dashboard={dashboard.id}&dashboardItem={dashboardItem.id}",
        "key" : "at-gadget-number-of-times-in-status",
        "description" : {
          "value" : "Number of times scenario been in status on the Jira issue",
          "i18n" : "gadget-number-of-times-in-status-description"
        },
        "thumbnailUrl": "/images/gadget-number-of-times-in-status.png",
        "configurable" : true
      },
      {
        "name" : {
          "value" : "AssertThat - Overall coverage",
          "i18n" : "gadget-overall-coverage-name"
        },
        "url" : "/gadgets/overall-coverage?dashboard={dashboard.id}&dashboardItem={dashboardItem.id}",
        "key" : "at-gadget-overall-coverage",
        "description" : {
          "value" : "Overall coverage of Jira issues by AssertThat scenarios",
          "i18n" : "gadget-overall-coverage-description"
        },
        "thumbnailUrl": "/images/gadget-overall-coverage.png",
        "configurable" : true
      },
      {
        "name" : {
          "value" : "AssertThat - Automated/manual coverage",
          "i18n" : "gadget-automated-coverage-name"
        },
        "url" : "/gadgets/automated-coverage?dashboard={dashboard.id}&dashboardItem={dashboardItem.id}",
        "key" : "at-gadget-automated-coverage",
        "description" : {
          "value" : "Automated/manual coverage of Jira issues by AssertThat scenarios",
          "i18n" : "gadget-automated-coverage-description"
        },
        "thumbnailUrl": "/images/gadget-automated-coverage.png",
        "configurable" : true
      },
      {
        "name" : {
          "value" : "AssertThat - Scenarios execution status",
          "i18n" : "gadget-execution-statuses-name"
        },
        "url" : "/gadgets/execution-statuses?dashboard={dashboard.id}&dashboardItem={dashboardItem.id}",
        "key" : "at-gadget-execution-statuses",
        "description" : {
          "value" : "Execution statuses of scenarios linked to Jira issues within a JQL filter",
          "i18n" : "gadget-execution-statuses-description"
        },
        "thumbnailUrl": "/images/gadget-execution-statuses.png",
        "configurable" : true
      }
    ],
    "webhooks": [
      {
        "event": "project_deleted",
        "url": "/webhooks/project/{project.id}/deleted"
      },
      {
        "event": "jira:issue_created",
        "url": "/webhooks/project/{project.id}/issue/{issue.key}/issue-created",
        "excludeBody": false,
        "filter": "project.property['com.assertthat.bdd.settings'].enabled= 'true'"
      },
      {
        "event": "jira:issue_updated",
        "url": "/webhooks/project/{project.id}/issue/{issue.key}/issue-updated",
        "excludeBody": false,
        "filter": "project.property['com.assertthat.bdd.settings'].enabled= 'true'"
      }
    ]
  }
}