Application UI extensions contextIdentifier behaviour

Hi,
I'm trying to set application UI extensions using PATCH /api/http/applications/ui-extensions.

The goal is to have a global issue menu item and a menu item specific to a project.

I'm making two requests with the following payload and I was expecting to have two buttons on project 1YNPl907KYh7 and a single button for the other projects. Is there anything wrong with this or am I misunderstanding the goal of the contextIdentifier?

{
"contextIdentifier": "project:id:1YNPl907KYh7",
"extensions": [{
"className": "IssueMenuItemUiExtensionIn",
"displayName": "project context",
"menuItemUniqueCode": "project-context",
"visibilityFilters": []
}]
}

{
"contextIdentifier": "global",
"extensions": [{
"className": "IssueMenuItemUiExtensionIn",
"displayName": "global context",
"menuItemUniqueCode": "global-context",
"visibilityFilters": []
}]
}

Thanks

1 comment
Comment actions Permalink

Hi Paulo Alves,

Thank you for your feedback!

Am I right that you can add a global menu item and it shows up in the context menu, but the project-specific menu item doesn't? We have identified the problem and will be working on the fix. You can track the progress of this issue here: https://youtrack.jetbrains.com/issue/SPACE-17676/Project-specific-custom-menu-items-do-not-appear-in-UI

0

Please sign in to leave a comment.