Missing query param when opining cloud addon link

Hi I am facing a problem with our JSM cloud addon, in some cloud instances when the client installs the addon and the addon contains a link to open a form there are missing params preventing our page from being rendered since it will not matches the defined URL in the Atlassian-connector.json.

example :

"jiraProjectAdminTabPanels": [
			{
				"location": "projectgroup4",
				"key": "addon-link-to-open-page",
				"url": "/index?projectKey=${project.key}&serviceDeskId=${servicedesk.serviceDeskId}&projectId=${project.id}",
				"weight": 100,
				"name": {
					"value": "Open Addon Page"
				},
				"conditions": [
					{
						"condition": "user_is_logged_in"
					},
					{
						"condition": "addon_is_licensed",
						"invert": false
					},
					{
						"condition": "project_type",
						"params": {
							"projectTypeKey": "service_desk"
						}
					}
				]
			}
  • to open this page the correct URL expected is :
    baseUrl/plugins/servlet/ac/addon-key/addon-link-to-open-page?project.key=IP&project.id=10000&servicedesk.serviceDeskId=1

  • but in some clouds the URL is (also on same cloud some JSM project set URL correctly while other no)
    baseUrl/plugins/servlet/ac/addon-key/addon-link-to-open-page?servicedesk.serviceDeskId=1

without project.key=IP&project.id=10000

1 Like