ankitpokhrel / ankitpokhrel/jira-cli

edit --label (--no-input) isn't working

Aperta
#743 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Go
Stelle
6k
Fork
413
Merge medio
2g 3h
PR unite (30g)
1

Descrizione

**Describe the bug**
when i issue the following command;
jira issue edit --label gpe gpe-79
or
jira issue edit --label gpe gpe-79 --no-label
i get the following error;
Error:

- labels: Field 'labels' cannot be set. It is not on the appropriate screen, or unknown.

jira: Received unexpected response '400 Bad Request'.
Please check the parameters you supplied and try again.
###

**Please provide following details**
1. JiraCLI Version:

```
(Version="1.5.1", GitCommit="0e0f82d52ef5a775d2cc662fbe38d9732b9b5c59", CommitDate="2024-01-20T10:48:06+00:00", GoVersion="go1.21.5", Compiler="gc", Platform="linux/amd64")

```
3. Are you using Jira cloud or on-premise jira server?
```
jira cloud
```
4. What operating system are you using? Also mention version.
```
ubuntu 22.04 and bash 5.1.16(1)-release (x86_64-pc-linux-gnu)
```
5. What terminal are you using? Also mention version.
```
tilix 1.9.4-2build1
```

**To Reproduce**

Steps to reproduce the behavior:
1. jira issue edit -l gpe gpe-79 --no-input
2. jira issue edit --label gpe gpe-79
3. Error:

- labels: Field 'labels' cannot be set. It is not on the appropriate screen, or unknown.

jira: Received unexpected response '400 Bad Request'.
Please check the parameters you supplied and try again.
###

**Expected behavior**
i expect to add a label called gpe automatically or interactively

**Screenshots**
![image](https://github.com/ankitpokhrel/jira-cli/assets/94728429/eb89b312-96c6-4ba9-8999-bb5966a23e28)

**Additional context**
this use to work, but for some reason it's not now.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.