An open API service indexing awesome lists of open source software.

https://github.com/taurus5650/atlassian_slack_google


https://github.com/taurus5650/atlassian_slack_google

atlassian atlassian-confluence atlassian-jira google slack slack-bot slackbot

Last synced: about 1 year ago
JSON representation

Awesome Lists containing this project

README

          

# Atlassian & Slack & Google Integration Hub

Integrate Atlassian & Slack & Google to reduce manual effort.

Example:

1. Create a routine Jira ticket.
2. Query the due date ticket and reminder assignee on the Slack channel.
3. Generate a report and record it on Confluence or send it via email.

### Tech Stack

| | |
|---------------------------------------|--------------------------|
| Backend Framework | Python Flask |
| Integration Tool - Atlassian package | atlassian-python-api |
| Integration Tool - Slack package | slack_sdk |
| Integration Tool - Slack bolt package | slack_bolt |
| Integration Tool - Google | google-api-python-client |
| Database | MySQL |
| Containerization | Docker |
| CI/CD | Gitlab CI |

----

# Dev Mode, Deployment, Debug
### Dev Mode
Option 1. Docker environment
```cd
$ make run-dev-docker
```

Option 2. Docker environment with HTTPS
```cd
$ make run-dev-docker-ngrok
```

### Debug
Which have same request_id in one workflow.

![log.png](readme/log.png)

### Deployment
- .gitlab-ci.yml
- docker-compose-prod.py
- Dockerfile

# New Environment Set up
Before development, create `.env` file under `/ags_deployment`.

Add the content below:

```cd
SLACK_BOT_TOKEN='SLACK_BOT_TOKEN'
SLACK_SIGNING_SECRET='SLACK_SIGNING_SECRET'
SLACK_APP_TOKEN='SLACK_APP_TOKEN'

FLASK_SECRET_KEY='FLASK_SECRET_KEY'
ATLASSIAN_API_TOKEN = 'ATLASSIAN_API_TOKEN
```
![env.png](readme/env.png)

# Operation / Testing
#### Request API
Example:

```cd
curl --location 'http://127.0.0.1:8790/api/example/get_google_sheet'
```
### Result
Example:

![slack.png](readme/slack.png)