{
  "key": "stepwise-job",
  "baseUrl": "https://jira-addon-stage.stepwisejob.com",
  "name": "Stepwise Job for Jira Cloud",
  "description": "Jira Cloud Addon to help users to manage issue dependencies with stepwise job",
  "enableLicensing": false,
  "vendor": {
    "name": "Shinetech Software",
    "url": "https://www.shinetechsoftware.com"
  },
  "links": {
    "self": "https://jira-addon-stage.stepwisejob.com/atlassian-connect.json",
    "documentation": "https://shineatlas.atlassian.net/wiki/spaces/SJ/pages/1412759593/User+Guide"
  },
  "authentication": {
    "type": "jwt"
  },
  "apiMigrations": {
    "context-qsh": true,
    "signed-install": true
  },
  "lifecycle": {
    "installed": "/installed",
    "uninstalled": "/uninstalled"
  },
  "scopes": ["READ", "WRITE", "DELETE", "ACT_AS_USER", "ADMIN"],
  "modules": {
    "webSections": [
      {
        "key": "stepwise-job-admin-section",
        "location": "admin_plugins_menu",
        "name": {
          "value": "Stepwise Job",
          "i18n": "admin.title"
        }
      }
    ],
    "generalPages": [
      {
        "key": "stepwisejob-global",
        "location": "system.top.navigation.bar",
        "name": {
          "value": "Stepwise Jobs",
          "i18n": "global.title"
        },
        "url": "/global-page",
        "icon": {
          "width": 16,
          "height": 16,
          "url": "/images/icon-stepwise-job.png"
        },
        "conditions": [{
          "condition": "user_is_logged_in"
        }]
      }
    ],
    "jiraProjectPages": [
      {
        "key": "stepwisejob-project",
        "name": {
          "value": "Stepwise Jobs",
          "i18n": "project.title"
        },
        "url": "/project-page?projectId={project.id}",
        "iconUrl": "/images/icon-stepwise-job.png",
        "weight": 100
      }
    ],
    "jiraIssueContents": [
      {
        "icon": {
          "width": 24,
          "height": 24,
          "url": "/images/icon-stepwise-job-add.png"
        },
        "target": {
          "type": "web_panel",
          "url": "/issue-left-panel"
        },
        "tooltip": {
          "value": "Stepwise Job",
          "i18n": "panel.title"
        },
        "conditions": [
          {
            "condition": "user_is_logged_in"
          }
        ],
        "contentPresentConditions": [
          {
            "condition": "entity_property_equal_to",
            "params": {
              "entity": "issue",
              "propertyKey": "stepwisejob",
              "objectName": "present",
              "value": "true"
            }
          }
        ],
        "jiraNativeAppsEnabled": false,
        "name": {
          "value": "Stepwise Job",
          "i18n": "panel.title"
        },
        "key": "stepwise-job-issue-left-panel"
      }
    ],
    "dialogs": [
      {
        "key": "dialog-stepwise-job-edit",
        "url": "/job-edit",
        "options": {
          "header": {
            "value": "Edit Stepwise Job",
            "i18n": "edit-dialog.title"
          }
        }
      },
      {
        "key": "dialog-stepwise-job-view",
        "url": "/job-view",
        "options": {
          "header": {
            "value": "View Stepwise Job",
            "i18n": "view-dialog.title"
          }
        }
      }
    ],
    "jiraEntityProperties": [
      {
        "key": "issue-stepwisejob",
        "name": {
          "value": "Stepwise Job"
        },
        "entityType": "issue",
        "keyConfigurations": [
          {
            "propertyKey": "stepwisejob",
            "extractions": [
              {
                "objectName": "present",
                "type": "number"
              },
              {
                "objectName": "enabled",
                "type": "number"
              },
              {
                "objectName": "jobId",
                "type": "number"
              },
              {
                "objectName": "completedStepCount",
                "type": "number"
              },
              {
                "objectName": "uncompletedStepCount",
                "type": "number"
              },
              {
                "objectName": "allStepCount",
                "type": "number"
              },
              {
                "objectName": "allStepAndGroupCount",
                "type": "number"
              },
              {
                "objectName": "createdByAccountId",
                "type": "string"
              },
              {
                "objectName": "updatedByAccountId",
                "type": "string"
              },
              {
                "objectName": "createdDateTime",
                "type": "date"
              },
              {
                "objectName": "updatedDateTime",
                "type": "date"
              }
            ]
          }
        ]
      }
    ],
    "webhooks": [
      {
        "event": "jira:issue_created",
        "url": "/webhook-received",
        "excludeBody": false
      },
      {
        "event": "jira:issue_updated",
        "url": "/webhook-received",
        "excludeBody": false
      },
      {
        "event": "jira:issue_deleted",
        "url": "/webhook-received",
        "excludeBody": false
      }
    ]
  },
  "translations": {
    "paths": {
      "en-US": "/i18n/1.0/en_US.json"
    }
  }
}