I have a scripted field for all issue type. Value of the this scripted field for all project issues gets updated when "Group" custom field value on a certain issuetype of the project is modified.
My script work properly but when I search issues in issue navigator using scripted field then issues are not displayed.
I know its reindexing related issue, Can anyone help me in this?
The issue navigator in Jira is returning values based on the current state of Jira's indexes. When you edit this custom field on this issue A, that single issue will be re-indexed by Jira because Jira is aware that one or more values on the issue have changed. I think what is happening here is that Jira is unaware that these values should be updated on issues B,C,D,etc because these specific issues have not been edited directly in Jira.
You could force Jira to reindex manually to get around this. I believe this too will update the values for these issues. Alternative to this would be to script out an edit/update to each issue affected by this source change and then in turn allow Jira to handle the reindex for each individual issue that has been edited.
Thanks Andrew.
Since my issue count is more than 500 so my reindexing script gives timeout.
I added my reindexing script to Escalation service of script runner but it didn't help.
How can I script out an Edit/update of all issues in above case?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.