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

This widget could not be displayed.

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?

This widget could not be displayed.
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
This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted 12 hours ago in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

39 views 1 0
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