- Create a public Github repo and include .github/workflows/issue_creation.yml in it
- Navigate to Settings -> Developer Settings -> Personal access tokens
- Generate a fine-grained token scoped to your Repo with
Read and Write access to actions, code, environments, issues, and workflows
. - Copy your token.
- Go to your Azure Key Vault, and create a secret called
TOKEN
and paste your token from step 4. - Create an Azure function and paste the code in
azure_functions/github_jira_issues.cs
to your Azure function. - In the
string uri
variable in the code, replace{GITHUB_USERNAME}
and{REPO_NAME}
. - Copy the URL of your Azure function app
- Create a free Jira account
- Create a new Jira Software project and navigate to your project
- In the top right, click on the cogwheel then click on System
- In the left panel, scroll down and click on Webhooks
- Create a webhook where the
created
event for Issue is ticked - Paste your Azure Function apps URL you copied in step 8 into the URL field of your webhook.
- Create a Jira Issue
- View the
Actions
tab in your Github repo, and you should see that an action is being executed - After the issue creation action is finished, a new
Github Issue
will appear.