Module location 'ws-servicedesk-setting-section' also shows entry in non service desk products

atlassian-connect-dev

#1

I define a project settings page meant only for use in Jira Service Desks (cloud).

  "modules": {
    "jiraProjectAdminTabPanels": [
      {
        "key": "sdl-settings",
        "location": "ws-servicedesk-setting-section",
        "weight": 100,
        "name": {
          "value": "App name"
        },
        "url": "/settings-page/${project.key}",
        "conditions": [
          {
            "condition": "user_is_logged_in"
          }
        ]
      }
    ],

But when I install the app in a pure jira product, then the link “App name” also shows up in the project settings menu.

Why? And how can I let it not appear?


#2

You need to add the project_type condition. Take a look at https://developer.atlassian.com/cloud/jira/service-desk/conditions/