Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Empty space injected in page content area when launching addon from the project-centric view sidebar

Johan Brodin August 29, 2018

We have added the functionality to launch our addon (Jira cloud) from the project-centric view sidebar.

There is a good example on how to do this (link below) and our json part for this is more or less a copy (also below)

However when the app is launched a strange empty space is added to the top in the page content area. Is there anyone else who has experienced this and know how to get rid of it  (please see attached picture with unknown space where the red text is)

 

How to do this which we have followed

https://developer.atlassian.com/server/jira/platform/developing-for-the-jira-project-centric-view/


Our 
corresponding JSON part

"webItems": [ {
   "location": "jira.project.sidebar.plugins.navigation",
   "key": "connect-provided-link-to-panel",
   "url": "/projects/{project.key}?selectedItem=com.example.myaddon__connect-provided-link-to-panel",
   "context": "product",
   "name": { "value": "Debug-Pre" }
   }
],


"webPanels" : [ {
    "key": "connect-provided-web-panel",
    "url": "/jiralogin",
    "location": "com.example.myaddon__connect-provided-link-to-panel",
     "name": { "value": "My Web Panel" }
    }
]

 

Showing the bug

bug.png

 

1 answer

0 votes
Johan Brodin September 5, 2018

The solution was to use the new jiraProjectPages...

Suggest an answer

Log in or Sign up to answer