This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# gitlab_statistics.py | |
import requests | |
from requests.auth import HTTPBasicAuth | |
import re | |
import uuid | |
import json | |
import datetime | |
############################################################################## | |
## General |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# import_jira_gitlab.py | |
import requests | |
from requests.auth import HTTPBasicAuth | |
import re | |
import uuid | |
import json | |
############################################################################## | |
## General |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# remove_unused_gitlab_labels.py | |
import requests | |
from requests.auth import HTTPBasicAuth | |
import uuid | |
import json | |
# *False* if Jira / GitLab is using self-signed certificates, otherwhise *True* | |
VERIFY_SSL_CERTIFICATE = True | |
## GitLab specifics |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# import_epics.py | |
import requests | |
from requests.auth import HTTPBasicAuth | |
import json | |
## Jira specifics | |
# Jira URL | |
JIRA_URL = 'https://your-jira-instance.com/' | |
# Jira user credentials (incl. API token) | |
JIRA_ACCOUNT = ('your-jira-username', 'your-jira-api-token') |