-
-
Notifications
You must be signed in to change notification settings - Fork 187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Editing issues from list view #280
Comments
Hi @robertocarta, this feature is yet to be implemented. For now, you'll have to issue the edit command separately. |
Obviously it's a huge feature but something akin to ranger for navigating and modifying sprints and issues within them would be incredible |
Any progress on that? Thanks for this tool! |
If someone else is interested I made a script using fzf to achieve this. It's just to press 'e' on an item list to trigger the edit mode and 'm' to move mode. j(){
SEARCH_QUERY='jira issue list -a$(jira me) --plain --columns id,summary,status'
FZF_DEFAULT_COMMAND=$SEARCH_QUERY fzf \
--layout=reverse \
--header-lines=1 \
--preview 'jira issue view {1}' \
--bind 'e:execute(jira issue edit {1})'\
--bind 'm:execute(jira issue move {1})'
} |
@guilhermeprokisch I took yours and slightly modified it to enjoy fzf fuzzy search
jira issue list \
-a $(jira me) \
--plain \
--columns id,summary,status |
fzf \
--layout reverse \
--header-lines 1 \
--preview-window 'bottom:80%:wrap' \
--preview 'jira issue view {1}' \
--bind 'alt-p:toggle-preview' \
--bind 'alt-j:preview-up' \
--bind 'alt-k:preview-down' \
--bind 'alt-e:execute(jira issue edit {1})' \
--bind 'alt-m:execute(jira issue move {1})' \
--bind 'alt-c:execute(jira issue comment {1})' \
--bind 'alt-d:execute(jira issue delete {1})' |
Jira CLI let you edit issues by launching an editor pointed by the EDITOR environment variable. I wish there was ability to override this by setting the editor in the configuration. Since Jira issues may use Markdown, it will be nice to be able to configure an editor which supports Markdown (including rendering). Git has such core.editor configuration for such things. |
I iterated on @electriquo 's version and replicated some of the built in behavior (copy key or url) https://gist.github.com/zph/917d1ca2ac2becd15375ce8caf89563a If using alacritty terminal on Mac, using alt-key requires a recent version and the following modification to alacritty config: |
Hi - sorry if I'm missing something obvious here. I don't understand how to edit an issue from the list view. Is the only one to note the issue number, leave the list view and issue an edit command?
Thanks for your work!
The text was updated successfully, but these errors were encountered: