The URL generated by `pendingApprovalsLink` variable is incorrect for the trial version of the app

Description

The global view URL address of trial version of the app is different than regular version address.

However, the variable {{{ pendingApprovalsLink }}} used in Email notifications always provides standard version URL, and thus the link does not work for users on trial (points to 404 Not Found page).

Note: Both Jira and Confluence versions are affected.

Jira

Link correct for trial version: https://<site>.atlassian.net/jira/apps/25c57949-6245-4d56-956a-f892ec73aa50/74147a16-b497-4ff5-af3a-14395d557056

Actual link in the notification: https://<site>.atlassian.net/jira/apps/25c57949-6245-4d56-956a-f892ec73aa50/d1bbdb0f-b0c3-4a62-a250-b7fcc6c75e81?ap-view=approvals

Confluence

Link correct for trial version: https://<site>.atlassian.net/wiki/apps/65eb4140-1689-4b11-83f5-f09c827ee596/dfe97fc3-32d0-4227-b5e2-7e68c764893f/global

Actual link in the notification: https://<site>.atlassian.net/wiki/apps/65eb4140-1689-4b11-83f5-f09c827ee596/487ccc13-bca1-44db-89f2-703c89492848/global?ap-view=approvals