jira-cli
jira-cli copied to clipboard
edit --label (--no-input) isn't working
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
-
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")
```
- Are you using Jira cloud or on-premise jira server?
jira cloud - What operating system are you using? Also mention version.
ubuntu 22.04 and bash 5.1.16(1)-release (x86_64-pc-linux-gnu) - What terminal are you using? Also mention version.
tilix 1.9.4-2build1
To Reproduce
Steps to reproduce the behavior:
- jira issue edit -l gpe gpe-79 --no-input
- jira issue edit --label gpe gpe-79
- 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
Additional context this use to work, but for some reason it's not now.
This seems to be working fine for me.
The error labels: Field 'labels' cannot be set. It is not on the appropriate screen, or unknown. basically means your workflow doesn't allow updating label on the edit screen and this is a configuration issue.
@bwinsl0w are you able to change labels from the UI using the edit screen?
- if no, then its a configuration issue in Jira
- If yes, then are you using the SAME account in the browser and in the script?