toabctl / jiracli

Simple command line interface for Jira
GNU General Public License v3.0
152 stars 39 forks source link

How to query all issues in a sprint over many projects #46

Closed robotex82 closed 8 years ago

robotex82 commented 8 years ago

First of all, jiracli is awesome!

But there is a small thing missing for me to be really useful. How can I query all issues that are in the actual sprint, that contains issues from many different projects?

Something like

jiracli --sprint *

Thanks in advance!

Best regards Roberto

toabctl commented 8 years ago

You can search directly with jql (see https://github.com/toabctl/jiracli#example-searching-with-jql ) or create a filter in the UI and use it with jiraclie (see https://github.com/toabctl/jiracli#example-use-favourite-filters ). Does that help?

robotex82 commented 8 years ago

For future reference:

Thank you! Works like a charm:

jiracli --issue-search "assignee = currentUser() AND sprint in openSprints() AND sprint not in futureSprints()"