marcelblijleven/jira-helper

[BUG]

Opened this issue · 6 comments

Describe the bug
action failing when commit message has '(' or ')' in it

To Reproduce
commit a change with message: proj-001 and proj-002 (this bit will cause error)

Expected behavior
action to find proj-001 and proj-002 and assign a release

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. macOS]
  • Tool: [e.g. dockerized or binary]

Additional context
Add any other context about the problem here.

Can you provide the error message or a screenshot?

@marcelblijleven
case 1: there are multiple lines in commit message

image

case 2: commit message includes '(' or ')'
image

so I trigged above errors by doing the following commit :

  • the commit message has ()
  • there is a additional description field populated
    image

Can you try wrapping the values for body / message in quotes in the Github Action? Like this: -b "${ ... }"

Can you try wrapping the values for body / message in quotes in the Github Action? Like this: -b "${ ... }"

Wow,that worked, thank you so much.

Now another issue is it's can't locate lower case jira issue keys if proj code is upper case.
Is it possible to enhance that?
Thanks