DEV Community

Cover image for Seamlessly Create Jira Issues from GitHub Using Natural Language and Supercog
Emmanuel Onwuegbusi
Emmanuel Onwuegbusi

Posted on • Updated on

Seamlessly Create Jira Issues from GitHub Using Natural Language and Supercog

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

apitokens

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:

supercog signup/login page

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.

supercog homepage

Add tools

  • From the right, click on the Add Tool button:

add tool button

  • From there, click on the Connectors tab, you will see JIRA as an option. Click on the '+' button then Make connection:
    supercog database tool

  • Once you click on the Make connection button, you will see New Connection: JIRA modal:
    supercog 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:

supercog github 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:

supercog git chat 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:

supercog output

So Cool🎉

I can go to my Jira Project to see the issue.

Yayđź‘Ź We have created the issue in our Jira project:

jira issue

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)