Hey guys,
I have the following jelly script to run a re-indexing of Jira. I plan on running this on a weekly basis:
<JiraJelly xmlns:jira="jelly:com.atlassian.jira.jelly.enterprise.JiraTabLib" xmlns:core="jelly:core"> <jira:Login username="username" password="password"> <!-- Grab an instance of ComponentManager --> <core:invokeStatic className="com.atlassian.jira.ComponentManager" method="getInstance" var="componentManager"/> <!-- Get the IssueIndexManager from ComponenManager --> <core:invoke on="${componentManager}" method="getIndexManager" var="issueIndexManager"/> <!-- Invoke reIndexAll method in IssueManager --> <core:invoke on="${issueIndexManager}" method="reIndexAll" var="indexTime"> </core:invoke> </jira:Login> </JiraJelly>
When trying to run it using Jelly Runner I'm getting the following error:
java.lang.ClassNotFoundException: com.atlassian.jira.jelly.enterprise.JiraTabLib
java.io.PrintWriter@51baebd3
Any help in finding a solution would be greatly appreciated.
Cheers.
Community moderators have prevented the ability to post new answers.
I think you want JiraTagLib, not JiraTabLib
You have typo - com.atlassian.jira.jelly.enterprise.JiraTabLib , should be com.atlassian.jira.jelly.JiraTagLib
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.