Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jira reindex doesn't work as expected #1856

Open
3 of 4 tasks
vanessartx opened this issue Apr 18, 2024 · 0 comments
Open
3 of 4 tasks

jira reindex doesn't work as expected #1856

vanessartx opened this issue Apr 18, 2024 · 0 comments

Comments

@vanessartx
Copy link

Bug summary

When using jira.reindex(), it states that a reindex is already running... Although, it isn't; There's no background or foreground process currently running on the jira instance.

The message displayed:
WARNING:jira:Jira re-indexing is already running.

I noticed that the code isn't using the REST API to make the call considering the url is different. As a test, I used curl POST '{site.url}/jira/rest/api/2/reindex?type=FOREGROUND' and that works...

Note: I don't see a difference between v3.2.0 and the latest v3.8.0

Is there an existing issue for this?

  • I have searched the existing issues

Jira Instance type

Jira Server or Data Center (Self-hosted)

Jira instance version

9.12.7

jira-python version

3.2.0

Python Interpreter version

3.9

Which operating systems have you used?

  • Linux
  • macOS
  • Windows

Reproduction steps

# 1. Given a Jira client instance
jira: JIRA
# 2. When I call the function with argument x
jira.reindex(force=True, background=False)
# 3. Results
WARNING:jira:Jira re-indexing is already running.

Stack trace

WARNING:jira:Jira re-indexing is already running.

Expected behaviour

For an actual reindex to start, specifically foreground. Having jira.reindex() default, also produces the same message.

Additional Context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant