I have also configured a webitem for the same which does not load in service desk project.
{
"url": "/projects/{project.key}?...",
"key": "dummy-key",
"context": "product",
"location": "dummy-topnav-section/topnav-section",
"name": {
"value": "Dummy"
}
}
The observation I had is, the url's with /projects specified in my addon descriptor do not load in service desk.
However, JIRA's url having /projects works. (like, /projects/BUG/queues, /projects/BUG/customers, /projects/BUG/welcome-guide).
And from the error seen in the developer console it seems that it is not able to load the dependencies. While debugging I found that the initiator of the error is:
require("servicedesk/jQuery"),require("servicedesk/internal/project/sidebar/overrides"),require("servicedesk/internal/project/sidebar/sidebar-content-installer").
Note: This issue was seen only in the production instance. It works fine in the local instance.
Thanks.