Tags » Runner

Issue Index Corrupted / Reindexing by Groovy ScriptRunner

  1. Go to JIRA > Add-ons > Script Runner > Script Console
  2. 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());

… 16 more words
Groovy

Race Recap: Mountains2Beach Marathon

If you take nothing else away from this post, or rather, get tired and bored midway through, please just know this: I Beat Oprah’s Time. Finally! 1,165 more words

Run

Weak In The Knees? Strengthen Your Hips

The root of knee problems often lies in the hips.

Studies provide encouraging evidence for knock-kneed runners.

The knee is the most common sight of injury in runners. 3,592 more words

HEALTH