You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.
View groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
The deprecated dialog 1 modal window is able to target a defined web-panel for a Connect add on and display across the entire Jira window without issue.
In trying to implement a new Dialog2 modal and following the example laid out in the documentation, the dialog window shows within the add on iframe web panel and I am unable to figure out how to either have it shown across the entire window or target a web-panel as I did with the deprecated Dialog version.
Is there a way of doing this with the Dialog2 api?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Another solution is to use AP.dialog.create with a key that refers to modules in atlassian-connect.json.
Javascript:
AP.dialog.create({
"key": 'my-custom-dialog',
"chrome": false,
"size" : "large",
"header":{
"value":"My custom dialog"
}
});
atlassian-connect.json:
...
"webItems": [
{
"name": {
"value": "My custom dialog"
},
"key": "my-custom-dialog",
"url": "/my-custom-dialog-view",
"location": "none",
"context": "addon",
"target":{
"type":"dialog"
}
}
]
...
But unfortunately, it does not support queryparams or any kind of custom context nor does it have an on open event...
This is only a workable solution if you intend to open your app in a dialog from a button or link.
Then every main interaction with your app should happen inside the dialog's iframe.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.