I think I found a glitch in the jiraServiceManagement:portalFooter: module on the portal page

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

Hello Andreas,

Thank you for reporting this glitch.
portalId should be available from 2022-05-09T18:30:00Z.

Regarding footer being included in portal and create request page, create request page is the page with route portal/PORTAL_ID/create/REQUEST_TYPE_ID.

Best regards,
Parshwa

1 Like

Hello Andreas,

The release for portalId got postponed and will be available from 2022-05-16T18:30:00Z

Best regards,
Parshwa