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

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 Sign up to answer
Community showcase
Posted Oct 16, 2018 in Jira

Looking for anyone who made the switch to Data Center

The Jira Marketing team is putting together an ebook on migrating to Data Center. We're looking for pro tips on how you staffed your project team and organized your Proof of Concept. Share yo...

76 views 0 3
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