Full page dialog on JSD customer portal

Hi there!
I’m trying to show a full-page dialog on Jira Service Desk (Ticket Detail). I added the module in my descriptor:

"serviceDeskPortalRequestViewActions": [
    {
        "key": "jsd-ticketdetail",
        "url": "/my-page",
        "name": {
          "value": "Page"
        },
        "target": {
          "type": "dialog",
          "options": ,
            "size": "maximum",
            "chrome": false
          }
        }
    }
]

But when I try to install the app, I get the following error:

Any ideas on how can I do it?
Thanks :grinning:

1 Like

Hi @Francisco.Santos,

I think you need to replace “maximum” with “fullscreen”.

The dialog size options are documented in https://developer.atlassian.com/cloud/jira/platform/jsapi/classes/dialogoptions/. I navigated to this page via https://developer.atlassian.com/cloud/jira/platform/jsapi/dialog/ where I clicked the Dialog~DialogOptions] link.

Regards,
Dugald

Hi @dmorrow, thanks for the reply.
I tried your solution but I keep getting the same error.

Regards,
Francisco.

Hi @Francisco.Santos,

Looking at the error, the size enumerations don’t include “fullscreen”. Does “x-large” work? If so, maybe we can submit a request to add support for “fullscreen”.

Regards,
Dugald

Hi @dmorrow,
I also tried “x-large” but it doesn’t fit the whole screen. Maybe the solution is submit a request to support “fullscreen”.

Regards,
Francisco.

1 Like

Hi @Francisco.Santos,

I’ll try to get someone from the JSD team to weigh in on whether there is a good reason “fullscreen” isn’t supported.

Regards,
Dugald

2 Likes

Hi @dmorrow,
Thanks for the quick reply, I’ll be waiting for your feedback.

Regards,
Francisco.

Hi @Francisco.Santos,

The JSD team have confirmed that they intentionally don’t want “fullscreen” to be supported.

Regards,
Dugald

Hi @dmorrow,
Is there any particular reason for that ?

Regards,
Francisco