Best Practices for Owner / Vendor in Jira apps powered by Forge

Hello, I’m new to Forge and am working on Jira apps development.
I’m having trouble with 2 things mainly:

My team setup a generic service account to manage all things Jira Cloud app management.
I’ve used said user to create, deploy and install a Forge app to our Jira Cloud instance without issues so far.
The problem occured when I logged into Jira Cloud with my own nominal user and tried to select one of such apps from the combo box within the Jira ticket.
I was prompted with the following message (print below): “For this app to display, you need to allow the app to access Atlassian products on your behalf.”

I then proceeded to click the “Allow access” button, which took me to the following page:

Which is obviously a problem.

So my questions are:

  1. What are the best practices for creating, deploying and installing apps in Jira Cloud with service accounts/users?
  2. Why is this issue happening and what should I do to fix it, as well as to avoid it in the future?
  3. As it isn’t the generic service user’s goal to be an account used for log in, is it possible to avoid logging in with that account and manually granting access to each and every user on our organization that needs access to the aforementioned apps?
  4. While we are at it, is there a way to automate such granting of access for newly created, deployed and installed apps?

Thank you.

I haven’t tried on a larger scale (I’m currently the only developer at the moment), but would configuring additional Contributors (towards the bottom of the left side panel) for your app on the developer console solve your problem? I have our service account create the app as the Owner (for company ownership) and add my user as a contributor.

2 Likes

Hmm but how does one add a user as a contributor, please?

nevermind, I found it. Thanks (still, it didn’t work as I expected).

For some reason, even when I use my own user - instead of the service account - to create, deploy, and install an app/plugin, I still can’t see it working on Jira and am prompted this message:

And what happens when you Allow Access?

I’m taken to that orange lock screen

Hi LucasXavierFerreira :wave:, I think what happens to the app is that access is restricted to the app owner. If you want to access it with a different user, you may just have to “share” it going in the distribution settings in the Developer Console. Let me know if that’s helpful?

2 Likes

I changed its settings from “Not shared” to “Sharing” and still it didn’t work