Hi,
we’d like to use the advantage of cacheable iframes in our plugin (Cacheable app iframes for Connect apps). Our plugin is using “jiraProjectPages” module (I suppouse it comes under “Pages” which is listed as supported modules), so that we are in the context of project. Our original url did contain these variables: " /index.html?projectId={project.id}&boardId={board.id}&boardType={board.type}"
Accordingly to documentation we should drop these context paramters and use Ap.context.getContext() function to get all necessary context information - but however I try to use it I get only jira Project information and don’t get any board information, so I cannot find current board.
After additional investigation it seems that module jiraProjectPages always gets additional query params (so it ignores “cacheable”: true). But even my webpanel in location “jira.agile.board.configuration” doesn’t get board in context…
Is this a bug or I’m missing something?
Edit:
Also I’m getting problem with passing data-options=“sizeToParent:true;” to https://connect-cdn.atl-paas.net/all.js - unfortunately the guide doesn’t specify that,
So to sum up questions:
- Is it possible to have cacheable iframe to jiraProjectPages?
- Is it possible to get board context from Ap.context.getContext() ?
- Is it possible to inject data-options=“sizeToParent:true;” to all.js downloaded via “https://connect-cdn.atl-paas.net/all.js” ?