We have a Connect app that integrates into the JSM request view and calls
AP.dialog.create({
key: "the-dialog",
width: 600,
height: 250,
chrome: true,
header: "My header",
cancelText: "Close",
customData: {some: "data"},
})
The key
attribute in the dialog create payload refers to a general page module in the app descriptor:
...
"generalPages": [
{
"key": "the-dialog",
"url": "/dialog/the-dialog?project.id={project.id}",
"location": "none",
"name": {
"value": "My header"
}
}
]
...
Unfortunately, we just noticed that the call to AP.dialog.getCustomData(callback)
(from within the dialog iframe) seems to always return undefined
in the request view (this was working previously).
We are using this same mechanism in the regular Jira issue view where this works as expected.
I have tried to report this under the ACJS project, however, I do not seem to have permission to create an issue on this project.