Skip to content

Instantly share code, notes, and snippets.

import requests
from requests.auth import HTTPBasicAuth
import re
from StringIO import StringIO
JIRA_URL = 'https://your-jira-url.tld/'
JIRA_ACCOUNT = ('jira-username', 'jira-password')
# the JIRA project ID (short)
JIRA_PROJECT = 'PRO'
GITLAB_URL = 'http://your-gitlab-url.tld/'
@manishgcjain
manishgcjain / jira2gitlab.py
Created October 7, 2020 04:48 — forked from Gwerlas/jira2gitlab.py
Migrate Jira issues to Gitlab
import requests
from requests.auth import HTTPBasicAuth
import re
from StringIO import StringIO
import uuid
# Inspired from https://gist.github.com/toudi/67d775066334dc024c24
# Tested on Jira 7.4 and Gitlab 2.2 with Python 2.7
JIRA_URL = 'https://your-jira-url.tld/'
JIRA_ACCOUNT = ('jira-username', 'jira-password')
@manishgcjain
manishgcjain / gitlab_statistics.py
Created October 7, 2020 05:24 — forked from juergenpointinger/gitlab_statistics.py
Statistics for GitLab (Milestone)
# gitlab_statistics.py
import requests
from requests.auth import HTTPBasicAuth
import re
import uuid
import json
import datetime
##############################################################################
## General