we’re trying to create ideas through our forge app, but for some reason the forge app doesn’t see the Product Discovery projects when trying to createmeta to get the field configuration.
to debug – we’ve also tried to remove all filters, but even then we only see projects that are not Product Discovery. so it seems like those project types are invisible to our createmeta calls.
but in this case, the api tells us: “OAuth 2.0 is not enabled for method”. we’re pretty sure this used to work and we haven’t changed the code on our side. is this to be expected? what can we do?
we also have an integration that works based on a normal oauth flow (authenticating as a user, not as forge app), and there it does work – we can see product discovery projects and also post ideas.
Note that the hard coded project ID of 10001 was only to keep the test as close to your test case as possible and this project ID is a JPD project. The app successfully returns the JPD project’s create metadata response.
there’s one major difference between your example app and our application – we don’t have a user context (because it’s an automation doing this), so we call the api with asApp() and not with asUser().
could that be the reason for us not seeing any product discovery projects? we also noticed that with our other integration, where we do have a user, it is possible to post issues/ideas to JPD.
Thanks for your response. I think I understand now. Each Forge app is associated with a system user which seems not to be given JPD permissions when the app is installed for Jira for a given site (e.g. yourtenant.atlassian.net) like it is for other Jira products in the site such as Jira Software.