JingJingJingJing / Sira

This is sira
2 stars 1 forks source link

Query Jira - Issues #63

Closed kiddliu closed 6 years ago

kiddliu commented 6 years ago

As a user, I want to query Jira issues that

The default item for an issue is

If the count of the result is more than 1, output each issue on a new line. For example:

> sira --query type=issue mode=recent limit=2
TEST-1234 "Cannot access Github via Wi-Fi" "John Doe" "San Zhang" Blocker OPEN "BugScrub MustFix" 2.1

> sira --query type=issue mode=board key=564

Any additional data should be discarded, and show this action if verbose mode is on.

ysg00 commented 6 years ago

What is the default behavior of querying issues supposed to be when there is no parameter being specified?

Sailer43 commented 6 years ago

<include #62> Recommendation: instead of using "sira query -type issue" and "sira query -type project", I suggest using "sira query issue" and "sira query project" for simplicity, (aka. treat "project" and "issue" as two sub commands):

Sailer43 commented 6 years ago

May the user configurate their personal display format through sira --init

Sailer43 commented 6 years ago

@kiddliu,

Is keyword "key" required in sira.exe -vq type=issue mode=board? What does keyword "key" refer to, only board.id or both board.id and board.name?