Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixVersion override fails for transition #192

Closed
rilsmith opened this issue Jun 26, 2018 · 2 comments
Closed

fixVersion override fails for transition #192

rilsmith opened this issue Jun 26, 2018 · 2 comments

Comments

@rilsmith
Copy link

This change for this issue seems to cause an error if attempting to override fixVersions.

jira resolve -ofixVersions="fixVersion1,fixVersion2" <ISSUE>
ERROR template: gojira:26:14: executing "gojira" at <.name>: can't evaluate field name in type string

Shouldn't the fixVersions override for this template use {.} not {.name}?
.name makes sense if it's coming from the existing JIRA structure (i.e. line 508) but the override values array resulting from splitting by comma won't have .name so line 507 should reference {.} instead?
Or am I just using the fixVersions override incorrectly?

@coryb
Copy link
Contributor

coryb commented Jul 29, 2018

Thanks for the report, I just fixed this issue on master branch.

@coryb
Copy link
Contributor

coryb commented Jul 29, 2018

fixed in latest release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants