I’m fairly sure (in fact I’d say 99% sure) that calling AP.jira.refreshIssuePage()
used to refresh web items including reevaluating any conditions they might use to determine their visibility.
I have an “Add” menu item that shows when an entity property has a particular value, and another “Edit” menu item that shows when it has a different particular value (the effect being that only one is shown).
Until recently (as in last month or so), setting the entity property value for “edit” (via the REST API) and calling refreshIssuePage()
worked as expected, hiding the “Add” menu and showing the “Edit” menu.
Now though, setting the property value and calling the refresh function leaves the “Add” menu visible and “Edit” menu hidden until a full page reload is performed.
I have a feeling this started around the time the new navigation was enabled.
Is anyone aware of a deliberate change in how the refresh issue function behaves with the new navigation. It feels like it may be a bug to me.