Renaming Users can Break JQL Filters
課題
When you rename a user's username, all existing filters that still use the old username should still be working fine. This doesn't seem to be the case.
例:
Let's say we renamed "johndoe" to "johndoe2345",then opened an existing filter that was referencing "johndoe":
assignee = "johndoe"
Performing this search would result in the result of "no issues found". But after refreshing the page would we see:
"The value 'johndoe' does not exist for the field 'assignee'."
Reindexing doesn't fix the issue.
原因:
The assignee value that is in the filter is just text in searchrequest, so updating the app_user table (i.e changing the username) doesn't go out and update the text string in the searchrequest table.
回避策
Update the filters manually through the GUI to reflect the correct username
Related Links
JRASERVER-36971 - 課題詳細を取得中... ステータス