Extracts JIRA IDs from CHANGELOG (using Conventional Commits with JIRA IDS, e.g. feat(FOO-123): foobar
) and calls JIRA Webhook Automation rule. You can transition the JIRA issue to the released state.
- Elixir 1.0+
export JIRA_WEBHOOK_URL=https://automation.atlassian.com/pro/hooks/secret
elixir changelog2jira.exs --version=0.1.0 --path=../your/project
ENV variables:
JIRA_WEBHOOK_URL
- your JIRA Automation rule Webhook URI
CLI arguments:
version
- the version you want to extract JIRA IDs e.g1.0.1
orlatest
path
- location of your project that includes CHANGELOG.md