Automatic render of jira:issuePanel app

Background/Context
I have a jira:issuePanel app and what I’ve found a bit unclear is that when first time the issue is opened (issue modal or completely new tab), then the customer have to select the app (highlighting below the flow)

Questions

  1. Is it possible so that the app is rendered automatically in issue panel always (even first time), so that customers do not have to manually select the app ?

  2. Is this somehow related to current user (like the platform remembers if the customer previously selected the app or not) ?

Additional details
I’ve checked with our day to day friend (well still pretending to be a friend :grinning_face:) AI and it highlights to me that In Atlassian Forge, if your app calls api.asUser() (which the app really does) then :

  • Your app is flagged as requiring user consent.
  • UI modules (like jira:issuePanel) will not render automatically for users who haven’t interacted with the app yet.
  • Users must go to the Apps dropdown and click your app manually, which triggers the consent screen.

Are the above statements true ?

So if I will change api.asApp() to be used instead of api.asUser() then the app will render automatically on jira issue panel ? (ofc if it mets the display conditions)

Thanks for any input and clever options :slight_smile: I won’t trust AI blindly :blush: