{
    "name": "SoftComply Risk Manager Cloud Add-on",
    "description": "SoftComply Risk Manager is an add-on for JIRA that helps identify, manage and track software risks of your medical devices",
    "version": "1.16.1",
    "key": "com-softcomply-riskmanager-cloud",
    "vendor": {
        "name": "SoftComply",
        "url": "https://www.softcomply.com"
    },
    "links": {
        "self": "https://risk-server.softcomply.net/atlassian-connect.json",
        "documentation": "https://www.softcomply.com"
    },
    "baseUrl": "https://risk-server.softcomply.net",
    "authentication": {
        "type": "jwt"
    },
    "enableLicensing": true,
    "scopes": [
        "READ",
        "WRITE",
        "PROJECT_ADMIN",
        "ADMIN",
        "ACT_AS_USER"
    ],
    "lifecycle": {
        "installed": "/installed",
        "uninstalled": "/uninstalled",
        "enabled": "/routes/trawler/state",
        "disabled": "/routes/trawler/state"
    },
    "apiMigrations": {
        "gdpr": true,
        "context-qsh": true,
        "signed-install": true
    },
    "modules": {
        "jiraIssueFields": [
            {
                "key": "severity",
                "name": {
                    "value": "Severity"
                },
                "description": {
                    "value": "Created by SoftComply Risk Manager."
                },
                "type": "single_select"
            },
            {
                "key": "probability",
                "name": {
                    "value": "Probability"
                },
                "description": {
                    "value": "Created by SoftComply Risk Manager."
                },
                "type": "single_select"
            },
            {
                "key": "issue-key",
                "name": {
                    "value": "ID#"
                },
                "description": {
                    "value": "Created by SoftComply Risk Manager."
                },
                "type": "text"
            },
            {
                "key": "hazard",
                "name": {
                    "value": "Hazard"
                },
                "description": {
                    "value": "Created by SoftComply Risk Manager."
                },
                "type": "text"
            },
            {
                "key": "hazard2",
                "name": {
                    "value": "Hazard"
                },
                "description": {
                    "value": "Created by SoftComply Risk Manager."
                },
                "type": "text"
            },
            {
                "key": "actualHazard",
                "name": {
                    "value": "Hazard"
                },
                "description": {
                    "value": "Created by SoftComply Risk Manager."
                },
                "type": "text"
            },
            {
                "key": "component",
                "name": {
                    "value": "Component"
                },
                "description": {
                    "value": "Created by SoftComply Risk Manager."
                },
                "type": "text"
            },
            {
                "key": "cmp-func-description",
                "name": {
                    "value": "Component Function Description"
                },
                "description": {
                    "value": "Created by SoftComply Risk Manager."
                },
                "type": "text"
            },
            {
                "key": "hazard-final",
                "name": {
                    "value": "Post Control Final Hazard"
                },
                "description": {
                    "value": "Created by SoftComply Risk Manager."
                },
                "type": "text"
            },
            {
                "key": "failure-mode",
                "name": {
                    "value": "Failure Mode"
                },
                "description": {
                    "value": "Created by SoftComply Risk Manager."
                },
                "type": "text"
            },
            {
                "key": "situation",
                "name": {
                    "value": "Hazardous Situation"
                },
                "description": {
                    "value": "Created by SoftComply Risk Manager."
                },
                "type": "text"
            },
            {
                "key": "harm",
                "name": {
                    "value": "Harm"
                },
                "description": {
                    "value": "Created by SoftComply Risk Manager."
                },
                "type": "text"
            },
            {
                "key": "cause",
                "name": {
                    "value": "Cause"
                },
                "description": {
                    "value": "Created by SoftComply Risk Manager."
                },
                "type": "text"
            },
            {
                "key": "mitigation",
                "name": {
                    "value": "Mitigation Action"
                },
                "description": {
                    "value": "Created by SoftComply Risk Manager."
                },
                "type": "text"
            },
            {
                "key": "verification",
                "name": {
                    "value": "Verification"
                },
                "description": {
                    "value": "Created by SoftComply Risk Manager."
                },
                "type": "text"
            },
            {
                "key": "severity-final",
                "name": {
                    "value": "Severity (Final)"
                },
                "description": {
                    "value": "Created by SoftComply Risk Manager."
                },
                "type": "single_select"
            },
            {
                "key": "probability-final",
                "name": {
                    "value": "Probability (Final)"
                },
                "description": {
                    "value": "Created by SoftComply Risk Manager."
                },
                "type": "single_select"
            },
            {
                "key": "risk-class",
                "name": {
                    "value": "Risk (initial)"
                },
                "description": {
                    "value": "Created by SoftComply Risk Manager."
                },
                "type": "single_select"
            },
            {
                "key": "risk-class-final",
                "name": {
                    "value": "Risk (residual)"
                },
                "description": {
                    "value": "Created by SoftComply Risk Manager."
                },
                "type": "single_select"
            }
        ],
        "webItems": [
            {
                "key": "get-support-link",
                "location": "admin_plugins_menu/admin-section",
                "name": {
                    "value": "Get Support"
                },
                "url": "https://softcomply.com/support/",
                "conditions": [
                    {
                        "condition": "addon_is_licensed"
                    }
                ]
            }
        ],
        "webPanels": [
            {
                "key": "risk-matrix",
                "url": "/routes/matrix?key={project.key}",
                "location": "com-softcomply-riskmanager-cloud__risk-matrix-link",
                "name": {
                    "value": "Risk Matrix"
                },
                "conditions": [
                    {
                        "condition": "entity_property_equal_to",
                        "params": {
                            "entity": "project",
                            "propertyKey": "com-softcomply-riskmanager-cloud",
                            "objectName": "projectType",
                            "value": "RISK"
                        }
                    },
                    {
                        "condition": "addon_is_licensed"
                    }
                ]
            },
            {
                "key": "plugin-disabled",
                "url": "/routes/disabled",
                "location": "com-softcomply-riskmanager-cloud__plugin-disabled",
                "name": {
                    "value": "Plugin Disabled"
                }
            },
            {
                "key": "risk-table",
                "url": "/routes/table?key={project.key}&ac.filter={ac.filter}",
                "location": "com-softcomply-riskmanager-cloud__risk-table-link",
                "name": {
                    "value": "Risk Table"
                },
                "conditions": [
                    {
                        "condition": "entity_property_equal_to",
                        "params": {
                            "entity": "project",
                            "propertyKey": "com-softcomply-riskmanager-cloud",
                            "objectName": "projectType",
                            "value": "RISK"
                        }
                    },
                    {
                        "condition": "addon_is_licensed"
                    }
                ]
            },
            {
                "key": "rm-settings-panel",
                "location": "com-softcomply-riskmanager-cloud__rm-settings-panel",
                "url": "/rm-settings",
                "name": {
                    "value": "Risk Manager Settings"
                },
                "conditions": [
                    {
                        "condition": "entity_property_equal_to",
                        "params": {
                            "entity": "project",
                            "propertyKey": "com-softcomply-riskmanager-cloud",
                            "objectName": "projectType",
                            "value": "RISK"
                        }
                    },
                    {
                        "condition": "addon_is_licensed"
                    }
                ]
            },
            {
                "key": "rm-enable-panel",
                "location": "com-softcomply-riskmanager-cloud__rm-enable-panel",
                "url": "/rm-enable",
                "name": {
                    "value": "Enable Risk Management"
                },
                "conditions": [
                    {
                        "condition": "addon_is_licensed"
                    }
                ]
            },
            {
                "key": "rm-residual-risk",
                "location": "atl.jira.view.issue.left.context",
                "url": "routes/panels/risk/{project.key}/{issue.key}/residual",
                "name": {
                    "value": "Residual Risk"
                },
                "conditions": [
                    {
                        "condition": "entity_property_equal_to",
                        "params": {
                            "entity": "project",
                            "propertyKey": "com-softcomply-riskmanager-cloud",
                            "objectName": "projectType",
                            "value": "RISK"
                        }
                    },
                    {
                        "condition": "addon_is_licensed"
                    }
                ]
            },
            {
                "key": "rm-initial-risk",
                "location": "atl.jira.view.issue.left.context",
                "url": "/routes/panels/risk/{project.key}/{issue.key}/initial",
                "name": {
                    "value": "Initial Risk"
                },
                "conditions": [
                    {
                        "condition": "entity_property_equal_to",
                        "params": {
                            "entity": "project",
                            "propertyKey": "com-softcomply-riskmanager-cloud",
                            "objectName": "projectType",
                            "value": "RISK"
                        }
                    },
                    {
                        "condition": "addon_is_licensed"
                    }
                ]
            }
        ],
        "webSections": [
            {
                "key": "admin-section",
                "location": "admin_plugins_menu",
                "name": {
                    "value": "Risk Manager"
                },
                "conditions": [
                    {
                        "condition": "addon_is_licensed"
                    }
                ]
            }
        ],
        "jiraDashboardItems": [
            {
                "key": "rm-dashboard-matrice",
                "configurable": true,
                "description": {
                    "value": "The purpose of this document is to show the risk matrices table."
                },
                "thumbnailUrl": "/images/sidebar-risk-matrix-icon.svg",
                "url": "/routes/risk/matrices/configPage/{dashboard.id}/{dashboardItem.id}",
                "name": {
                    "value": "Risk Matrices"
                },
                "conditions": [
                    {
                        "condition": "addon_is_licensed"
                    }
                ]
            }
        ],
        "dialogs": [
            {
                "key": "general-dialog",
                "url": "/routes/dialog",
                "options": {
                    "chrome": false
                }
            }
        ],
        "webhooks": [
            {
                "event": "project_updated",
                "url": "/routes/trawler/projects"
            },
            {
                "event": "project_deleted",
                "url": "/routes/trawler/projects"
            },
            {
                "event": "jira:issue_created",
                "url": "/routes/trawler/project/{project.key}/issue/{issue.key}"
            },
            {
                "event": "jira:issue_updated",
                "url": "/routes/trawler/project/{project.key}/issue/{issue.key}"
            }
        ],
        "jiraReports": [
            {
                "key": "risk-plan",
                "name": {
                    "value": "Risk Management Plan"
                },
                "description": {
                    "value": "The purpose of this document is to document the planned activities related to Risk Management."
                },
                "url": "/routes/reports/{project.key}/plan",
                "thumbnailUrl": "/images/reports/sidebar-risk-matrix-icon.svg"
            },
            {
                "key": "risk-report",
                "name": {
                    "value": "Risk Management Report"
                },
                "description": {
                    "value": "The purpose of this document is to document the results of the Risk Management activities."
                },
                "url": "/routes/reports/{project.key}/report",
                "thumbnailUrl": "/images/reports/gauge_icon_risk_01.svg"
            }
        ],
        "jiraProjectAdminTabPanels": [
            {
                "key": "rm-settings-panel-link",
                "location": "projectgroup1",
                "url": "/routes/projects/{project.key}/settings",
                "weight": 100,
                "name": {
                    "value": "Risk Manager"
                },
                "conditions": [
                    {
                        "condition": "entity_property_equal_to",
                        "params": {
                            "entity": "project",
                            "propertyKey": "com-softcomply-riskmanager-cloud",
                            "objectName": "projectType",
                            "value": "RISK"
                        }
                    },
                    {
                        "condition": "addon_is_licensed"
                    }
                ]
            },
            {
                "key": "rm-enable-panel-link",
                "location": "projectgroup1",
                "url": "/routes/projects/{project.key}/enable",
                "weight": 100,
                "name": {
                    "value": "Enable Risk Management"
                },
                "conditions": [
                    {
                        "or": [
                            {
                                "condition": "entity_property_exists",
                                "invert": true,
                                "params": {
                                    "entity": "project",
                                    "propertyKey": "sc-risk-manager-project-property"
                                }
                            },
                            {
                                "condition": "entity_property_equal_to",
                                "params": {
                                    "entity": "project",
                                    "propertyKey": "sc-risk-manager-project-property",
                                    "objectName": "enabled",
                                    "value": "false"
                                }
                            }
                        ],
                        "and": [
                            {
                                "condition": "entity_property_exists",
                                "invert": true,
                                "params": {
                                    "entity": "project",
                                    "propertyKey": "com-softcomply-riskmanager-cloud"
                                }
                            }
                        ]
                    },
                    {
                        "condition": "addon_is_licensed"
                    }
                ]
            },
            {
                "key": "rm-enable-panel-disable-link",
                "location": "projectgroup1",
                "url": "/routes/projects/{project.key}/disable",
                "weight": 100,
                "name": {
                    "value": "Disable Risk Management"
                },
                "conditions": [
                    {
                        "condition": "entity_property_equal_to",
                        "params": {
                            "entity": "project",
                            "propertyKey": "com-softcomply-riskmanager-cloud",
                            "objectName": "projectType",
                            "value": "RISK"
                        }
                    },
                    {
                        "condition": "addon_is_licensed"
                    }
                ]
            }
        ],
        "adminPages": [
            {
                "key": "get-started-link",
                "location": "admin_plugins_menu/admin-section",
                "name": {
                    "value": "Get Started"
                },
                "url": "/routes/get-started",
                "conditions": [
                    {
                        "condition": "addon_is_licensed"
                    }
                ]
            }
        ],
        "jiraIssueContents": [
            {
                "icon": {
                    "url": "/images/issueView/gauge_icon_risk_01_Green.svg"
                },
                "target": {
                    "type": "web_panel",
                    "url": "/routes/panels/risk/{project.key}/{issue.key}/residual"
                },
                "tooltip": {
                    "value": "Residual Risk"
                },
                "conditions": [
                    {
                        "condition": "entity_property_equal_to",
                        "params": {
                            "entity": "project",
                            "propertyKey": "com-softcomply-riskmanager-cloud",
                            "objectName": "projectType",
                            "value": "RISK"
                        }
                    },
                    {
                        "condition": "addon_is_licensed"
                    }
                ],
                "contentPresentConditions": [
                    {
                        "condition": "addon_is_licensed"
                    },
                    {
                        "or": [
                            {
                                "and": [
                                    {
                                        "condition": "entity_property_equal_to",
                                        "params": {
                                            "entity": "project",
                                            "propertyKey": "com-softcomply-riskmanager-cloud",
                                            "objectName": "projectType",
                                            "value": "RISK"
                                        }
                                    },
                                    {
                                        "condition": "entity_property_equal_to",
                                        "params": {
                                            "entity": "project",
                                            "propertyKey": "sc-risk-manager-project-config-property",
                                            "objectName": "filterType",
                                            "value": "ISSUE_TYPE"
                                        }
                                    },
                                    {
                                        "condition": "entity_property_equal_to",
                                        "params": {
                                            "entity": "issue",
                                            "propertyKey": "sc-risk-manager-is-risk-issue-property",
                                            "objectName": "isIssueRiskType",
                                            "value": "YES"
                                        }
                                    }
                                ]
                            },
                            {
                                "and": [
                                    {
                                        "condition": "entity_property_equal_to",
                                        "params": {
                                            "entity": "project",
                                            "propertyKey": "com-softcomply-riskmanager-cloud",
                                            "objectName": "projectType",
                                            "value": "RISK"
                                        }
                                    },
                                    {
                                        "condition": "entity_property_equal_to",
                                        "params": {
                                            "entity": "project",
                                            "propertyKey": "sc-risk-manager-project-config-property",
                                            "objectName": "filterType",
                                            "value": "RESOLUTION"
                                        }
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "condition": "entity_property_exists",
                        "params": {
                            "entity": "issue",
                            "propertyKey": "sc-risk-manager-is-risk-issue-property"
                        }
                    }
                ],
                "name": {
                    "value": "Residual Risk"
                },
                "key": "rm-residual-risk-quick-add-button"
            },
            {
                "icon": {
                    "url": "/images/issueView/gauge_icon_risk_01_Red.svg"
                },
                "target": {
                    "type": "web_panel",
                    "url": "/routes/panels/risk/{project.key}/{issue.key}/initial"
                },
                "tooltip": {
                    "value": "Initial Risk"
                },
                "conditions": [
                    {
                        "condition": "entity_property_equal_to",
                        "params": {
                            "entity": "project",
                            "propertyKey": "com-softcomply-riskmanager-cloud",
                            "objectName": "projectType",
                            "value": "RISK"
                        }
                    },
                    {
                        "condition": "addon_is_licensed"
                    }
                ],
                "contentPresentConditions": [
                    {
                        "condition": "addon_is_licensed"
                    },
                    {
                        "or": [
                            {
                                "and": [
                                    {
                                        "condition": "entity_property_equal_to",
                                        "params": {
                                            "entity": "project",
                                            "propertyKey": "com-softcomply-riskmanager-cloud",
                                            "objectName": "projectType",
                                            "value": "RISK"
                                        }
                                    },
                                    {
                                        "condition": "entity_property_equal_to",
                                        "params": {
                                            "entity": "project",
                                            "propertyKey": "sc-risk-manager-project-config-property",
                                            "objectName": "filterType",
                                            "value": "ISSUE_TYPE"
                                        }
                                    },
                                    {
                                        "condition": "entity_property_equal_to",
                                        "params": {
                                            "entity": "issue",
                                            "propertyKey": "sc-risk-manager-is-risk-issue-property",
                                            "objectName": "isIssueRiskType",
                                            "value": "YES"
                                        }
                                    }
                                ]
                            },
                            {
                                "and": [
                                    {
                                        "condition": "entity_property_equal_to",
                                        "params": {
                                            "entity": "project",
                                            "propertyKey": "com-softcomply-riskmanager-cloud",
                                            "objectName": "projectType",
                                            "value": "RISK"
                                        }
                                    },
                                    {
                                        "condition": "entity_property_equal_to",
                                        "params": {
                                            "entity": "project",
                                            "propertyKey": "sc-risk-manager-project-config-property",
                                            "objectName": "filterType",
                                            "value": "RESOLUTION"
                                        }
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "condition": "entity_property_exists",
                        "params": {
                            "entity": "issue",
                            "propertyKey": "sc-risk-manager-is-risk-issue-property"
                        }
                    }
                ],
                "name": {
                    "value": "Initial Risk"
                },
                "key": "rm-initial-risk-quick-add-button"
            }
        ],
        "generalPages": [
            {
                "key": "risk-menu",
                "location": "system.top.navigation.bar",
                "name": {
                    "value": "Risk Manager"
                },
                "url": "/routes/get-started",
                "icon": {
                    "width": 20,
                    "height": 20,
                    "url": "/images/sc_icon_24x24.svg"
                },
                "conditions": [
                    {
                        "condition": "user_is_logged_in"
                    }
                ]
            }
        ],
        "jiraProjectPages": [
            {
                "key": "risk-table-link-new",
                "name": {
                    "value": "Risk Table"
                },
                "url": "/routes/table?key={project.key}&ac.filter={ac.filter}",
                "iconUrl": "/images/sidebar-risk-table-icon.svg",
                "weight": 2
            },
            {
                "key": "risk-matrix-link-new",
                "name": {
                    "value": "Risk Matrix"
                },
                "url": "/routes/matrix?key={project.key}",
                "iconUrl": "/images/sidebar-risk-matrix-icon.svg",
                "weight": 1
            }
        ],
        "postInstallPage": {
            "key": "get-started",
            "url": "/routes/get-started",
            "weight": 100,
            "name": {
                "value": "Get Started"
            }
        }
    }
}