Issues count don't get updated when an Issue is closed
Summary
On Project home page, under top menu, there is Issues menu with the counts. When we close an Issue, the status is changed to Closed without page refresh using AJAX call. But the count in the menu is not getting updated. Same with re-opening an Issue, the count should increase but it doesn't.
Steps to reproduce
Scenario:1
- Create an Issue
- Close an Issue
Scenario:2
- Go to closed Issue
- Re-open an Issue
(How one can reproduce the issue - this is very important)
Expected behavior
Scenario:1
- Create an Issue (Issues count should be: 1)
- Close the Issue (Issues count should become: 0)
Scenario:2
- Go to a closed Issue (Issues count should be: 0)
- Re-open the issue (Issues count should become: 1)
Actual behavior
Scenario:1
- Create an Issue (Issues count should be: 1)
- Close the Issue (Issues count doesn't change without refresh)
Scenario:2
- Go to a closed Issue (Issues count should be: 0)
- Re-open the issue (Issues count doesn't change without refresh)
It's listed in #24429 (closed)