In this article, we will learn to create Jira issues from GitHub using Natural language and Supercog.
Outline
- Get your Jira token
- Get your GitHub token
- Sign up on Supercog
- Create an Agent or Click Supercog
- Add tools
- Enter query
- Conclusion
You can watch the video tutorial:
Get your Jira token
Go to Your Profile and Settings tab then click on Manage account. From the nav links, click on Security then scroll and you will find API tokens section. You can then click on Create and manage API tokens to Create your Jira API token
Get your GitHub token
Go to https://github.com/settings/tokens?type=beta to generate your GitHub personal access token
Sign up on Supercog
Go to Supercog's page https://app.supercog.ai/ and sign up:
Create an Agent or Click Supercog
Click the Supercog tab to start chatting quickly or Create a New Agent for the task you want to accomplish. We will click on the Supercog tab for this article to chat quickly.
Add tools
- From the right, click on the Add Tool button:
From there, click on the Connectors tab, you will see JIRA as an option. Click on the '+' button then Make connection:
Once you click on the Make connection button, you will see New Connection: JIRA modal:
Type in your:
- Jira Username: which is your Jira email address
- Jira Token: The token you generated
- Jira Url: Your Jira Project Url. It can be something like: https://myproject.atlassian.net/
Then you click Save
- Add GitHub tool: Still Click on the Connectors Tools Tab. Click on the '+' button then Make connection. You will see the following modal:
Put in your generated GitHub access token, then click Save
Enter query
We can now start chatting with our GitHub and Jira repos and projects. You can ask any question you want.
Since, we intend to create Jira issues or task from GitHub using Natural language. In the chat box, I can get details of an issue using the following prompt:
query: please show me issue #7 of emmakodes talk-to-your-data repo
and I got the following response:
and then I can easily say in the chat:
query: Now create a jira issue in the AS project from that content
- AS is my Jira project_key
and I got the following output:
So Cool🎉
I can go to my Jira Project to see the issue.
Yayđź‘Ź We have created the issue in our Jira project:
Conclusion
You can easily do the following and more using Supercog:
- Integrate seamlessly with various business systems and popular SaaS applications
- help to automate repetitive tasks
- Do advanced data analysis
- report generation
- file data processing etc
Top comments (0)