AP.dialog.create showing issues in some customer instances

Has there been any change made in the AP.dialog.create in the last week? We have customers complaining about Modal screens not displaying properly in the Portal page

There seems to be a related DEPRECATION NOTICE for Forge
xlarge modal size value changes from 100% to 968px in Jira Custom UI apps
https://developer.atlassian.com/platform/forge/changelog/#CHANGE-816

However our App is still on Connect and the Connect documentation doesn’t seem to reflect the Forge deprecation notice

Tagging Atlassian ecosystem team as its quite urgent for us to dig out the root cause.
@dmorrow @ccurti

A similar issue reported quite some time back - https://community.developer.atlassian.com/t/weird-behaviour-of-ap-dialog-create/55778/6

Hey @ajay,

I’ve asked internally to double-check. The only thing that I could think of is that there were two releases of the @atlaskit/modal-dialog - npm.

Could it be that the app is using the newest version?

Please also raise an incident at Jira Service Management (detailed instructions are here: How to submit a critical incident) so that the team can keep investigating.

The changelog entry above is only for Forge so it doesn’t apply here.

Caterina

1 Like

Thanks @ccurti

I debugged further and it seems the Dialog options is not being considered when running in the context of the Portal customer user. It works when you are logged in as a Jira user.

The root cause seems quite similar to the previous incident - https://community.developer.atlassian.com/t/weird-behaviour-of-ap-dialog-create/55778/6

I will raise an incident at Jira Service Management

Ajay