Open SowmiyaKaruna opened 3 weeks ago
The most likely culprit here is the fact that RPC connections to external bug tracking systems are cached b/c this is usually a heavier operation, see: https://github.com/kiwitcms/Kiwi/blob/master/tcms/issuetracker/base.py#L246
This cache is inside the Kiwi TCMS process memory space, not as part of the existing caching layer utilized by other parts of the application.
Description of problem
When a personal API token for an external issue tracking system, such as Jira, is added to Kiwi TCMS, it takes some time to work.
Version or commit hash (if applicable)
Version 13.5 Enterprise
Steps to Reproduce
Actual results
After step 4, a comment is added to the JIRA defect, with user1's name as the author, which is expected. However, even after adding a personal API token for user2, it continues to use the user1 API token configured in the Kiwi TCMS tenant. It takes time for the personal API token to start working.
Expected results
Personal API tokens should work immediately after being added to the KIWI TCMS account.
Additional info (Python traceback, logs, etc.)