The search index does not update when users create an issue
プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Fisheye および Crucible は除く
問題
The search index does not update when users create an issue, even after several hours.
診断
- A newly created ticket does not show up in any queries.
- When re-indexing manually, the newly created issue starts showing up in queries normally.
- Missing IssueReindexFunction post function in the issue's affected workflow
原因
Legacy versions of JIRA did not have the IssueReindexFunction post function available for workflows.
回避策
Add the "Re-Index Issue" post function to the Create Issue transition of the affected workflow
If you need to find all affected workflows, run the following SELECT against JIRA's database:
select * from jiraworkflows where descriptor not like '%IssueReindexFunction%';
This problem is also discussed in - JRASERVER-32508Getting issue details... STATUS