https://github.com/mirantis/gh-mass-commentor
Make lotsa comments in lotsa escalation tickets lotsa fast
https://github.com/mirantis/gh-mass-commentor
Last synced: 2 months ago
JSON representation
Make lotsa comments in lotsa escalation tickets lotsa fast
- Host: GitHub
- URL: https://github.com/mirantis/gh-mass-commentor
- Owner: Mirantis
- Created: 2019-03-20T18:04:10.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-02-26T12:33:26.000Z (about 5 years ago)
- Last Synced: 2025-01-17T12:17:49.284Z (4 months ago)
- Language: Python
- Size: 8.79 KB
- Stars: 0
- Watchers: 84
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# gh-mass-commentor
Simple tool to associate old GitHub issues with those in Jira.## Usage
1. Edit the global `gh_token`, `jira_username` and `jira_token` variables. The
`gh_token` should be `repo` scoped.```python
"""
Login stuff
"""
global gh_token, jira_token, g
# Github
gh_token = "YOUR FANTASTIC GH TOKEN HERE"
# Jira
jira_token = "YOUR FANTASTIC JIRA TOKEN HERE"
jira_username = "[email protected]"
```3. Build an image using the new token values:
```
make
```4. Run it:
```
docker run --rm -it squizzi/ghcommentor:latest -g docker/escalation -j FIELD -c 1200
```Where `-g` is the Github repo, `-j` is the Jira repo and `-c` is the number of
Jira issues in the given Jira repo.