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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

620 views 6 12
Read article

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