Hi @Tanguy Crusson , Is it still not possible to get the insights for a JPD issue over API?I cannot get them from a JQL as well. They seem to not be accessible from anywhere. Are there any plans to expose them. I am building my own Assistant on top of JPD since Rovo seems to be useless in that regard and it would be great to have the insights.Thanks!
Hi @Jeny Stoeva there are examples for how to use the (still experimental) API for insights here: https://github.com/Jira-Product-Discovery-Integrations/polaris-forge-ref-app
@Tanguy Crusson That's great, thank you!Are there any restrictions related to the plan or everyone can pull the insights?
anyone who has perms to view the insights can pull them
@Jeny Stoeva were you able to use this API to pull insights? A developer on my team tried to use this API but seems to be hitting access restrictions.
@Tanguy Crusson our dev is an admin in our JPD project, but getting the following error when trying to pull insights ApolloError: GraphQL error: (API-3181) api access is not permitted, see also https://community.developer.atlassian.com/t/jira-product-discovery-get-insights-api-is-failing-with-permission-error/87641
Thanks for confirming @Tanguy Crusson
if possible can you please share a sample response for fetching insight’s from a particular Idea?
Basically what we are trying to achieve is , we want to pull all the insights and idea from a particular project and then build a dashboard based on data exported. Some kind of reporting based on customer or idea.
Hi @Anil D I'm working on getting you a sample to unblock your work while we're working on fixing the root cause. Thanks for your patience.
Here's a sample for this GraphQL query:
Body
query getPolarisInsights($project: ID!, $container: ID) { polarisInsights(project: $project, container: $container) { id description snippets { id oauthClientId data url properties } }}
Response
{ "data": { "polarisInsights": [ { "id": "ari:cloud:jira:cf091f5b-2147-4791-9fa7-3e3cgtd56f90:polaris-insight/1391566", "description": { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "text": "An example insight added with the ", "type": "text", "marks": [{ "type": "em" }] }, { "text": "Jira Cloud for Slack app", "type": "text", "marks": [ { "type": "link", "attrs": { "href": "https://marketplace.atlassian.com/apps/1216863/jira-cloud-for-slack-official?hosting=cloud&tab=overview" } }, { "type": "em" }, { "type": "strong" } ] }, { "text": ".", "type": "text", "marks": [{ "type": "em" }, { "type": "strong" }] } ] }, { "type": "paragraph", "content": [ { "text": "This thread contains data from customer support on this topic.", "type": "text" } ] } ], "version": 1 }, "snippets": [ { "id": "ari:cloud:jira:cf0455b-2147-4791-9fa7-3e3c1wer6f90:polaris-snippet/1789436", "oauthClientId": "polaris-example-data", "data": null, "url": "https://marketplace.atlassian.com/apps/1216863/jira-cloud-for-slack-official?hosting=cloud&tab=overview", "properties": {} }, { "id": "ari:cloud:jira:cf091f5b-2147-4791-9fa7-3e3crty56f90:polaris-snippet/1778937", "oauthClientId": "polaris", "data": {}, "url": null, "properties": { "impact": { "name": "impact", "value": 3 } } } ] }, { "id": "ari:cloud:jira:cf0sdfg5b-2147-4791-9fa7-3eertbd56f90:polaris-insight/1391237", "description": { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "text": "An example insight ", "type": "text", "marks": [{ "type": "em" }] }, { "text": "added manually:", "type": "text", "marks": [{ "type": "em" }, { "type": "strong" }] } ] }, { "type": "paragraph", "content": [ { "text": "This dashboard in Pendo shows the usage of a similar feature - might influence how we measure impact here.", "type": "text" } ] }, { "type": "paragraph", "content": [ { "type": "inlineCard", "attrs": { "url": "https://www.pendo.io/" } } ] } ], "version": 1 }, "snippets": []}]}}
@Anil D and everyone else, we have implemented a temporary fix, if you need to unblock access to those APIs please comment below and add your site URL so that we can turn on the fix for your JPD site.
Thanks for the fix @Edouard Kaiser . Yes, please do turn on the fix.Once it is done i will test and confirm.Edited: removed URL since its no more required.
@Edouard Kaiser - Hello! Im working with Anil on testing this issue. were you able to turn the fix on for Dialpad?
@Edouard Kaiser Any chance you can enable the fix for us? We're primed to move our PM org over to JPD, but this last piece will unlock a reporting requirement we have, and would love to be able to validate this API will meet our requirements. We're eager to move forward! Thanks
Hi,
I've developed a Forge app to search out all the insights in a specific JPD space and use a custom rovo agent to analyze those insights. If you're interested in it, you could reach me through yong.yang@atlassiancommunity.com. I will provide more details to you.
Regards,
Yong
It looks like you're new here. Sign in or register to get started.