AUI icons stopped displaying in jira.project.sidebar.plugins.navigation web item in new Jira UI

Our AC add-on’s web item AUI icon in jira.project.sidebar.plugins.navigation is displayed as default after upgrading to the new Jira UI:

Web item is defined as follows:

"webItems": [
    {
      "location": "jira.project.sidebar.plugins.navigation",
      "key": "project-panel-wi",
      "url": "/add-on-url",
      "context": "product",
      "params": {
        "iconClass": "aui-icon aui-icon-large aui-iconfont-group"
      }
    }
  ]

Using styleClasses instead of params didn’t help:

"styleClasses": [
"aui-iconfont-group"
]

How we can use AUI icons in web items with new Jira UI?

Thanks,
Dmitry

1 Like

As far as i know there is no way to change this icon in new UI yet

You can use your custom icon with icon field:

"webItems": [
    {
        "key": "report",
        "location": "jira.project.sidebar.plugins.navigation",
        "name": {
            "value": "xxx"
        },
        "icon": {
            "url": "/static/assets/img/report-sidebar.svg",
            "width": 20,
            "height": 20
        },
        "url": "/projects/{project.key}?selectedItem={{addonKey}}__report",
        "context": "product"
    }
],

Ye, sorry for being misinformative about icon, though i was concerned about new design, writing with this answer in mind

Am not sure how it works in June 17, but currently with this code we show our custom icon in project sidebar https://i.imgur.com/rhzaXrj.png