{
  "author": "DropSnip",
  "description": "Attach screenshots to Jira issues for bug reports and documentation.",
  "icon": "ticket.fill",
  "id": "com.dropsnip.jira",
  "name": "Jira Attachment",
  "openURLTemplate": null,
  "settings": [
    {
      "defaultValue": null,
      "isSecret": false,
      "key": "domain",
      "label": "Jira Domain (e.g. company.atlassian.net)",
      "type": "text"
    },
    {
      "defaultValue": null,
      "isSecret": false,
      "key": "issueKey",
      "label": "Issue Key (e.g. PROJ-123)",
      "type": "text"
    },
    {
      "defaultValue": null,
      "isSecret": false,
      "key": "email",
      "label": "Email",
      "type": "text"
    },
    {
      "defaultValue": null,
      "isSecret": true,
      "key": "apiToken",
      "label": "API Token",
      "type": "secret"
    }
  ],
  "shellCommand": null,
  "type": "urlAction",
  "urlBodyType": "multipartFormData",
  "urlEndpoint": "https://{{setting:domain}}/rest/api/3/issue/{{setting:issueKey}}/attachments",
  "urlHeaders": {
    "Authorization": "Basic {{setting:apiToken}}",
    "X-Atlassian-Token": "no-check"
  },
  "urlMethod": "POST",
  "version": "1.0.0"
}