This workflow creates a Jira issue when a Dependabot pull request is created with a specific label. It will set the summary of the Jira issue to the title of the Dependabot pull request and the description of the issue to the body of the pull request. It accomplishes this by leveraging two Atlassian Github Actions.
- Copy dependabot_jira.yml into .github/workflows folder in your repository
- Set environment variables in your repository. Instructions can be found here
- Variables for login
JIRA_BASE_URL
- Example:https://example.atlassian.net
JIRA_API_TOKEN
- Token Generation InstructionsJIRA_USER_EMAIL
- Variables for issue creation
JIRA_PROJECT_KEY
- Example:JIRA
JIRA_ISSUE_TYPE
- Example:Story
- Variables for login