Hi,
I’m trying to make the GraphQL APIs for insights in Jira Product Discovery work.
I have used the sample at polaris-forge-ref-app/get-insights-example at master · Jira-Product-Discovery-Integrations/polaris-forge-ref-app · GitHub and separately in Postman, and using this GraphQL query (with appropriate variables):
query getPolarisInsights($project: ID!, $container: ID) {
polarisInsights(project: $project, container: $container) {
snippets {
id
oauthClientId
data
url
properties
}
id
}
}
I get the error:
{
"errors": [
{
"message": "(API-3181) api access is not permitted",
"locations": [],
"path": [
"polarisInsights"
],
"extensions": {
"errorSource": "UNDERLYING_SERVICE",
"statusCode": -1,
"classification": "DataFetchingException"
}
}
],
"data": {
"polarisInsights": null
},
"extensions": {
"gateway": {
"request_id": "fc0ce4310cd340c78369c70913d3720d",
"crossRegion": false,
"edgeCrossRegion": false
}
}
}
Is there something that has to be enabled somewhere to make these endpoints work?
Thanks!
- Chris