{
    "key": "magebit-servicedesk",
    "name": "Magebit Servicedesk",
    "description": "Magebit Service Desk Application",
    "baseUrl": "https://servicedeskapp.magebit.com",
    "vendor": {
        "name": "Magebit",
        "url": "https://magebit.com"
    },
    "links": {
        "self": "https://servicedeskapp.magebit.com/atlassian-connect.json",
        "homepage": "https://servicedeskapp.magebit.com/atlassian-connect.json"
    },
    "authentication": {
        "type": "jwt"
    },
    "lifecycle": {
        "installed": "/installed"
    },
    "scopes": [
        "act_as_user", "write", "READ", "WRITE"
    ],
    "modules": {
        "dialogs": [
            {
                "key": "notifications-dialog-sd-portal-dialog",
                "url": "/notifications/dialog",
                "options": {
                    "type": "dialog",
                    "options": {
                        "height": "500px",
                        "width": "500px"
                    }
                }
            },
            {
                "key": "ticket-board-dialog-sd-portal-dialog",
                "url": "/tickets/board",
                "options": {
                    "type": "dialog",
                    "options": {
                        "size": "fullscreen",
                        "chrome": true
                    }
                }
            }
        ],
        "serviceDeskPortalHeaders": [
            {
                "key": "notifications-sd-portal-header",
                "url": "/notifications"
            }
        ],
        "serviceDeskPortalUserMenuActions": [
        ],
        "serviceDeskPortalRequestViewPanels": [
            {
                "key": "time-logs-sd-portal-request-view-panel",
                "url": "/request/issue-fields?issue.id={issue.id}&project.id={project.id}&project.key={project.key}"
            }
        ],
        "webItems": [
            {
                "key": "log-consultation",
                "url": "/ticket/consultation?issue={issue.id}",
                "location": "operations-operations",
                "weight": 10,
                "name": {
                    "value": "Log consultation"
                },
                "target": {
                    "type": "dialog",
                    "options": {
                        "height": "560px",
                        "width": "660px",
                        "chrome": false
                    }
                }
            },
            {
                "key": "organization-tasks",
                "url": "/organization/ticket-modal?issue={issue.id}",
                "location": "operations-operations",
                "weight": 20,
                "name": {
                    "value": "Tasks from this organization"
                },
                "target": {
                    "type": "dialog",
                    "options": {
                        "height": "1px",
                        "width": "1px",
                        "chrome": false
                    }
                }
            }
        ],
        "jiraIssueContexts": [
            {
                "icon": {
                    "width": 24,
                    "height": 24,
                    "url": "time-log-icon.svg"
                },
                "content": {
                    "type": "label",
                    "label": {
                        "value": "Billable, internal, and total time logs"
                    }
                },
                "target": {
                    "type": "web_panel",
                    "url": "/ticket/view/time-logs?issue={issue.key}&project.id={project.id}&project.key={project.key}"
                },
                "name": {
                    "value": "Detailed Time Logs"
                },
                "key": "time-logs-web-panel"
            }
        ],
        "jiraDashboardItems": [
            {
                "name" : {
                    "value" : "QuickSight Dashboard"
                },
                "url" : "/dashboard/quicksight?dashboard={dashboard.id}&dashboardItem={dashboardItem.id}",
                "key" : "magebit-dashboard-quicksight",
                "description" : {
                    "value" : "Display one of QuickSight dashboards"
                },
                "configurable" : false,
                "thumbnailUrl": "/thumbnail"
            }
        ]
    }
}
