Hello Atlassian Community,
We are reaching out to seek your valuable assistance and insights regarding an issue we've encountered with our app developed on Forge.
We hope that by sharing our problem here, we might find others who have faced similar challenges and discovered effective solutions.
We also wish to draw the attention of Atlassian team members who might help expedite a resolution.
Issue Summary
We have identified a significant limitation with the Custom Entities API when it comes to filtering data. Specifically, the issue manifests as follows:
- Title: Custom entities filtering returns empty cursors.
- Description: When filtering data using the Custom Entities API, the system returns all cursors as if it is retrieving all data. However, each cursor only contains data that matches the filter condition; otherwise, they are empty. This behavior disrupts our pagination logic, making it impossible to determine the number of actual pages and navigate effectively.
This limitation is severely impacting our app's performance, especially given that we manage over 3,000 records. The in-memory handling of filters (using and & or operations) exacerbates the problem, leading to performance bottlenecks and inefficient data retrieval.
Steps Taken So Far
Our CEO, Alberto Expósito, has been in contact with Atlassian support. The team acknowledged the limitation and suggested using indexes to optimize query performance. However, this has not fully resolved our pagination issues.
We kindly request the Atlassian Community's assistance with the following:
- Shared Experiences: Have you faced similar issues with the Custom Entities API and pagination? If so, what solutions or workarounds have you implemented?
- Technical Advice: Any suggestions on alternative approaches or best practices for handling large datasets and efficient pagination in Forge?
- Atlassian Team Support: We would greatly appreciate direct support from Atlassian team members to address this issue. A timely solution is critical for us, as our app's performance and user experience are being compromised.
Your insights and assistance would be invaluable to us as we navigate this challenge. We are committed to enhancing our app's functionality and providing a seamless experience for our users. Any help or guidance from this esteemed community will be highly appreciated.
Thank you for your time and support.
Best regards,
Sevidev Team.