You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JiraCLI Version:
(Version="v1.5.1", GitCommit="", CommitDate="", GoVersion="go1.20.12", Compiler="gc", Platform="linux/amd64")
Please paste the output of jira version here.
Are you using Jira cloud or on-premise jira server?
cloud
Please paste the output of jira serverinfo here.
Version: 1001.0.0-SNAPSHOT
Build Number: 100248
Deployment Type: Cloud
Default Locale: en_US
What operating system are you using? Also mention version.
Windows 11
Please type your answer here. eg: macOS Big Sur 11.5.1
What terminal are you using? Also mention version.
Please type your answer here. eg: iTerm 2 Build 3.4.10
WSL
To Reproduce
Steps to reproduce the behavior:
run jira issue edit --label "abc" --no-input
Since --no-input parameter is provided, the prompts for summary, description and metadata is hidden and not prompted. But still the description of the issue is replaced with content from stdin.
Expected behavior
since no other parameter (be it summary / description / any other field) is not passed, the other fields should not be updated.
Screenshots
Additional context
The text was updated successfully, but these errors were encountered:
Hi @vyprabhu are you just running jira issue edit --label "abc" --no-input or you are streaming contents from stdin echo "something" | jira issue edit --label "abc" --no-input?
So basically, i'm searching for some keys matching a particular criteria and then I am running "jira issue edit --label "abc" --no-input" thru bash script to update the label for each key. I'm not piping anything to this command.
Not sure if you progressed on this one... I found a workaround in the meantime.
Research and Discovery : I observed that the command jira issue edit --label "abc" --no-input still follows the approach of jira issue edit --label "abc" and it waits for an "Enter" command for the description field even if you provide no-input parameter. And hence it pulls the previous output of stdin.
Workaround / Solution : The below workaround was discovered to add char code for "Enter" in the Description field alongwith --no-input to stop the command from piping in stdin:
jira issue edit -b$'\x0a' -l"$lbl" --no-input
Note that the $'\x0a' in the description field referred to as '-b' acts as an enter command without any input / amendment to the description field.
Describe the bug
Please provide following details
(Version="v1.5.1", GitCommit="", CommitDate="", GoVersion="go1.20.12", Compiler="gc", Platform="linux/amd64")
Please paste the output of
jira version
here.cloud
Please paste the output of
jira serverinfo
here.Version: 1001.0.0-SNAPSHOT
Build Number: 100248
Deployment Type: Cloud
Default Locale: en_US
Windows 11
Please type your answer here. eg: macOS Big Sur 11.5.1
To Reproduce
Steps to reproduce the behavior:
Expected behavior
since no other parameter (be it summary / description / any other field) is not passed, the other fields should not be updated.
Screenshots
Additional context
The text was updated successfully, but these errors were encountered: