Skip to content
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

Convenience option: --myissues #53

Open
pjz opened this issue Jul 10, 2017 · 6 comments
Open

Convenience option: --myissues #53

pjz opened this issue Jul 10, 2017 · 6 comments

Comments

@pjz
Copy link

pjz commented Jul 10, 2017

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.

@AlJohri
Copy link
Collaborator

AlJohri commented Jul 26, 2017

This would be great. I would even add --oneline to this command.

@alisaifee
Copy link
Owner

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?

@alisaifee
Copy link
Owner

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.

@AlJohri
Copy link
Collaborator

AlJohri commented Jul 28, 2017

looks cool. would the aliases be part of ~/.jira-cli/config.cfg ?

@alisaifee
Copy link
Owner

That is correct - I've added some documentation around configuring the aliases.

@radoeka
Copy link

radoeka commented Oct 6, 2018

seems to work in version 2.2.
ticket can be closed, isn't it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants