![](/img/trans.png)
[英]How to click a button on a Jira ticket using python and the JIRA module
[英]How to keep asking for user name and password until correct while authenticating the user in jira using python jira module?
我正在使用 python jira 模块。 现在,当用户输入 jira 用户名和密码时,将使用 JIRA(option,basic_auth = (username,password)) 对其进行身份验证。 如果输入的用户名或密码不正确,我如何继续要求输入用户名或密码?
我对 jira 库不太了解,但实际上,它应该是这样的:
username,passwd=input().split()
while not is_correct(username,passwd):
username,passwd=input().split()
# .. Do something with username and passwd ..
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.