jira-cli icon indicating copy to clipboard operation
jira-cli copied to clipboard

Editing issues from list view

Open robertocarta opened this issue 2 years ago • 6 comments

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!

robertocarta avatar Jan 28 '22 10:01 robertocarta

Hi @robertocarta, this feature is yet to be implemented. For now, you'll have to issue the edit command separately.

ankitpokhrel avatar Jan 28 '22 21:01 ankitpokhrel

Obviously it's a huge feature but something akin to ranger for navigating and modifying sprints and issues within them would be incredible

Nfinished avatar Aug 15 '22 15:08 Nfinished

Any progress on that? Thanks for this tool!

guilhermeprokisch avatar Dec 20 '22 15:12 guilhermeprokisch

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 avatar Jan 04 '23 10:01 guilhermeprokisch