Issue with Jira project sidebar

Hello,

I have an issue with atlassian connect module: webItem. It looks like this:

  {
    "key": "some-key",
    "location": "jira.project.sidebar.plugins.navigation",
    "name": {
      "value": "some name"
    },
    "icon": {
      "width": 20,
      "height": 20,
      "url": "/images/icon.png"
    },
    "url": "/example",
    "context": "product",
    "conditions": [
      {
        "condition": "jira_expression",
        "params": {
          "expression": "my expression here"
        }
      }
    ]
  },

It work great from e.g. backlog view (expression is executed properly, module name changes are respected) but there is an issue with view like https://my-instance.atlassian.net/browse/KEY-1 if you enter it via link. Changes to web item name or changes in expression results don’t affect web item when I am in issue view. It seems to be cached somehow. it’s interesting that it works from old issue view (https://my-instance.atlassian.net/browse/KEY-1?oldIssueView=true).

Does anyone know what’s going on?

1 Like