Search filter not showing current assignee after cleared by workflow post-function

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

1 answer

1 accepted

This widget could not be displayed.

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.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted yesterday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

46 views 1 0
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you