Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 828 Bytes

README.md

File metadata and controls

25 lines (16 loc) · 828 Bytes

changelog2jira

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.

alt text

Requirements

  • Elixir 1.0+

Usage

   export JIRA_WEBHOOK_URL=https://automation.atlassian.com/pro/hooks/secret
   elixir changelog2jira.exs --version=0.1.0 --path=../your/project

Configuration

ENV variables:

  • JIRA_WEBHOOK_URL - your JIRA Automation rule Webhook URI

CLI arguments:

  • version - the version you want to extract JIRA IDs e.g 1.0.1 or latest
  • path - location of your project that includes CHANGELOG.md