Skip to content

Commit 9b521c3

Browse files
committed
fix: updates needed in jira call
Signed-off-by: Debarati Basu-Nag <dbasunag@redhat.com>
1 parent d90eee7 commit 9b521c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

utilities/jira.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ def get_jira_connection() -> JIRA:
2323
2424
"""
2525
return JIRA(
26-
token_auth=os.getenv("PYTEST_JIRA_TOKEN"),
27-
options={"server": os.getenv("PYTEST_JIRA_URL")},
26+
server=os.getenv("PYTEST_JIRA_URL"),
27+
basic_auth=(os.getenv("PYTEST_JIRA_USERNAME"), os.getenv("PYTEST_JIRA_TOKEN")),
2828
)
2929

3030

0 commit comments

Comments
 (0)