- Go to JIRA > Add-ons > Script Runner > Script Console
- Copy the script contents, replace “PUT_KEY_OF_ISSUE” and press Run
import com.atlassian.jira.ComponentManager import com.atlassian.jira.project.ProjectManager import com.atlassian.jira.issue.IssueManager import com.atlassian.jira.issue.index.IndexException import com.atlassian.jira.ManagerFactory ComponentManager componentManager = ComponentManager.getInstance(); ProjectManager projectManager = componentManager.getProjectManager(); IssueManager issueManager = componentManager.getIssueManager(); issueobtained = issueManager.getIssueObject("PUT_KEY_OF_ISSUE"); ManagerFactory.getIndexManager().reIndex(issueobtained.getGenericValue());
This code correct problems with issues that don’t shows the status correct in views, etc.
New code for Jira 7
LikeLike