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

Cannot define overrides in config #474

Open
floriankessler opened this issue Nov 16, 2022 · 0 comments
Open

Cannot define overrides in config #474

floriankessler opened this issue Nov 16, 2022 · 0 comments

Comments

@floriankessler
Copy link

I cannot define overrides in config. Only specifying overrides directly as CLI parameters will work

What am I doing wrong?

TIA,
Florian

Steps to reproduce:

# Prep template
cat << 'EOF' > ~/.jira.d/templates/create
{{ .overrides }}
EOF

Specify override via config

cat << 'EOF' >> ~/.jira.d/config.yml

issuetype: Story
overrides.myOverride: test234
EOF

jira create

# Nothing showing up in {{ .overides }}
map[issuetype:Story login:florian.kessler@**** project:***]

Specify override via CLI

jira create -o myOverride="test234"

# Works as expected
map[issuetype:Story login:florian.kessler@**** myOverride:test234 project:***]
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

1 participant