I have a workflow action:
[Investigating] -> {Reopen} -> [Open]
There's a post-function on this transition to clear the assignee. If I perform this transition, the issue view screen shows the status has changed to Open and the assignee is now unassigned.
Our dashboards have a search filter:
project in (THUGS) AND assignee = currentUser() AND status in (Open, Investigating, Escalated, "Waiting For External", "External Inactive", "Needs Approval") OR category in (Support) AND reporter = currentUser() AND status in ("Waiting For Reporter", "Inactive - Pending Closure", Frozen)
This filter should NOT show issues that are open and unassigned. However, the issue that I just Reopened appears in the search results. Also, the "Assignee" column of the search results, shows the assignee is myself, rather than unassigned as the issue view screen shows.
If I perform an instance-wide reindex, then the issue properly does not appear in the search filter.
Just wondering, why are the search results not reflecting the new unassigned value for assignee? Do I need to include some sort of reindex action in the workflow post-function?
Thanks,
Andrew
I've figured out the problem.
In the workflow action post-function, the step to clear the assignee was the last in the list, below the built-in step to perform a re-index. I moved the clear assignee step to the top of the list, and the search results are now behaving as expected.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.