Bug: Consent screen is missing when creating a portalRequestDetailPanel

Hi there,

I just wanted to create a simple app with a module for jiraServiceManagement:portalRequestDetailPanel with Custom UI. This simple app should just fire a REST call to get some information about the current request the user is viewing. I can install the app without a problem, but I noticed that I don’t get any consent screen when using the app as a user on the service request. I can click on my implemented button to fire the REST request, but nothing happens. I’m pretty sure this happens, because there is no consent screen on the service request view. The current workaround is to implement another function (like an adminPage) to get the consent screen. If I click Allow access on that adminPage, everything works fine from now on.