You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 instancejira: JIRA# 2. When I call the function with argument xjira.reindex(force=True, background=False)
# 3. ResultsWARNING:jira:Jirare-indexingisalreadyrunning.
Stack trace
WARNING:jira:Jirare-indexingisalreadyrunning.
Expected behaviour
For an actual reindex to start, specifically foreground. Having jira.reindex() default, also produces the same message.
Additional Context
No response
The text was updated successfully, but these errors were encountered:
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?
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?
Reproduction steps
Stack trace
Expected behaviour
For an actual reindex to start, specifically foreground. Having jira.reindex() default, also produces the same message.
Additional Context
No response
The text was updated successfully, but these errors were encountered: