So far so good, the dialog opens and the content renders. Unfortunately, I can’t figure out how to set the dialog header, it’s always blank. https://d.pr/i/S4a95A target property is of type JSD web item target (different from Jira web item target) and according to the docs only takes a type property. Nevertheless, I tried to add options to target:
Thanks for bringing this to our attention. I have confirmed that we do indeed support setting the header value but a bug was causing your action not to show if you didn’t have the chrome option defined in target.options.
@tbinna so for the JSD portal we do not support arbitrary width/height but you can select from a bunch of sizes with the size option in target.options. Size can be one of “small”, “medium”, “large”, “x-large”.
@msamy I think I have found one more issue. In my descriptor I have the request view action as described above and a request view panel (serviceDeskPortalRequestViewPanels). For both I added the following condition:
Strangely for the action this works as expect, however for the panel it doesn’t. The condition on the panel causes it not to render anymore, independent of the condition. The add-on installs normally.
I literally copy-pasted the condition from the action, so there shouldn’t be any typo or something.