Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jeffbryner/gcp-ai-atlassian
Sample project using Vertex AI in a cloud run container to perform AI helper tasks using Atlassian products (JIRA/Confluence)
https://github.com/jeffbryner/gcp-ai-atlassian
cloudrun confluence jira python terraform vertex-ai
Last synced: about 2 months ago
JSON representation
Sample project using Vertex AI in a cloud run container to perform AI helper tasks using Atlassian products (JIRA/Confluence)
- Host: GitHub
- URL: https://github.com/jeffbryner/gcp-ai-atlassian
- Owner: jeffbryner
- License: mpl-2.0
- Created: 2023-12-31T18:46:03.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-01-01T20:03:31.000Z (12 months ago)
- Last Synced: 2024-04-16T03:39:13.688Z (8 months ago)
- Topics: cloudrun, confluence, jira, python, terraform, vertex-ai
- Language: HCL
- Homepage:
- Size: 217 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gcp-ai-atlassian
Sample project using a cloud run container to perform AI helper tasks using Atlassian products (JIRA/Confluence) and Vertex AI.Based on this starter kickstarter project : https://github.com/jeffbryner/gcp-cloudrun-python-pipeline, it includes a CICD pipeline and a container. The CICD pipeline uses cloud build and some triggers to build the container.
The container is a proof of concept using vertex AI to perform a simple AI task in JIRA using a prompt context from a confluence page. This allows you to fine tune the behavior of the AI prompt without having the alter the code.
Simple containers like this can be useful to perform more complex tasks than can be managed in the JIRA/Confluence native workflows, in this case introducing vertex AI. We attach the container to JIRA via a simple JIRA webhook for issue creation giving it the URL of the cloud run container. (It'll be provided as terraform output, something like https://ai-atlassian-randomchars.run.app/jira-webhook )
This one adds labels mentioned in a confluence page to any new issue created in JIRA
Here's the confluence page as context for the AI:
![AI Context](AIContextPageSample.png)
If we create a new issue:
![JIRA issue](CreateSampleIssue.png)
A JIRA webhook calls the cloud run container and asks AI to add some helpful labels to the issue for us:
![JIRA labels by AI](AIAddingLabels.png)
This is meant as a POC, but there are lots of other uses for this pattern
- Categorize JIRA issues
- Update components
- Include a summary of the description provided by AI
- Assign tickets based on skills listed in a confluence page
- Set the priority of the ticket based on some guidance
- Provide suggested KB articles to the reporter or the one assigned to the ticket
- etc.## Setup
You will need to be able to create a project with billing in the appropriate place in your particular org structure. First you'll run terraform locallly to initialize the project and the pipeline. After the project is created, we will transfer terraform state to the cloud bucket and from then on you can use git commits to trigger terraform changes without any local resources or permissions.For more detail, see the instructions in https://github.com/jeffbryner/gcp-cloudrun-python-pipeline