JIRA Reindexing Script is not working in 5.2.11

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 vote
Renjith Pillai Community Champion Jul 07, 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?

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

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

Hence, Closing this issue.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,304 views 14 20
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot