Initial commit

This commit is contained in:
2025-05-06 12:12:45 +02:00
parent 93cd833daf
commit 0d8523bdcc
15 changed files with 529 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
from atlassian import Jira
jira_url = 'https://3sit.atlassian.net/'
jira_user = 'markus.zimmerberger.external@eviden.com'
jira_token = 'ATATT3xFfGF0XqXNXhYn-PYvTDHRfaToOkIuvhdZFRBOwWRAn_XdqVg3vfmKz-TTXY9zNaQZOUW4JQTP_yGZn5lE60lWJaXzw4p055CccHohgsTtX9tKbFDieqsTK4n3z-eb3rW2KUi-ezLYjfi-_iK7PiOl5X0WPoCZOSn6e4ksPCjilsA2I0c=370351A3'
# Obtain an API token from: https://id.atlassian.com/manage-profile/security/api-tokens
# You cannot log-in with your regular password to these services.
jira = Jira(
url=jira_url,
username=jira_user,
password=jira_token,
cloud=True)
user = jira.username
if user:
print(f'Connected to JIRA as: {user}')
else:
print('Failed to connect to JIRA')