Problem Statement
Excerpt |
---|
This article describes how to avoid CAPTCHA when using a Jira CLI command and the Maximum Authentication Attempts Allowed option is set to 3 or less. |
Background
When we set Maximum Authentication Attempts Allowed to 3 as shown in below screenshot, we are instructing Jira to allow the user to login for 3 times before the CAPTCHA is generated.
...
When the password is incorrectly provided in all the attempts, the user statistics show as follows:
Environment
Application | JIRA |
---|---|
Version | Server |
App Version | Below 8.6.0 |
Error Message
At the same time, the The following log message is displayed on the console:
...
In the case of Jira CLI, it retries the login attempt thrice by default. When the password is incorrectly provided, these three attempts by CLI are considered as the maximum authentication attempts allowed, leading to a CAPTCHA.
Solution
The solution lies in having the Jira CLI to try the login only once in the background. To do this perform the following:
...