ankitpokhrel / ankitpokhrel/jira-cli
`jira issue create` fails for classic project
- Lingua principale
- Go
- Stelle
- 6k
- Fork
- 413
- Merge medio
- 2g 3h
- PR unite (30g)
- 1
Descrizione
**Describe the bug**
**Please provide following details**
1. JiraCLI Version:
```
(Version="0.2.0", GitCommit="06888ef8934a2b95d4a729cc024f11e485239a36", GoVersion="go1.17.2", BuildDate="2021-11-20", Compiler="gc", Platform="darwin/amd64")
```
2. Are you using Jira cloud or on-premise jira server? Also mention the version for on-premise installation.
```
Cloud
```
3. What operating system are you using? Also mention version.
```
macOS Catalina 10.15.7
```
4. What terminal are you using? Also mention version.
```
iTerm 2 Build 3.4.12
```
**To Reproduce**
Steps to reproduce the behavior:
```
jira issue create
? Issue type Oppgave
? Summary test
? Description
? What's next? Submit
⠼ Creating an issue...
Error:
- issuetype: Sakstypen valgt er ugyldig.
```
The error "Sakstypen valgt er ugyldig" is Norwegian for "Invalid issue type"
**Additional context**
Here's my `.config/.jira/.config.yml` generated by `jira init`:
```
board:
id: REDACTED
name: REDACTED
type: kanban
config: ""
debug: false
epic:
name: ""
link: ""
installation: Cloud
issue:
types:
- id: "10011"
name: Historie
subtask: false
- id: "10030"
name: Oppgave
subtask: false
- id: "10031"
name: Deloppgave
subtask: true
- id: "10032"
name: Feil
subtask: false
- id: "10000"
name: Epos
subtask: false
login: REDACTED
project:
key: BIBL
type: classic
server: https://REDACTED.atlassian.net/
```
If I switch to another project, which has `type: next-gen`, it works to create issues. I only have these two projects to test with.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.