Simple Dev Info App: Provider OAuthClientId not installed

I’m trying to get a basic devInfoProvider app working. But run into an error

Response: {“errorMessages”:[{“message”:“The request failed: Provider ‘OAuthClientId’ not installed in any installation context `[ari:cloud:graph::integration-context/…, ari:cloud:graph::integration-context/…, ari:cloud:jira:…:workspace/…, ari:cloud:graph::workspace…] for types ‘[DEVELOPMENT_INFO]’”}]}

I have the example copied, but no luck. Here’s the manifest:

modules:
  devops:deploymentInfoProvider:
    - key: my-deployment-info-provider
      name:
        value: My Deployment Info Provider
      homeUrl: https://www.my-deployment-info.com
      logoUrl: https://www.my-deployment-info.com/logo.svg
      documentationUrl: https://www.my-deployment-info.com/help
...

permissions:
  scopes:
    - read:jira-work
    - write:jira-work
    - manage:jira-configuration
    - write:dev-info:jira
    - read:dev-info:jira

And then call

    const response = await api.asApp().requestJira(route`/rest/devinfo/0.10/bulk`, {
      method: 'POST',
      headers: { 'Content-Type': 'application/json' },
      body: JSON.stringify(payload)
    });

I’ve tried uninstall, re-installing with forge, version revs, but still no luck.

I am trying to deploy to a Jira Cloud Dev site I’m using to test.

“deploymentInfoProvider” Whoops. Wrong provider. Well, a simple fix at least.

1 Like