Hi all,
I extended my app descriptor to created a new action in the request view of JSD.
The descriptor part looks as follows:
{
"serviceDeskPortalRequestViewActions": [{
"key": "sd-portal-request-view-action-my-action",
"name": {
"value": "My action"
},
"url": "/sd/portal/request/view/action/dialog/show?issue.key={issue.key}&project.id={project.id}",
"target": {
"type": "dialog"
}
}]
}
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
:
"options": {
"header": {
"value": "My Action Dialog Header"
}
}
This seems to be valid (app installation still works), but now the action on the request view disappeared .
I’d be interested to know:
- Has anyone figured out how to do this? What should the descriptor part look like and where is it documented?
-
@bitvoodoo-atlassian: Is there a plan to support other types such as
dialogmodule
"target": { "type": "dialogmodule", "options": { "key": "my-dialog" } }
Thanks for any help or hints,
Tobias