Open pjz opened 7 years ago
This would be great. I would even add --oneline
to this command.
I've considered adding an option to add custom aliases in the config file. Something along the lines of:
[alias]
myissues = view --search-jql='assignee = currentUser() AND resolution = Unresolved order by updated DESC'
And then just use it as jira-cli myissues
What do you guys think?
Could you guys look at the linked PR. I'll add documentation for the relevant functionality but basically that will allow for any custom aliases to be defined in the config.
looks cool. would the aliases be part of ~/.jira-cli/config.cfg
?
That is correct - I've added some documentation around configuring the aliases.
seems to work in version 2.2. ticket can be closed, isn't it?
How about making
jira-cli view --myissues
work ? It'd be a shortcut for:jira-cli view --search-jql='assignee = currentUser() AND resolution = Unresolved order by updated DESC'
Jira itself has this essentially built-in.