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
Hello,
I'm looking for a way to directly edit the description. The end goal is in one command to open the editor with the description, edit it, close and submit the new description directly.
I tried to hack my way around the CLI but couldn't find a way
works until the editor is closed. After that it prints the > Submit prompt with the line Error: EOF.
I suspect that the binary reads the content of the whole stdin, uses e\n but discards the remaining \n.
I also tried to think of a way to use the --no-input option to edit the description. My idea was to print the description, edit it and then use the --no-input option.
DESC="$(jira issue show ISSUE-1 <someway to get the raw desc>)"# Edit desc here with EDITOR
jira issue edit ISSUE-1 --no-input -b "$DESC"
however this approach will sooner or later hit the command line character limit.
The --raw option can't be used either as the description is formatted a raw json and not markdown.
Is there an easy way to do this which I missed?
I'm on version 1.7.0 of the CLI so maybe a solution is available on the trunk version?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'm looking for a way to directly edit the description. The end goal is in one command to open the editor with the description, edit it, close and submit the new description directly.
I tried to hack my way around the CLI but couldn't find a way
works until the editor is closed. After that it prints the
> Submit promptwith the lineError: EOF.I suspect that the binary reads the content of the whole stdin, uses
e\nbut discards the remaining\n.I also tried to think of a way to use the
--no-inputoption to edit the description. My idea was to print the description, edit it and then use the--no-inputoption.however this approach will sooner or later hit the command line character limit.
The
--rawoption can't be used either as the description is formatted a raw json and not markdown.Is there an easy way to do this which I missed?
I'm on version 1.7.0 of the CLI so maybe a solution is available on the trunk version?
Beta Was this translation helpful? Give feedback.
All reactions