Dear Community,
I am implementing page link using following on element click:
AP.navigator.go('addonModule', {
addonKey: '<addon_key>',
moduleKey: '<module_name'
})
in altassian-connect.json I have:
"modules": {
"generalPages": [
{
"url": "/?projectId=${project.id}&userId=${userAccountId}",
"icon": {
"width": 32,
"height": 32,
"url": "<icon_url>"
},
"name": {
"value": "<value>"
},
"key": "<module_key>"
}]
...
EXPECTED:
- JIRA Contexts project.id & userAccountId is available
ACTUAL:
- JIRA Contexts project.id & userAccountId is NOT available
I tried to use set properties mentioned here like projectId, userAccountId explicitly like:
AP.navigator.go('addonModule', {
addonKey: '<addon_key>',
moduleKey: '<module_name',
projectId: <projectId>,
userAccountId: <userAccountId>
})
It does NOT work
Any ideas how to bring context without using customData property would be very helpful
Many thanks for the help & regards