{
  "key": "easy-draft-for-jira",
  "baseUrl": "https://easy-draft.easyworksoftware.com",
  "name": "Easy Draft for Jira",
  "description": "Jira cloud addon to allow users to create drafts for issues",
  "enableLicensing": false,
  "vendor": {
    "name": "Shinetech Software",
    "url": "https://www.shinetechsoftware.com"
  },
  "links": {
    "self": "https://easy-draft.easyworksoftware.com/atlassian-connect.json",
    "documentation": "https://shineatlas.atlassian.net/wiki/spaces/EDFJ/pages/1482653712"
  },
  "authentication": {
    "type": "jwt"
  },
  "apiMigrations": {
    "context-qsh": true,
    "signed-install": true
  },
  "lifecycle": {
    "installed": "/installed",
    "uninstalled": "/uninstalled"
  },
  "scopes": ["READ", "WRITE", "DELETE", "ACT_AS_USER", "ADMIN"],
  "modules": {
    "webItems": [
      {
        "key": "profile-menu-my-drafts",
        "location": "system.user.options/personal",
        "name": {
          "value": "My drafts (press X to create)",
          "i18n": "menu-profile-my-drafts.title"
        },
        "target": {
          "type": "page"
        },
        "context": "page",
        "url": "global-my-issue-drafts"
      },
      {
        "key": "apps-menu-create-draft",
        "location": "system.top.navigation.bar",
        "name": {
          "value": "Create draft",
          "i18n": "menu-apps-create-draft.title"
        },
        "icon": {
          "width": 16,
          "height": 16,
          "url": "/images/easy-draft-logo-icon.png"
        },
        "conditions": [{
          "condition": "user_is_logged_in"
        }],
        "target": {
          "type": "dialogmodule",
          "options": {
            "key": "dialog-create-draft"
          }
        }
      }
    ],
    "postInstallPage": {
      "key": "post-install-page",
      "url": "/get-start",
      "name": {
        "value": "Easy Draft for Jira - Get Start",
        "i18n": "get-start-page.title"
      },
      "conditions": [
        {
          "condition": "user_is_logged_in"
        }
      ]
    },
    "generalPages": [
      {
        "key": "global-draft-issue",
        "location": "none",
        "name": {
          "value": "Draft Issue",
          "i18n": "general-sub-page.draft-issue.title"
        },
        "url": "/global-draft-issue",
        "conditions": [{
          "condition": "user_is_logged_in"
        }]
      },
      {
        "key": "global-my-issue-drafts",
        "location": "none",
        "name": {
          "value": "My drafts",
          "i18n": "general-sub-page.my-issue-drafts.title"
        },
        "url": "/global-my-issue-drafts",
        "conditions": [{
          "condition": "user_is_logged_in"
        }]
      },
      {
        "key": "global-deleted-issue-drafts",
        "location": "none",
        "name": {
          "value": "Deleted drafts",
          "i18n": "general-sub-page.deleted-issue-drafts.title"
        },
        "url": "/global-deleted-issue-drafts",
        "conditions": [{
          "condition": "user_is_logged_in"
        }]
      }
    ],
    "jiraProjectPages": [
      {
        "key": "project-drafts",
        "name": {
          "value": "My drafts",
          "i18n": "project-page.title"
        },
        "url": "/project-drafts?projectId={project.id}",
        "iconUrl": "/images/easy-draft-button-icon.png",
        "weight": 1
      }
    ],
    "dialogs": [
      {
        "key": "dialog-create-draft",
        "url": "/dialog-create-draft",
        "options": {
          "chrome": true,
          "width": "800px",
          "height": "55%",
          "header": {
            "value": "Create draft",
            "i18n": "create-draft.form-header-title-label.text"
          }
        }
      }
    ],
    "keyboardShortcuts": [
      {
        "key": "keyboard-shortcut-create-draft",
        "name": {
          "value": "Create draft"
        },
        "shortcut": "x",
        "target": {
          "key": "dialog-create-draft"
        },
        "context": "global"
      }
    ]
  },
  "translations": {
    "paths": {
      "en-US": "/i18n/en_US.json"
    }
  }
}