JIRA Reindexing Script is not working in 5.2.11

Ravichandran Sundaramurthy July 7, 2013

Hi,

I have automated Reindexing script in JIRA 4.3.4 version, the same script when i use in 5.2.11 version i am getting the following error log.

In Jelly Runner i am getting this error.

=======================================================================

Jelly script ran and produced the following messages.
<JiraJelly xmlns:jira='jelly:com.atlassian.jira.jelly.enterprise.JiraTagLib' xmlns:email='jelly:email' xmlns:j='jelly:core' xmlns:log='jelly:log'>
<Error action='User: Xbbj551 does not exist'>
<TagContents>(Login(username=Xbbj551)(password=Welcome20))</TagContents>
<ExecutedAs>user=xbbj551</ExecutedAs>
<ErrorMessage>Login</ErrorMessage>
</Error>
<log:INFO trim='true'>day : 2</log:INFO>
<log:INFO trim='true'>hour : 4</log:INFO>
</JiraJelly>

=======================================================================

ID (xbbj551) shows does not exist, but this is my correct id.

Please provide your suggestion on this.

Regards,
Ravi

3 answers

0 votes
Ravichandran Sundaramurthy July 14, 2013

The issue is resolved now, error throwed due to userid LDAP validation from Siteminder. Found the cause and fixed it.

Hence, Closing this issue.

0 votes
Ravichandran Sundaramurthy July 8, 2013
Hi Renjith.
Thanks for your quick response.
I tried to run the below index class in 4.3.4 it worked perfectly, the same script when i run in 5.2.11 i am getting error.
<j:invokeStatic className="com.atlassian.jira.ComponentManager" method="getInstance" var="componentManager"/>
<j:invoke on="${componentManager}" method="getIndexManager" var="indexManager"/>
<j:invoke on="${indexManager}" method="reIndexAll" var="millis"/>
Regards,
Ravi
0 votes
Renjith Pillai
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 7, 2013

In fact, there is no need to automatically trigger re-indexing. You should be looking at what is causing an issue in the index and correct it.

And what is the contents of this Reindexing script, can you post it?

Suggest an answer

Log in or Sign up to answer