Commit a9f7326
committed
Fix Jira reindex methods and implement reindex_issue (closes #1610)
- Fix reindex(): `if not indexing_type` was always False since it
defaults to a non-empty string, so the type param was never sent.
Changed to `if indexing_type`.
- Fix reindex_status(): Jira returns 303 during active reindex which
caused TooManyRedirects. Now uses allow_redirects=False.
- Add allow_redirects parameter to rest_client.request() so callers
can opt out of redirect following when needed.
- Implement reindex_issue() which was previously a stub (just `pass`).1 parent 63e744f commit a9f7326
2 files changed
Lines changed: 14 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4614 | 4614 | | |
4615 | 4615 | | |
4616 | 4616 | | |
4617 | | - | |
| 4617 | + | |
4618 | 4618 | | |
4619 | 4619 | | |
4620 | 4620 | | |
| |||
4642 | 4642 | | |
4643 | 4643 | | |
4644 | 4644 | | |
4645 | | - | |
| 4645 | + | |
| 4646 | + | |
4646 | 4647 | | |
4647 | 4648 | | |
4648 | 4649 | | |
| |||
4651 | 4652 | | |
4652 | 4653 | | |
4653 | 4654 | | |
4654 | | - | |
4655 | | - | |
| 4655 | + | |
| 4656 | + | |
| 4657 | + | |
| 4658 | + | |
| 4659 | + | |
| 4660 | + | |
| 4661 | + | |
| 4662 | + | |
| 4663 | + | |
4656 | 4664 | | |
4657 | 4665 | | |
4658 | 4666 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
439 | 439 | | |
440 | 440 | | |
441 | 441 | | |
| 442 | + | |
442 | 443 | | |
443 | 444 | | |
444 | 445 | | |
| |||
492 | 493 | | |
493 | 494 | | |
494 | 495 | | |
| 496 | + | |
495 | 497 | | |
496 | 498 | | |
497 | 499 | | |
| |||
0 commit comments