-
Notifications
You must be signed in to change notification settings - Fork 329
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
Create Issues with issue-type in a national language cannot be created with option --noedit #207
Comments
Came here as I had a 'similar' issue... I was unable to get the overrides to work. I'm also on a german Jira instance and it works for me now -- so I assume it's really unrelated to Jira's language. Of course, you should provide a valid issue type (as provided by What I didn't figure out from documentation was how to use the overrides provided via command line. Maybe docs could be improved a bit on this aspect? Anyhow, for reference: To make fields:
issuetype:
name: Bug
{{ if .overrides.summary }}summary: {{ .overrides.summary }}{{ else }}summary: {{ end }}
customfield_...:
name: 'foobar' @volker-schukai could you please give it a try and report back? |
Same problem here, using jira cloud instance:
But then:
If I enable debug (-vvv), the client is sending:
and the server is replying:
|
I had the same issue. My workaroung was to change my langage to "English (US)" in my jira profile. Now Before that, my JIRA profile was in FR, and |
For what it's worth, the only thing that got this working for me was setting the project as an environmental variable. I didn't have a language issue, but I got the same error you did every time. When I set |
ok, thats workaround works if I omit the argument --issuetype |
I try to create an issue in one line without an editor.
Version 1.0.20
create a new issue
jira create -p myProject --noedit -iBug -o summary="Test"
works fine, but
jira create -p myProject --noedit -iAufgabe -o summary="Test"
doesn´t work.
I think it depends on the jira-api
jira issuetypes -p MyProject
returns correct:
Jira-API
this api-call doesn´t work (issuetypes is empty):
/rest/api/2/issue/createmeta?projectKeys=MyProject&issuetypeNames=Aufgabe&expand=projects.issuetypes.fields
this api-call works (issuetypes returned):
/rest/api/2/issue/createmeta?projectKeys=MyProject&issuetypeNames=Task&expand=projects.issuetypes.fields
but if I try the following
jira create -p myProject --noedit -iTask -o summary="Test"
then I get the following message: ERROR Invalid Usage: Project MyProject and IssueType Task not found
The text was updated successfully, but these errors were encountered: