Hello everyone,
according to the documentation you should use the pages property to specify, where the footer should be displayed (https://developer.atlassian.com/platform/forge/manifest-reference/modules/jira-service-management-portal-footer/).
- For portal the footer should be displayed on the portal page
- For create-page the footer should be displayed on the create request page.
If I specify the following for the module
jiraServiceManagement:portalFooter:
- key: dataforms-jira-cloud-customers-voice-free-portal-footer
resource: portalResource
resolver:
function: sdPortalResolver
pages: [ portal ]
The footer will be included at the portal and create request page.
The footer wont be shown if I change the pages element to [ create_request ] (Neither on the create request page).
However, the problem does not end there.
The following is passed to the resolver in the create request page at context.extension
{
page: 'portal',
type: 'jiraServiceManagement:portalFooter',
request: [Object]
},
The following is passed to the resolver in the portal page at context.extension
{ page: 'portal', type: 'jiraServiceManagement:portalFooter' }
As you can see, both are missing the element portal with its id. But this is very important, without it you can not determine which portal is displayed.
Has anyone else experienced this problem?
@atlassian-forge-team Can one of you take a look at the source code in question, I think there is an error in it.
Best regards,
Andreas