{
  "key": "com.jibrok.jira.plugins.time-between-dates",
  "baseUrl": "https://time-between-dates-cloud.jibrok.com",
  "name": "Time between dates field",
  "description": "<b>Set the start and end dates(issue fields). The app will calculate the time between them, how much time has passed and how much is still left.</b><p> Tracks the time between two dates from the issue fields. These can be as system fields - the date of creation, updates, and the solution of the request. So are any datetime custom fields.</p> <p>You can display 'Time between dates' fields on any issue screen, dashboards, or report. You can search and sort by fields using special JQL queries. Time can also be exported(time spent, left time, goal time).</p><p>To create new fields (Time between dates), please click the button below - <b>Configure</b>.</p>  <p><br/><a href='https://jibrok.com/docs/time-between-dates-cloud/time-between-dates-field-create/'>\uD83D\uDCD6 Time between dates - How to create field?</a></p> <p><br/> See also our similar apps: <ul><li><a href='https://marketplace.atlassian.com/apps/1220908'>Time in status</a></li><li><a href='https://marketplace.atlassian.com/apps/1225684'>Timer field | SLA</a></li><li><a href='https://marketplace.atlassian.com/apps/1225685'>Stopwatch</a></li></ul></p> <p><br/> <a href='https://jibrok.atlassian.net/servicedesk/customer/portal/9/group/41/create/138'>\uD83C\uDF24 Contact us for a discount on group licenses.</a></p> ",
  "apiMigrations": {
    "context-qsh": true,
    "signed-install": true
  },
  "vendor": {
    "name": "JiBrok",
    "url": "https://jibrok.com/"
  },
  "enableLicensing": true,
  "icon": {
    "width": 80,
    "height": 80,
    "url": "https://jibrok.com/uploads/time-between-dates-cloud/time-between-dates.png"
  },
  "links": {
    "self": "https://time-between-dates-cloud.jibrok.com/atlassian-connect.json",
    "documentation": "https://jibrok.com/docs/time-between-dates-cloud/overview/"
  },
  "lifecycle": {
    "installed": "/installed",
    "uninstalled": "/uninstalled",
    "enabled": "/enabled",
    "disabled": "/disabled"
  },
  "authentication": {
    "type": "jwt"
  },
  "scopes": [
    "READ",
    "WRITE"
  ],
  "modules": {
    "webhooks": [
      {
        "event": "jira:issue_created",
        "url": "/webhook-issue-created?issueId={issue.id}",
        "excludeBody": false,
        "conditions":[
          {"condition": "addon_is_licensed"}
        ]
      },{
        "event": "jira:issue_updated",
        "url": "/webhook-issue-updated?issueId={issue.id}",
        "excludeBody": false,
        "conditions":[
          {"condition": "addon_is_licensed"}
        ]
      },{
        "event": "jira:issue_deleted",
        "url": "/webhook-issue-deleted?issueId={issue.id}",
        "excludeBody": false,
        "conditions":[
          {"condition": "addon_is_licensed"}
        ]
      },{
        "event": "comment_created",
        "url": "/webhook-issue-comment_created?issueId={issue.id}",
        "excludeBody": false,
        "conditions":[
          {"condition": "addon_is_licensed"}
        ]
      }
    ],
    "webSections": [
      {
        "key": "time-between-dates-section",
        "name": {
          "value": "Time between dates"
        },
        "location": "admin_plugins_menu",
        "conditions": [
          {
            "or": [
              {
                "condition": "user_is_admin"
              },
              {
                "condition": "user_is_sysadmin"
              }
            ]
          }
        ]
      }
    ],
    "webItems": [
      {
        "key": "configure-page-item",
        "context": "page",
        "name": {
          "value": "Time between dates"
        },
        "url": "configure--adminPages",
        "location": "admin_plugins_menu/time-between-dates-section",
        "icon": {
          "width": 80,
          "height": 80,
          "url": "https://jibrok.com/uploads/time-between-dates-cloud/time-between-dates.png"
        },
        "conditions": [
          {
            "or": [
              {
                "condition": "user_is_admin"
              },
              {
                "condition": "user_is_sysadmin"
              }
            ]
          }
        ]
      },{
        "key": "status-page",
        "context": "page",
        "name": {
          "value": "Status page (Time between dates)"
        },
        "url": "https://jibrok.statuspage.io",
        "location": "admin_plugins_menu/time-between-dates-section",
        "conditions": [
          {
            "or": [
              {
                "condition": "user_is_admin"
              },
              {
                "condition": "user_is_sysadmin"
              }
            ]
          }
        ]
      }
    ],
    "postInstallPage": {
      "key": "post-install-page",
      "conditions": [
        {
          "or": [
            {
              "condition": "user_is_admin"
            },
            {
              "condition": "user_is_sysadmin"
            }
          ]
        }
      ],
      "name": {
        "value": "Time between dates Post-Install Page"
      },
      "url": "/main"
    },
    "adminPages": [
      {
        "url": "/main?key=configure--adminPages",
        "key": "configure--adminPages",
        "conditions": [
          {
            "or": [
              {
                "condition": "user_is_admin"
              },
              {
                "condition": "user_is_sysadmin"
              }
            ]
          }
        ],
        "name": {
          "value": "Time between dates - configure page"
        }
      }
    ],
    "configurePage": {
      "key": "configure-page",
      "name": {
        "value": "Time between dates Post-Install Page"
      },
      "url": "/main",
      "conditions": [
        {
          "or": [
            {
              "condition": "user_is_admin"
            },
            {
              "condition": "user_is_sysadmin"
            }
          ]
        }
      ]
    },
    "generalPages": [
      {
        "key": "configure-page-general",
        "name": {
          "value": "Time between dates"
        },
        "url": "/main",
        "icon": {
          "width": 80,
          "height": 80,
          "url": "https://jibrok.com/uploads/time-between-dates-cloud/time-between-dates.png"
        },
        "conditions": [
          {
            "or": [
              {
                "condition": "user_is_admin"
              },
              {
                "condition": "user_is_sysadmin"
              }
            ]
          }
        ]
      }
    ]
  }
}

